Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008612/0.0008612, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8732/0.8732, allocations: 177.2 MB / 200.3 MB, free: 5.316 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 163.3 kB / 257 MB, free: 12.77 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.04086/0.04086, allocations: 6.652 MB / 266.9 MB, free: 3.027 MB / 250.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(HanserModelica.InductionMachines.IMS_Characteristics1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1") translateModel(HanserModelica.InductionMachines.IMS_Characteristics1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 285.7 MB, free: 296 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.024e-05/1.14e-05, allocations: 2.312 kB / 285.7 MB, free: 292 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Characteristics1): time 0.113/0.113, allocations: 25.37 MB / 311 MB, free: 4.91 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01289/0.1259, allocations: 8.449 MB / 319.5 MB, free: 12.51 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00358/0.1295, allocations: 234.8 kB / 319.7 MB, free: 12.28 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009615/0.1391, allocations: 9.956 MB / 329.7 MB, free: 2.301 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005668/0.1448, allocations: 3.485 MB / 333.1 MB, free: 14.8 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002445/0.1472, allocations: 1.838 MB / 335 MB, free: 12.97 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.009614/0.1568, allocations: 12.79 MB / 347.8 MB, free: 132 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01601/0.1728, allocations: 16.34 MB / 364.1 MB, free: 15.53 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008509/0.1813, allocations: 9.856 MB / 374 MB, free: 5.664 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005832/0.1872, allocations: 7.24 MB / 381.2 MB, free: 14.41 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001433/0.1886, allocations: 1.832 MB / 383 MB, free: 12.57 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002363/0.191, allocations: 2.218 MB / 385.3 MB, free: 10.36 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001872/0.1928, allocations: 3.729 MB / 389 MB, free: 6.621 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00351/0.1964, allocations: 4.69 MB / 393.7 MB, free: 1.922 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008639/0.205, allocations: 11.78 MB / 405.5 MB, free: 6.109 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.205, allocations: 0 / 405.5 MB, free: 6.109 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.205, allocations: 0 / 405.5 MB, free: 6.109 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001277/0.2051, allocations: 0 / 405.5 MB, free: 6.109 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.01578/0.2209, allocations: 13.65 MB / 419.1 MB, free: 8.363 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.2209, allocations: 8.031 kB / 419.1 MB, free: 8.355 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02169/0.2426, allocations: 8.261 MB / 427.4 MB, free: 88 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2203/0.463, allocations: 4.018 MB / 431.4 MB, free: 72.74 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00051/0.4635, allocations: 0.8066 MB / 432.2 MB, free: 72.71 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002018/0.4655, allocations: 1.061 MB / 433.3 MB, free: 72.71 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01091/0.4764, allocations: 9.103 MB / 442.4 MB, free: 71.91 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001613/0.4765, allocations: 22.92 kB / 442.4 MB, free: 71.89 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007422/0.4773, allocations: 449 kB / 442.8 MB, free: 71.89 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004974/0.4778, allocations: 0.6689 MB / 443.5 MB, free: 71.87 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006358/0.4841, allocations: 4.801 MB / 448.3 MB, free: 71.58 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02843/0.5126, allocations: 34.68 MB / 483 MB, free: 46.63 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006859/0.5194, allocations: 7.091 MB / 490.1 MB, free: 39.68 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001154/0.5206, allocations: 1.278 MB / 491.4 MB, free: 38.43 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002179/0.5208, allocations: 163.9 kB / 491.5 MB, free: 38.26 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.925e-05/0.5208, allocations: 82.62 kB / 491.6 MB, free: 38.17 MB / 378.8 MB Notification: Performance of pre-optimization done (n=518): time 6.673e-06/0.5209, allocations: 0 / 491.6 MB, free: 38.17 MB / 378.8 MB Notification: Performance of matching and sorting (n=524): time 0.01481/0.5357, allocations: 9.467 MB / 0.4893 GB, free: 29.06 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/0.5357, allocations: 107.5 kB / 0.4894 GB, free: 28.94 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001594/0.5373, allocations: 2.657 MB / 0.492 GB, free: 26.85 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001998/0.5375, allocations: 109.7 kB / 0.4921 GB, free: 26.73 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.000922/0.5384, allocations: 4.283 MB / 0.4963 GB, free: 22.58 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006196/0.539, allocations: 1.841 MB / 0.4981 GB, free: 20.85 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001035/0.5401, allocations: 1.252 MB / 0.4993 GB, free: 19.73 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 2.151e-05/0.5401, allocations: 305.1 kB / 0.4996 GB, free: 19.43 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001029/0.5411, allocations: 0.9642 MB / 0.5006 GB, free: 18.46 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001434/0.5426, allocations: 3.2 MB / 0.5037 GB, free: 14.37 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00286/0.5454, allocations: 4.85 MB / 0.5084 GB, free: 8.848 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.145e-05/0.5454, allocations: 20 kB / 0.5084 GB, free: 8.828 MB / 378.8 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.004682/0.5501, allocations: 4.641 MB / 0.513 GB, free: 4.668 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.271e-05/0.5502, allocations: 44.36 kB / 0.513 GB, free: 4.625 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-05/0.5502, allocations: 84 kB / 0.5131 GB, free: 4.543 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001908/0.5521, allocations: 1.172 MB / 0.5142 GB, free: 3.375 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002449/0.5545, allocations: 1.463 MB / 0.5157 GB, free: 2.023 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005186/0.5597, allocations: 5.044 MB / 0.5206 GB, free: 13.04 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001822/0.5616, allocations: 255.8 kB / 0.5208 GB, free: 12.79 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003102/0.5619, allocations: 268 kB / 0.5211 GB, free: 12.53 MB / 394.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 354 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (840): * Single equations (assignments): 838 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,56,40.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001616/0.5635, allocations: 0.565 MB / 0.5216 GB, free: 12.06 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006259/0.5641, allocations: 451.1 kB / 0.5221 GB, free: 11.62 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00458/0.5687, allocations: 3.435 MB / 0.5254 GB, free: 8.168 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00276/0.5714, allocations: 2.208 MB / 0.5276 GB, free: 5.938 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/0.5715, allocations: 15.94 kB / 0.5276 GB, free: 5.922 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.912e-05/0.5715, allocations: 27.89 kB / 0.5276 GB, free: 5.895 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01123/0.5827, allocations: 9.541 MB / 0.5369 GB, free: 13.56 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/0.5827, allocations: 2.516 kB / 0.5369 GB, free: 13.56 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001704/0.5844, allocations: 0.7956 MB / 0.5377 GB, free: 12.81 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001811/0.5862, allocations: 1.05 MB / 0.5387 GB, free: 11.77 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001869/0.5864, allocations: 104 kB / 0.5388 GB, free: 11.67 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004911/0.5913, allocations: 4.588 MB / 0.5433 GB, free: 7.117 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.5913, allocations: 4 kB / 0.5433 GB, free: 7.113 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004929/0.5963, allocations: 4.081 MB / 0.5473 GB, free: 3 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001312/0.5976, allocations: 0.6159 MB / 0.5479 GB, free: 2.383 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003601/0.5979, allocations: 88 kB / 0.548 GB, free: 2.297 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009242/0.5989, allocations: 136 kB / 0.5481 GB, free: 2.164 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003929/0.5993, allocations: 367.5 kB / 0.5485 GB, free: 1.805 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001901/0.5995, allocations: 108 kB / 0.5486 GB, free: 1.699 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.001051/0.6005, allocations: 1.217 MB / 0.5498 GB, free: 0.6484 MB / 410.8 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6005, allocations: 0 / 0.5498 GB, free: 0.6484 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.003748/0.6042, allocations: 1.914 MB / 0.5516 GB, free: 14.73 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (ims.rotor.stray.port_p.reference.gamma,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (499): * Single equations (assignments): 497 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,56,40.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004192/0.6047, allocations: 280.4 kB / 0.5519 GB, free: 14.5 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.004517/0.6092, allocations: 3.839 MB / 0.5557 GB, free: 10.93 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001078/0.6093, allocations: 70.23 kB / 0.5557 GB, free: 10.86 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002065/0.6114, allocations: 2.022 MB / 0.5577 GB, free: 8.957 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002222/0.6136, allocations: 1.035 MB / 0.5587 GB, free: 7.965 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02044/0.634, allocations: 15.71 MB / 0.5741 GB, free: 8.195 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002525/0.6365, allocations: 2.155 MB / 0.5762 GB, free: 6.004 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.003139/0.6397, allocations: 0.8059 MB / 0.5769 GB, free: 5.191 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002486/0.6422, allocations: 1.054 MB / 0.578 GB, free: 4.129 MB / 442.8 MB Notification: Performance of SimCode: time 1.052e-06/0.6422, allocations: 0 / 0.578 GB, free: 4.129 MB / 442.8 MB Notification: Performance of Templates: time 0.2081/0.8503, allocations: 78.61 MB / 0.6547 GB, free: 75.49 MB / 442.8 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.sim & ./HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.6321567399427295]