Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.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.001444/0.001444, allocations: 115.4 kB / 18.41 MB, free: 4.668 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.0022/0.0022, allocations: 192.3 kB / 21.35 MB, free: 1.734 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.437/1.437, allocations: 222.9 MB / 247.1 MB, free: 4.199 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.2871/0.2871, allocations: 38.01 MB / 337.2 MB, free: 12.87 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.ASM,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM") translateModel(PowerSystems.Examples.AC3ph.Drives.ASM,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002105/0.002105, allocations: 63.16 kB / 467.5 MB, free: 27.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09942/0.1015, allocations: 58.06 MB / 0.5133 GB, free: 9.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM): time 0.01047/0.112, allocations: 7.433 MB / 0.5205 GB, free: 2.262 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008782/0.1209, allocations: 5.226 MB / 0.5256 GB, free: 13.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008968/0.1218, allocations: 27.88 kB / 0.5257 GB, free: 12.99 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01134/0.1332, allocations: 5.742 MB / 0.5313 GB, free: 7.242 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002091/0.1353, allocations: 0.6883 MB / 0.5319 GB, free: 6.551 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001492/0.1368, allocations: 0.5224 MB / 0.5324 GB, free: 6.027 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004085/0.1409, allocations: 2.627 MB / 0.535 GB, free: 3.395 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001992/0.1429, allocations: 1.361 MB / 0.5363 GB, free: 2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00149/0.1444, allocations: 0.7787 MB / 0.5371 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001441/0.1459, allocations: 0.919 MB / 0.538 GB, free: 304 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003157/0.1462, allocations: 144 kB / 0.5381 GB, free: 160 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0014/0.1476, allocations: 0.671 MB / 0.5388 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007258/0.1484, allocations: 0.6547 MB / 0.5394 GB, free: 14.83 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009348/0.1493, allocations: 0.7584 MB / 0.5402 GB, free: 14.07 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002707/0.152, allocations: 2.211 MB / 0.5423 GB, free: 11.85 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1521, allocations: 0 / 0.5423 GB, free: 11.85 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1521, allocations: 0 / 0.5423 GB, free: 11.85 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.838e-05/0.1521, allocations: 0 / 0.5423 GB, free: 11.85 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 293 * Number of variables: 293 Notification: Performance of Generate backend data structure: time 0.004196/0.1563, allocations: 1.986 MB / 0.5443 GB, free: 9.781 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.1564, allocations: 11.89 kB / 0.5443 GB, free: 9.77 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006688/0.157, allocations: 187.9 kB / 0.5445 GB, free: 9.586 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001989/0.159, allocations: 1.046 MB / 0.5455 GB, free: 8.496 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001992/0.1592, allocations: 183.1 kB / 0.5457 GB, free: 8.301 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002097/0.1595, allocations: 111.9 kB / 0.5458 GB, free: 8.191 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003368/0.1628, allocations: 1.859 MB / 0.5476 GB, free: 6.258 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.341e-05/0.1629, allocations: 4 kB / 0.5476 GB, free: 6.254 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001273/0.163, allocations: 39.98 kB / 0.5476 GB, free: 6.215 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003071/0.1633, allocations: 125.9 kB / 0.5477 GB, free: 6.09 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003032/0.1664, allocations: 1.608 MB / 0.5493 GB, free: 4.48 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00888/0.1753, allocations: 5.733 MB / 0.5549 GB, free: 14.58 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002712/0.178, allocations: 1.195 MB / 0.5561 GB, free: 13.34 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001594/0.1796, allocations: 0.7386 MB / 0.5568 GB, free: 12.6 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.522e-05/0.1797, allocations: 17.14 kB / 0.5568 GB, free: 12.59 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001952/0.1817, allocations: 0.9806 MB / 0.5578 GB, free: 11.59 MB / 430.1 MB Notification: Performance of pre-optimization done (n=116): time 2.806e-06/0.1817, allocations: 0 / 0.5578 GB, free: 11.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=119): time 0.01043/0.1921, allocations: 4.688 MB / 0.5623 GB, free: 6.77 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001317/0.1923, allocations: 131.8 kB / 0.5625 GB, free: 6.613 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/0.1934, allocations: 0.7976 MB / 0.5633 GB, free: 5.801 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001168/0.1935, allocations: 57.69 kB / 0.5633 GB, free: 5.738 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004747/0.194, allocations: 0.5089 MB / 0.5638 GB, free: 5.223 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003874/0.1944, allocations: 424.5 kB / 0.5642 GB, free: 4.805 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004174/0.1948, allocations: 250.8 kB / 0.5644 GB, free: 4.555 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002537/0.1951, allocations: 414.7 kB / 0.5648 GB, free: 4.141 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001115/0.1962, allocations: 0.6943 MB / 0.5655 GB, free: 3.445 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001363/0.1976, allocations: 0.9686 MB / 0.5665 GB, free: 2.383 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00239/0.2, allocations: 1.682 MB / 0.5681 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.2, allocations: 4 kB / 0.5681 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.00417/0.2042, allocations: 2.322 MB / 0.5704 GB, free: 14.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001032/0.2043, allocations: 69.61 kB / 0.5704 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.816e-05/0.2044, allocations: 8 kB / 0.5705 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001305/0.2057, allocations: 417.2 kB / 0.5709 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008484/0.2065, allocations: 219.6 kB / 0.5711 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009118/0.2157, allocations: 6.24 MB / 0.5772 GB, free: 6.996 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/0.2168, allocations: 103.8 kB / 0.5773 GB, free: 6.895 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001783/0.2169, allocations: 83.95 kB / 0.5773 GB, free: 6.812 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 29 (system.initime,inverter.modulator.t0[3],$PRE.inverter.modulator.t0[3],inverter.modulator.t0[2],$PRE.inverter.modulator.t0[2],inverter.modulator.t0[1],$PRE.inverter.modulator.t0[1],inverter.modulator.sigdel_t[3],$PRE.inverter.modulator.sigdel_t[3],inverter.modulator.sigdel_t[2],$PRE.inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[1],$PRE.inverter.modulator.sigdel_t[1],inverter.modulator.gates[6],$PRE.inverter.modulator.gates[6],inverter.modulator.gates[5],$PRE.inverter.modulator.gates[5],inverter.modulator.gates[4],$PRE.inverter.modulator.gates[4],inverter.modulator.gates[3],$PRE.inverter.modulator.gates[3],inverter.modulator.gates[2],$PRE.inverter.modulator.gates[2],inverter.modulator.gates[1],$PRE.inverter.modulator.gates[1],$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 115 * Array equations: 3 * Algorithm blocks: 1 * 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,21)} Notification: Performance of prepare postOptimizeDAE: time 0.0007929/0.2177, allocations: 465.3 kB / 0.5778 GB, free: 6.348 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002475/0.218, allocations: 115.3 kB / 0.5779 GB, free: 6.234 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004315/0.2223, allocations: 1.958 MB / 0.5798 GB, free: 4.223 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-05/0.2224, allocations: 20 kB / 0.5798 GB, free: 4.203 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.198e-06/0.2224, allocations: 4 kB / 0.5798 GB, free: 4.199 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.454e-05/0.2224, allocations: 7.969 kB / 0.5798 GB, free: 4.191 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008677/0.2311, allocations: 3.414 MB / 0.5832 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/0.2312, allocations: 4.031 kB / 0.5832 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001351/0.2325, allocations: 171.8 kB / 0.5833 GB, free: 500 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007313/0.2333, allocations: 162.4 kB / 0.5835 GB, free: 328 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001642/0.2334, allocations: 31.97 kB / 0.5835 GB, free: 296 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2315/0.465, allocations: 4.806 MB / 0.5882 GB, free: 62.42 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.716e-06/0.465, allocations: 1.875 kB / 0.5882 GB, free: 62.42 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005772/0.4708, allocations: 2.892 MB / 0.591 GB, free: 61.85 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004747/0.4713, allocations: 323 kB / 0.5913 GB, free: 61.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002374/0.4715, allocations: 87.16 kB / 0.5914 GB, free: 61.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009467/0.4725, allocations: 117.9 kB / 0.5915 GB, free: 61.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002188/0.4727, allocations: 76.84 kB / 0.5916 GB, free: 61.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.953e-05/0.4728, allocations: 44.14 kB / 0.5917 GB, free: 61.63 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007027/0.4735, allocations: 0.5354 MB / 0.5922 GB, free: 61.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4735, allocations: 0 / 0.5922 GB, free: 61.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001127/0.4747, allocations: 355.9 kB / 0.5925 GB, free: 61.37 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 13 (power.pav[1],power.pav[2],power.pav[3],asm.rotor.phi,asm.rotor.w,asm.motor.i[3],asm.motor.psi_s[1],asm.motor.psi_s[2],asm.motor.psi_rd[1],asm.motor.psi_rd[2],asm.motor.psi_rq[1],asm.motor.psi_rq[2],tabLoad.s) * Number of discrete variables: 17 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,inverter.modulator.gates[1],inverter.modulator.gates[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.gates[5],inverter.modulator.gates[6],inverter.modulator.sigdel_t[1],inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[3],inverter.modulator.t0[1],inverter.modulator.t0[2],inverter.modulator.t0[3],system.initime) * Number of discrete states: 12 (inverter.modulator.t0[3],inverter.modulator.sigdel_t[3],inverter.modulator.gates[5],inverter.modulator.gates[6],inverter.modulator.t0[2],inverter.modulator.sigdel_t[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.t0[1],inverter.modulator.sigdel_t[1],inverter.modulator.gates[1],inverter.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 79 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (2,1,100.0%), (2,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.001547/0.4762, allocations: 0.5123 MB / 0.593 GB, free: 61.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003885/0.4801, allocations: 2.321 MB / 0.5953 GB, free: 60.24 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.4801, allocations: 1.094 kB / 0.5953 GB, free: 60.24 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002266/0.4824, allocations: 1.215 MB / 0.5965 GB, free: 59.64 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/0.4836, allocations: 254.9 kB / 0.5967 GB, free: 59.55 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005228/0.4888, allocations: 3.547 MB / 0.6002 GB, free: 57.78 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009622/0.4898, allocations: 1.285 MB / 0.6014 GB, free: 56.97 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004386/0.4902, allocations: 92.78 kB / 0.6015 GB, free: 56.96 MB / 446.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4902, allocations: 0.5938 kB / 0.6015 GB, free: 56.96 MB / 446.1 MB Notification: Performance of Templates: time 0.02873/0.519, allocations: 29.72 MB / 0.6306 GB, free: 34.95 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.17412429198157] Failed to read output from testmodel.py, exit status != 0: 0.5250047299778089 0.537315486 0.38261159100000003 Calling exit ...