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.001291/0.001291, allocations: 120.8 kB / 17.79 MB, free: 5.285 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.001324/0.001324, allocations: 186.9 kB / 20.73 MB, free: 2.355 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.451/1.451, allocations: 225.6 MB / 249.1 MB, free: 3.613 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.196/0.196, allocations: 38.5 MB / 342.5 MB, free: 8.023 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: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_Chopper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_Chopper",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 68.92 kB / 478.6 MB, free: 33.59 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1093, allocations: 61.24 MB / 0.5272 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper): time 0.009396/0.1187, allocations: 6.65 MB / 0.5337 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003528/0.1222, allocations: 1.756 MB / 0.5354 GB, free: 8.918 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006233/0.1228, allocations: 23.88 kB / 0.5354 GB, free: 8.895 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009491/0.1238, allocations: 230.4 kB / 0.5357 GB, free: 8.668 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001165/0.125, allocations: 381.8 kB / 0.536 GB, free: 8.293 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006064/0.1256, allocations: 235.6 kB / 0.5362 GB, free: 8.062 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001472/0.127, allocations: 1.071 MB / 0.5373 GB, free: 6.988 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000604/0.1276, allocations: 382.3 kB / 0.5377 GB, free: 6.602 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008566/0.1285, allocations: 478.3 kB / 0.5381 GB, free: 6.133 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008655/0.1294, allocations: 0.4983 MB / 0.5386 GB, free: 5.633 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001606/0.1295, allocations: 84 kB / 0.5387 GB, free: 5.551 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001942/0.1297, allocations: 84 kB / 0.5388 GB, free: 5.469 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003165/0.13, allocations: 283.2 kB / 0.539 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004952/0.1305, allocations: 410.3 kB / 0.5394 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001389/0.1319, allocations: 1.047 MB / 0.5404 GB, free: 3.738 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.1319, allocations: 0 / 0.5404 GB, free: 3.738 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1319, allocations: 0 / 0.5404 GB, free: 3.738 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.156e-05/0.132, allocations: 4 kB / 0.5404 GB, free: 3.734 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.002371/0.1343, allocations: 1.021 MB / 0.5414 GB, free: 2.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.1344, allocations: 11.89 kB / 0.5415 GB, free: 2.648 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001528/0.1345, allocations: 110.7 kB / 0.5416 GB, free: 2.531 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001628/0.1347, allocations: 80.41 kB / 0.5416 GB, free: 2.453 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001413/0.1361, allocations: 0.6607 MB / 0.5423 GB, free: 1.758 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001668/0.1363, allocations: 117 kB / 0.5424 GB, free: 1.633 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/0.1364, allocations: 60 kB / 0.5424 GB, free: 1.574 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001426/0.1378, allocations: 0.746 MB / 0.5432 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.227e-05/0.1378, allocations: 0 / 0.5432 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.367e-05/0.1379, allocations: 28 kB / 0.5432 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.76e-05/0.1379, allocations: 16 kB / 0.5432 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001235/0.1392, allocations: 0.6011 MB / 0.5438 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003921/0.1431, allocations: 2.468 MB / 0.5462 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009376/0.144, allocations: 394.2 kB / 0.5466 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004505/0.1445, allocations: 195 kB / 0.5468 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.543e-05/0.1445, allocations: 8.219 kB / 0.5468 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004987/0.145, allocations: 243.5 kB / 0.547 GB, free: 12.7 MB / 414.1 MB Notification: Performance of pre-optimization done (n=36): time 2.174e-06/0.145, allocations: 0 / 0.547 GB, free: 12.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.003223/0.1482, allocations: 0.8708 MB / 0.5479 GB, free: 11.8 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.1483, allocations: 140.5 kB / 0.548 GB, free: 11.63 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005629/0.1489, allocations: 405.8 kB / 0.5484 GB, free: 11.22 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.062e-05/0.1489, allocations: 33.7 kB / 0.5484 GB, free: 11.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002774/0.1492, allocations: 324.8 kB / 0.5487 GB, free: 10.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001492/0.1494, allocations: 130.8 kB / 0.5489 GB, free: 10.73 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/0.1495, allocations: 82.16 kB / 0.5489 GB, free: 10.65 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001842/0.1497, allocations: 358.8 kB / 0.5493 GB, free: 10.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003163/0.15, allocations: 124.8 kB / 0.5494 GB, free: 10.17 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003995/0.1504, allocations: 246 kB / 0.5496 GB, free: 9.875 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001535/0.1519, allocations: 0.66 MB / 0.5503 GB, free: 9.164 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.1519, allocations: 0 / 0.5503 GB, free: 9.164 MB / 414.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00115/0.1531, allocations: 0.5215 MB / 0.5508 GB, free: 8.633 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.1531, allocations: 4 kB / 0.5508 GB, free: 8.629 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.1531, allocations: 7.938 kB / 0.5508 GB, free: 8.621 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005336/0.1537, allocations: 149.1 kB / 0.5509 GB, free: 8.473 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003231/0.154, allocations: 75.91 kB / 0.551 GB, free: 8.398 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003738/0.1577, allocations: 2.271 MB / 0.5532 GB, free: 5.992 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004218/0.1581, allocations: 55.61 kB / 0.5533 GB, free: 5.938 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.429e-05/0.1582, allocations: 20 kB / 0.5533 GB, free: 5.918 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.000392/0.1586, allocations: 251.6 kB / 0.5535 GB, free: 5.668 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.759e-05/0.1587, allocations: 51.66 kB / 0.5536 GB, free: 5.617 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001309/0.16, allocations: 478.6 kB / 0.554 GB, free: 5.137 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/0.16, allocations: 4 kB / 0.554 GB, free: 5.133 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.16, allocations: 4 kB / 0.5541 GB, free: 5.129 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.16, allocations: 0 / 0.5541 GB, free: 5.129 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009974/0.161, allocations: 0.6824 MB / 0.5547 GB, free: 4.387 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.161, allocations: 0 / 0.5547 GB, free: 4.387 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002711/0.1613, allocations: 47.97 kB / 0.5548 GB, free: 4.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004486/0.1617, allocations: 144.7 kB / 0.5549 GB, free: 4.195 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.425e-05/0.1617, allocations: 8 kB / 0.5549 GB, free: 4.188 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003472/0.1652, allocations: 2.256 MB / 0.5571 GB, free: 1.797 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.175e-06/0.1652, allocations: 3.938 kB / 0.5571 GB, free: 1.793 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001741/0.167, allocations: 0.6846 MB / 0.5578 GB, free: 1.078 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002774/0.1672, allocations: 160.7 kB / 0.5579 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.179e-05/0.1673, allocations: 12 kB / 0.558 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002428/0.1675, allocations: 19.92 kB / 0.558 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/0.1677, allocations: 35.94 kB / 0.558 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.598e-05/0.1677, allocations: 8 kB / 0.558 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003727/0.1681, allocations: 279.2 kB / 0.5583 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1681, allocations: 0 / 0.5583 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006799/0.1688, allocations: 167.6 kB / 0.5584 GB, free: 408 kB / 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.002088/0.1709, allocations: 1.243 MB / 0.5597 GB, free: 15.11 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001232/0.1721, allocations: 0.4913 MB / 0.5601 GB, free: 14.61 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1721, allocations: 0 / 0.5601 GB, free: 14.61 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006635/0.1728, allocations: 326.5 kB / 0.5604 GB, free: 14.27 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008914/0.1736, allocations: 157.9 kB / 0.5606 GB, free: 14.12 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008027/0.1817, allocations: 4.582 MB / 0.5651 GB, free: 9.332 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006546/0.1823, allocations: 0.9287 MB / 0.566 GB, free: 8.375 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003459/0.1827, allocations: 84.62 kB / 0.5661 GB, free: 8.293 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000271/0.1829, allocations: 199.4 kB / 0.5662 GB, free: 8.098 MB / 430.1 MB Notification: Performance of SimCode: time 1.092e-06/0.1829, allocations: 0 / 0.5662 GB, free: 8.098 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04871/0.2317, allocations: 13.32 MB / 0.5793 GB, free: 10.96 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.71/12.95, allocations: 11.86 kB / 0.5793 GB, free: 10.95 MB / 446.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_Chopper_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_Chopper.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.926601422019303] Failed to read output from testmodel.py, exit status != 0: 13.048061473760754 13.070467323 12.935409705 Calling exit ...