Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001807/0.001807, allocations: 115.4 kB / 18.41 MB, free: 4.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002111/0.002111, allocations: 192.3 kB / 21.35 MB, free: 1.723 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 222.9 MB / 247 MB, free: 4.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2759/0.2759, allocations: 38 MB / 337.2 MB, free: 12.91 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv") translateModel(PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 69.11 kB / 467.5 MB, free: 27.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09345/0.09542, allocations: 58.07 MB / 0.5133 GB, free: 9.738 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv): time 0.009422/0.1049, allocations: 7.176 MB / 0.5203 GB, free: 2.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005137/0.11, allocations: 3.015 MB / 0.5232 GB, free: 15.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005876/0.1107, allocations: 35.81 kB / 0.5233 GB, free: 15.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001178/0.1119, allocations: 369.6 kB / 0.5236 GB, free: 15.1 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001446/0.1133, allocations: 0.6373 MB / 0.5242 GB, free: 14.46 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009623/0.1143, allocations: 427.3 kB / 0.5246 GB, free: 14.04 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001855/0.1162, allocations: 1.489 MB / 0.5261 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00149/0.1177, allocations: 1.199 MB / 0.5273 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007688/0.1184, allocations: 0.5682 MB / 0.5278 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008904/0.1193, allocations: 0.6382 MB / 0.5284 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001765/0.1195, allocations: 112 kB / 0.5286 GB, free: 10 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006223/0.1202, allocations: 359.5 kB / 0.5289 GB, free: 9.652 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004129/0.1206, allocations: 398.9 kB / 0.5293 GB, free: 9.262 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006126/0.1212, allocations: 0.5754 MB / 0.5298 GB, free: 8.684 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001949/0.1232, allocations: 1.693 MB / 0.5315 GB, free: 6.984 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1232, allocations: 4 kB / 0.5315 GB, free: 6.98 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1232, allocations: 0 / 0.5315 GB, free: 6.98 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.875e-05/0.1232, allocations: 0 / 0.5315 GB, free: 6.98 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.002802/0.126, allocations: 1.451 MB / 0.5329 GB, free: 5.473 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.1261, allocations: 19.89 kB / 0.5329 GB, free: 5.453 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006875/0.1268, allocations: 168.1 kB / 0.5331 GB, free: 5.289 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001462/0.1282, allocations: 0.8369 MB / 0.5339 GB, free: 4.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.872e-05/0.1283, allocations: 62 kB / 0.534 GB, free: 4.348 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001928/0.1285, allocations: 91.98 kB / 0.5341 GB, free: 4.258 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001909/0.1304, allocations: 1.157 MB / 0.5352 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.212e-05/0.1305, allocations: 7.953 kB / 0.5352 GB, free: 3.039 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-05/0.1306, allocations: 35.98 kB / 0.5352 GB, free: 3.004 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001086/0.1307, allocations: 73.84 kB / 0.5353 GB, free: 2.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001705/0.1324, allocations: 0.9368 MB / 0.5362 GB, free: 1.996 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006353/0.1388, allocations: 4.606 MB / 0.5407 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001189/0.14, allocations: 0.6831 MB / 0.5414 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000616/0.1406, allocations: 339.3 kB / 0.5417 GB, free: 12.1 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.736e-05/0.1407, allocations: 16.55 kB / 0.5417 GB, free: 12.08 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/0.1407, allocations: 39.12 kB / 0.5418 GB, free: 12.03 MB / 414.1 MB Notification: Performance of pre-optimization done (n=58): time 2.495e-06/0.1407, allocations: 0 / 0.5418 GB, free: 12.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=62): time 0.005037/0.1458, allocations: 2.382 MB / 0.5441 GB, free: 9.578 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.1459, allocations: 141 kB / 0.5442 GB, free: 9.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008938/0.1468, allocations: 0.6841 MB / 0.5449 GB, free: 8.719 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.882e-05/0.1469, allocations: 37.7 kB / 0.5449 GB, free: 8.676 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003907/0.1473, allocations: 492 kB / 0.5454 GB, free: 8.188 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002129/0.1475, allocations: 234 kB / 0.5456 GB, free: 7.957 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002384/0.1477, allocations: 154.6 kB / 0.5458 GB, free: 7.797 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002319/0.148, allocations: 390.8 kB / 0.5461 GB, free: 7.406 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000516/0.1485, allocations: 280.6 kB / 0.5464 GB, free: 7.129 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007044/0.1492, allocations: 0.5198 MB / 0.5469 GB, free: 6.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003625/0.1529, allocations: 1.509 MB / 0.5484 GB, free: 4.867 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.1529, allocations: 0 / 0.5484 GB, free: 4.867 MB / 414.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00313/0.156, allocations: 1.375 MB / 0.5497 GB, free: 3.461 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.156, allocations: 8 kB / 0.5497 GB, free: 3.453 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/0.1561, allocations: 8.344 kB / 0.5497 GB, free: 3.445 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001565/0.1576, allocations: 438.5 kB / 0.5502 GB, free: 3.012 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005424/0.1582, allocations: 143.7 kB / 0.5503 GB, free: 2.871 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009983/0.1682, allocations: 6.727 MB / 0.5569 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006048/0.1688, allocations: 39.97 kB / 0.5569 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.148e-05/0.1689, allocations: 31.98 kB / 0.5569 GB, free: 11.79 MB / 430.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.sm_ctrl.rotor.w = 0.0. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008615/0.1698, allocations: 0.5135 MB / 0.5574 GB, free: 11.27 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006541/0.1704, allocations: 0.5004 MB / 0.5579 GB, free: 10.67 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003474/0.1739, allocations: 1.478 MB / 0.5594 GB, free: 9.07 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.917e-06/0.1739, allocations: 4 kB / 0.5594 GB, free: 9.066 MB / 430.1 MB Notification: Performance of matching and sorting (n=100) (initialization_lambda0): time 0.002795/0.1767, allocations: 1.301 MB / 0.5606 GB, free: 7.73 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.1768, allocations: 8 kB / 0.5606 GB, free: 7.723 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.1768, allocations: 8 kB / 0.5607 GB, free: 7.715 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001499/0.1783, allocations: 425.6 kB / 0.5611 GB, free: 7.293 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005539/0.1789, allocations: 151.8 kB / 0.5612 GB, free: 7.145 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008895/0.1878, allocations: 6.473 MB / 0.5675 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006088/0.1884, allocations: 43.94 kB / 0.5676 GB, free: 364 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.084e-05/0.1885, allocations: 32 kB / 0.5676 GB, free: 332 kB / 430.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization_lambda0 system: $DER.sm_ctrl.rotor.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,PI_i_q.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,23)} Notification: Performance of prepare postOptimizeDAE: time 0.0002837/0.1888, allocations: 232 kB / 0.5678 GB, free: 92 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001626/0.1889, allocations: 87.42 kB / 0.5679 GB, free: 4 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001454/0.1904, allocations: 0.7341 MB / 0.5686 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.427e-06/0.1904, allocations: 8 kB / 0.5686 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1904, allocations: 0 / 0.5686 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.1904, allocations: 3.984 kB / 0.5686 GB, free: 15.24 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002992/0.1934, allocations: 1.765 MB / 0.5704 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.1935, allocations: 0 / 0.5704 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007202/0.1942, allocations: 135.8 kB / 0.5705 GB, free: 13.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.747e-05/0.1943, allocations: 20.86 kB / 0.5705 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.945e-05/0.1944, allocations: 19.98 kB / 0.5705 GB, free: 13.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001135/0.1955, allocations: 1.383 MB / 0.5719 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.1955, allocations: 7.969 kB / 0.5719 GB, free: 11.69 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001955/0.1975, allocations: 1.211 MB / 0.5731 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003293/0.1978, allocations: 220.5 kB / 0.5733 GB, free: 10.22 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.1979, allocations: 16 kB / 0.5733 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004406/0.1984, allocations: 23.97 kB / 0.5733 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.1985, allocations: 52.36 kB / 0.5734 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.446e-05/0.1986, allocations: 20 kB / 0.5734 GB, free: 10.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006434/0.1992, allocations: 479 kB / 0.5738 GB, free: 9.645 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1992, allocations: 0 / 0.5738 GB, free: 9.645 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001462/0.2007, allocations: 415.9 kB / 0.5742 GB, free: 9.238 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (sm_ctrl.motor.i_s[1],sm_ctrl.motor.i_s[2],sm_ctrl.motor.i_s[3],loadInertia.w,frictTorq.phi,PI_i_q.I.y) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000297/0.201, allocations: 143.1 kB / 0.5744 GB, free: 9.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003726/0.2047, allocations: 1.964 MB / 0.5763 GB, free: 7.074 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.2048, allocations: 0 / 0.5763 GB, free: 7.074 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007418/0.2055, allocations: 446 kB / 0.5767 GB, free: 6.629 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00119/0.2067, allocations: 232.1 kB / 0.5769 GB, free: 6.406 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003706/0.2104, allocations: 2.167 MB / 0.5791 GB, free: 4.199 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008739/0.2113, allocations: 1.108 MB / 0.5801 GB, free: 3.059 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002403/0.2116, allocations: 63.42 kB / 0.5802 GB, free: 2.996 MB / 446.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2116, allocations: 0 / 0.5802 GB, free: 2.996 MB / 446.1 MB Notification: Performance of Templates: time 0.241/0.4526, allocations: 19.07 MB / 0.5988 GB, free: 57.9 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.356052600080147] Failed to read output from testmodel.py, exit status != 0: 0.4591784989461303 0.470672839 0.345484717 Calling exit ...