Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.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.001345/0.001345, allocations: 119.4 kB / 18.41 MB, free: 4.648 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.001401/0.001401, allocations: 196.3 kB / 21.35 MB, free: 1.711 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.413/1.413, allocations: 222.9 MB / 247 MB, free: 4.203 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.2922/0.2922, allocations: 38.02 MB / 337.2 MB, free: 12.92 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.Inverters.Chopper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 67.64 kB / 467.5 MB, free: 27.42 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1054, allocations: 58.07 MB / 0.5133 GB, free: 9.727 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper): time 0.009137/0.1146, allocations: 6.585 MB / 0.5197 GB, free: 3.105 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003171/0.1178, allocations: 1.737 MB / 0.5214 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004314/0.1183, allocations: 23.88 kB / 0.5214 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007024/0.119, allocations: 218.4 kB / 0.5216 GB, free: 1.125 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008745/0.1199, allocations: 389.8 kB / 0.522 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004974/0.1204, allocations: 227.7 kB / 0.5222 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001266/0.1217, allocations: 1.075 MB / 0.5233 GB, free: 15.44 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006678/0.1224, allocations: 0.5178 MB / 0.5238 GB, free: 14.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007241/0.1231, allocations: 470.3 kB / 0.5242 GB, free: 14.45 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007808/0.1239, allocations: 482.3 kB / 0.5247 GB, free: 13.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000123/0.124, allocations: 88 kB / 0.5248 GB, free: 13.89 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000164/0.1242, allocations: 84 kB / 0.5249 GB, free: 13.81 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002957/0.1245, allocations: 279.3 kB / 0.5251 GB, free: 13.54 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004329/0.125, allocations: 398.3 kB / 0.5255 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001167/0.1261, allocations: 1.051 MB / 0.5265 GB, free: 12.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1261, allocations: 0 / 0.5265 GB, free: 12.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1262, allocations: 4 kB / 0.5265 GB, free: 12.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.1262, allocations: 0 / 0.5265 GB, free: 12.09 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.002098/0.1283, allocations: 1.028 MB / 0.5275 GB, free: 11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.1283, allocations: 11.89 kB / 0.5275 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000152/0.1285, allocations: 80.47 kB / 0.5276 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001223/0.1297, allocations: 0.6607 MB / 0.5283 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001561/0.1299, allocations: 113.3 kB / 0.5284 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.13, allocations: 67.88 kB / 0.5284 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001399/0.1314, allocations: 0.7498 MB / 0.5292 GB, free: 9.242 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.1314, allocations: 0 / 0.5292 GB, free: 9.242 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.131e-05/0.1315, allocations: 24 kB / 0.5292 GB, free: 9.219 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.605e-05/0.1315, allocations: 20 kB / 0.5292 GB, free: 9.199 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001275/0.1328, allocations: 0.6011 MB / 0.5298 GB, free: 8.602 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003618/0.1365, allocations: 2.464 MB / 0.5322 GB, free: 6.035 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009474/0.1374, allocations: 412.9 kB / 0.5326 GB, free: 5.605 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004471/0.1379, allocations: 207.1 kB / 0.5328 GB, free: 5.395 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.721e-05/0.1379, allocations: 4.281 kB / 0.5328 GB, free: 5.391 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004767/0.1384, allocations: 243.5 kB / 0.533 GB, free: 5.129 MB / 398.1 MB Notification: Performance of pre-optimization done (n=36): time 1.833e-06/0.1384, allocations: 0 / 0.533 GB, free: 5.129 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.003405/0.1418, allocations: 0.8786 MB / 0.5339 GB, free: 4.223 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.631e-05/0.142, allocations: 136.5 kB / 0.534 GB, free: 4.059 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005075/0.1425, allocations: 405.9 kB / 0.5344 GB, free: 3.652 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.365e-05/0.1425, allocations: 29.7 kB / 0.5344 GB, free: 3.617 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002779/0.1428, allocations: 324.8 kB / 0.5347 GB, free: 3.297 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001274/0.1429, allocations: 138.9 kB / 0.5349 GB, free: 3.16 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001331/0.1431, allocations: 74.14 kB / 0.535 GB, free: 3.082 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001964/0.1433, allocations: 358.8 kB / 0.5353 GB, free: 2.723 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003183/0.1436, allocations: 124.8 kB / 0.5354 GB, free: 2.602 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004112/0.144, allocations: 250 kB / 0.5357 GB, free: 2.305 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001613/0.1456, allocations: 0.6601 MB / 0.5363 GB, free: 1.594 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.1457, allocations: 4 kB / 0.5363 GB, free: 1.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001188/0.1469, allocations: 0.5252 MB / 0.5368 GB, free: 1.055 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.1469, allocations: 4 kB / 0.5368 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.1469, allocations: 4.469 kB / 0.5368 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005116/0.1474, allocations: 152.7 kB / 0.537 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000293/0.1477, allocations: 75.84 kB / 0.537 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003807/0.1515, allocations: 2.26 MB / 0.5392 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003759/0.1519, allocations: 51.61 kB / 0.5393 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.409e-05/0.152, allocations: 24.06 kB / 0.5393 GB, free: 14.35 MB / 414.1 MB Warning: Assuming fixed start value for the following 2 variables: chopper.modulator.t1:DISCRETE(unit = \"s\" fixed = true protected = true ) type: Real chopper.modulator.t0:DISCRETE(unit = \"s\" fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 8 (system.initime,$whenCondition1,$PRE.chopper.modulator.t1,$PRE.chopper.modulator.t0,chopper.chopper.diode.on,chopper.modulator.t1,chopper.modulator.t0,chopper.modulator.gate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0003652/0.1524, allocations: 245 kB / 0.5396 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.487e-05/0.1524, allocations: 51.66 kB / 0.5396 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001366/0.1538, allocations: 482.6 kB / 0.5401 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.1538, allocations: 7.938 kB / 0.5401 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.1539, allocations: 0 / 0.5401 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.854e-06/0.1539, allocations: 7.984 kB / 0.5401 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008998/0.1548, allocations: 0.6708 MB / 0.5407 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.1548, allocations: 7.938 kB / 0.5407 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002569/0.1551, allocations: 51.91 kB / 0.5408 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004649/0.1555, allocations: 140.8 kB / 0.5409 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.523e-05/0.1556, allocations: 15.98 kB / 0.5409 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00354/0.1591, allocations: 2.248 MB / 0.5431 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.1592, allocations: 4 kB / 0.5431 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001731/0.1609, allocations: 0.6846 MB / 0.5438 GB, free: 9.504 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002092/0.1611, allocations: 164.6 kB / 0.544 GB, free: 9.324 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.998e-05/0.1612, allocations: 11.98 kB / 0.544 GB, free: 9.312 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002476/0.1614, allocations: 19.92 kB / 0.544 GB, free: 9.293 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.1616, allocations: 35.89 kB / 0.544 GB, free: 9.258 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.512e-05/0.1616, allocations: 8.094 kB / 0.544 GB, free: 9.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000354/0.162, allocations: 283.1 kB / 0.5443 GB, free: 8.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.162, allocations: 0 / 0.5443 GB, free: 8.98 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000614/0.1626, allocations: 167.6 kB / 0.5445 GB, free: 8.816 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (meterDCin.pav,meterDCout.pav,load.i) * Number of discrete variables: 6 ($whenCondition1,chopper.modulator.gate,chopper.modulator.t0,chopper.modulator.t1,chopper.chopper.diode.on,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001489/0.1628, allocations: 113.3 kB / 0.5446 GB, free: 8.695 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001139/0.1639, allocations: 0.5103 MB / 0.5451 GB, free: 8.172 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.1639, allocations: 0 / 0.5451 GB, free: 8.172 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006119/0.1645, allocations: 339 kB / 0.5454 GB, free: 7.828 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007285/0.1653, allocations: 152.7 kB / 0.5455 GB, free: 7.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002557/0.1678, allocations: 1.328 MB / 0.5468 GB, free: 6.305 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000613/0.1685, allocations: 0.925 MB / 0.5477 GB, free: 5.352 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.929e-05/0.1686, allocations: 35.44 kB / 0.5478 GB, free: 5.316 MB / 414.1 MB Notification: Performance of SimCode: time 6.32e-07/0.1686, allocations: 4 kB / 0.5478 GB, free: 5.312 MB / 414.1 MB Notification: Performance of Templates: time 0.01513/0.1837, allocations: 10.29 MB / 0.5578 GB, free: 11.05 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.550890090991743] Failed to read output from testmodel.py, exit status != 0: 0.19081763899885118 0.204723754 0.075759191 Calling exit ...