Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.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.001368/0.001368, allocations: 119.5 kB / 18.41 MB, free: 4.684 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.001361/0.001361, allocations: 192.3 kB / 21.35 MB, free: 1.754 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.456/1.456, allocations: 222.9 MB / 247 MB, free: 4.324 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.2767/0.2767, allocations: 38 MB / 337.2 MB, free: 13.02 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.AC1ph_DC.Elementary.Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 64 kB / 467.5 MB, free: 27.53 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1031, allocations: 58.08 MB / 0.5133 GB, free: 9.727 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter): time 0.008246/0.1114, allocations: 6.496 MB / 0.5196 GB, free: 3.195 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002649/0.1141, allocations: 1.313 MB / 0.5209 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003721/0.1145, allocations: 27.81 kB / 0.5209 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000353/0.1149, allocations: 122.9 kB / 0.5211 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001008/0.1159, allocations: 425.9 kB / 0.5215 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005196/0.1165, allocations: 235.6 kB / 0.5217 GB, free: 1.082 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00124/0.1177, allocations: 1.114 MB / 0.5228 GB, free: 15.96 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005298/0.1182, allocations: 405.8 kB / 0.5232 GB, free: 15.56 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007062/0.119, allocations: 498 kB / 0.5236 GB, free: 15.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007829/0.1198, allocations: 0.5256 MB / 0.5241 GB, free: 14.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001117/0.1199, allocations: 64 kB / 0.5242 GB, free: 14.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001636/0.1201, allocations: 64 kB / 0.5243 GB, free: 14.42 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003543/0.1204, allocations: 331.1 kB / 0.5246 GB, free: 14.1 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004315/0.1209, allocations: 402.1 kB / 0.525 GB, free: 13.7 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001038/0.1219, allocations: 0.9221 MB / 0.5259 GB, free: 12.78 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.1219, allocations: 0 / 0.5259 GB, free: 12.78 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1219, allocations: 0 / 0.5259 GB, free: 12.78 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.1219, allocations: 4 kB / 0.5259 GB, free: 12.77 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.00209/0.124, allocations: 1.175 MB / 0.527 GB, free: 11.53 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.1241, allocations: 11.89 kB / 0.527 GB, free: 11.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001631/0.1243, allocations: 88.42 kB / 0.5271 GB, free: 11.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009934/0.1253, allocations: 0.6084 MB / 0.5277 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001268/0.1254, allocations: 120.8 kB / 0.5278 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.1255, allocations: 64 kB / 0.5279 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001619/0.1272, allocations: 0.8652 MB / 0.5287 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/0.1272, allocations: 0 / 0.5287 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.293e-05/0.1273, allocations: 35.92 kB / 0.5288 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001274/0.1274, allocations: 37.3 kB / 0.5288 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00127/0.1287, allocations: 0.6256 MB / 0.5294 GB, free: 8.984 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004035/0.1327, allocations: 2.744 MB / 0.5321 GB, free: 6.141 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00178/0.1345, allocations: 0.8966 MB / 0.533 GB, free: 5.152 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007651/0.1353, allocations: 314.2 kB / 0.5333 GB, free: 4.84 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.048e-05/0.1353, allocations: 8.312 kB / 0.5333 GB, free: 4.832 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007797/0.1361, allocations: 362.7 kB / 0.5336 GB, free: 4.457 MB / 398.1 MB Notification: Performance of pre-optimization done (n=41): time 2.975e-06/0.1361, allocations: 0 / 0.5336 GB, free: 4.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=42): time 0.004615/0.1408, allocations: 1.989 MB / 0.5356 GB, free: 2.352 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.539e-05/0.1409, allocations: 122.7 kB / 0.5357 GB, free: 2.207 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006571/0.1416, allocations: 0.5105 MB / 0.5362 GB, free: 1.688 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.822e-05/0.1416, allocations: 41.69 kB / 0.5362 GB, free: 1.641 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003047/0.1419, allocations: 364.6 kB / 0.5366 GB, free: 1.277 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/0.1421, allocations: 146.8 kB / 0.5367 GB, free: 1.133 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001895/0.1423, allocations: 126.1 kB / 0.5368 GB, free: 1.004 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001875/0.1424, allocations: 366.8 kB / 0.5372 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003622/0.1428, allocations: 221.1 kB / 0.5374 GB, free: 432 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004996/0.1433, allocations: 402 kB / 0.5378 GB, free: 15.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008423/0.1442, allocations: 0.6172 MB / 0.5384 GB, free: 15.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.1442, allocations: 0 / 0.5384 GB, free: 15.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001346/0.1455, allocations: 0.8984 MB / 0.5393 GB, free: 14.33 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.148e-05/0.1456, allocations: 53.69 kB / 0.5393 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.1456, allocations: 4 kB / 0.5393 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003048/0.1459, allocations: 85.66 kB / 0.5394 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003975/0.1463, allocations: 107.8 kB / 0.5395 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002891/0.1493, allocations: 3.267 MB / 0.5427 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003966/0.1497, allocations: 27.98 kB / 0.5427 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.623e-05/0.1497, allocations: 39.97 kB / 0.5427 GB, free: 10.46 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 14 (system.initime,dc_ac.modulator.t0,$PRE.dc_ac.modulator.t0,dc_ac.modulator.sigdel_t,$PRE.dc_ac.modulator.sigdel_t,dc_ac.modulator.gates[4],$PRE.dc_ac.modulator.gates[4],dc_ac.modulator.gates[3],$PRE.dc_ac.modulator.gates[3],dc_ac.modulator.gates[2],$PRE.dc_ac.modulator.gates[2],dc_ac.modulator.gates[1],$PRE.dc_ac.modulator.gates[1],$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 63 * Array equations: 0 * 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): 2 systems {(1,2,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004054/0.1502, allocations: 273.6 kB / 0.543 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.818e-05/0.1503, allocations: 63.61 kB / 0.5431 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001564/0.1518, allocations: 0.7003 MB / 0.5438 GB, free: 9.387 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.1518, allocations: 8 kB / 0.5438 GB, free: 9.379 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1519, allocations: 96 / 0.5438 GB, free: 9.379 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.1519, allocations: 7.969 kB / 0.5438 GB, free: 9.371 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002591/0.1545, allocations: 1.54 MB / 0.5453 GB, free: 7.742 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.1545, allocations: 0 / 0.5453 GB, free: 7.742 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002924/0.1548, allocations: 63.89 kB / 0.5453 GB, free: 7.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002967/0.1551, allocations: 97.69 kB / 0.5454 GB, free: 7.578 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.853e-05/0.1551, allocations: 11.98 kB / 0.5454 GB, free: 7.566 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002724/0.1579, allocations: 3.255 MB / 0.5486 GB, free: 4.031 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.1579, allocations: 3.938 kB / 0.5486 GB, free: 4.027 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002234/0.1601, allocations: 1.069 MB / 0.5497 GB, free: 2.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002486/0.1604, allocations: 172.7 kB / 0.5498 GB, free: 2.723 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.891e-05/0.1605, allocations: 31.92 kB / 0.5499 GB, free: 2.691 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003975/0.1609, allocations: 43.94 kB / 0.5499 GB, free: 2.648 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.107e-05/0.161, allocations: 35.83 kB / 0.5499 GB, free: 2.613 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-05/0.161, allocations: 19.98 kB / 0.55 GB, free: 2.594 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004327/0.1615, allocations: 354.8 kB / 0.5503 GB, free: 2.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1615, allocations: 0 / 0.5503 GB, free: 2.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006826/0.1622, allocations: 148 kB / 0.5504 GB, free: 2.105 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,meterDC.pav) * Number of discrete variables: 8 ($whenCondition1,dc_ac.modulator.gates[1],dc_ac.modulator.gates[2],dc_ac.modulator.gates[3],dc_ac.modulator.gates[4],dc_ac.modulator.sigdel_t,dc_ac.modulator.t0,system.initime) * Number of discrete states: 6 (dc_ac.modulator.t0,dc_ac.modulator.sigdel_t,dc_ac.modulator.gates[3],dc_ac.modulator.gates[4],dc_ac.modulator.gates[1],dc_ac.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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): 2 systems {(1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000177/0.1624, allocations: 127.2 kB / 0.5506 GB, free: 1.973 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001604/0.164, allocations: 0.9134 MB / 0.5514 GB, free: 1.02 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.164, allocations: 0 / 0.5514 GB, free: 1.02 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009423/0.1649, allocations: 0.4903 MB / 0.5519 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007805/0.1657, allocations: 155.3 kB / 0.5521 GB, free: 368 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002631/0.1684, allocations: 1.568 MB / 0.5536 GB, free: 14.74 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006436/0.169, allocations: 0.9721 MB / 0.5546 GB, free: 13.74 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.1692, allocations: 43.44 kB / 0.5546 GB, free: 13.7 MB / 430.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1692, allocations: 0 / 0.5546 GB, free: 13.7 MB / 430.1 MB Notification: Performance of Templates: time 0.01802/0.1872, allocations: 13.52 MB / 0.5678 GB, free: 204 kB / 430.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.746349215041846] Failed to read output from testmodel.py, exit status != 0: 0.19423914700746536 0.207244 0.082781829 Calling exit ...