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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001742/0.001742, allocations: 121.2 kB / 18.5 MB, free: 4.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002129/0.002129, allocations: 213.5 kB / 21.46 MB, free: 1.691 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.528/1.528, allocations: 230.6 MB / 254.8 MB, free: 15.05 MB / 206.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.1891/0.1891, allocations: 38.51 MB / 349.4 MB, free: 2.562 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_Chopper",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_Chopper",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002238/0.002238, allocations: 63.91 kB / 487.8 MB, free: 22.06 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.119, allocations: 62.42 MB / 0.5374 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper): time 0.0094/0.1284, allocations: 6.656 MB / 0.5439 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00336/0.1317, allocations: 1.78 MB / 0.5456 GB, free: 15.06 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004512/0.1322, allocations: 31.75 kB / 0.5456 GB, free: 15.03 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007542/0.1329, allocations: 234.4 kB / 0.5459 GB, free: 14.8 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001008/0.1339, allocations: 381.8 kB / 0.5462 GB, free: 14.43 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005379/0.1345, allocations: 227.7 kB / 0.5464 GB, free: 14.2 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001301/0.1358, allocations: 1.075 MB / 0.5475 GB, free: 13.12 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005595/0.1363, allocations: 390.3 kB / 0.5479 GB, free: 12.73 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007566/0.1371, allocations: 482.3 kB / 0.5483 GB, free: 12.25 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007307/0.1378, allocations: 0.5022 MB / 0.5488 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001155/0.1379, allocations: 87.94 kB / 0.5489 GB, free: 11.66 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000146/0.1381, allocations: 88 kB / 0.549 GB, free: 11.58 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002984/0.1384, allocations: 287.2 kB / 0.5492 GB, free: 11.3 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004147/0.1388, allocations: 398.3 kB / 0.5496 GB, free: 10.91 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001182/0.14, allocations: 1.047 MB / 0.5506 GB, free: 9.855 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.14, allocations: 0 / 0.5506 GB, free: 9.855 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.14, allocations: 3.938 kB / 0.5507 GB, free: 9.852 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.334e-05/0.14, allocations: 0 / 0.5507 GB, free: 9.852 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.002128/0.1421, allocations: 1.032 MB / 0.5517 GB, free: 8.766 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.1422, allocations: 12.03 kB / 0.5517 GB, free: 8.754 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.986e-05/0.1422, allocations: 13.5 kB / 0.5517 GB, free: 8.742 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001343/0.1423, allocations: 106.7 kB / 0.5518 GB, free: 8.629 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001392/0.1425, allocations: 80.47 kB / 0.5519 GB, free: 8.551 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001192/0.1437, allocations: 0.6646 MB / 0.5525 GB, free: 7.848 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001573/0.1438, allocations: 112.8 kB / 0.5526 GB, free: 7.723 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/0.1439, allocations: 60 kB / 0.5527 GB, free: 7.664 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001356/0.1453, allocations: 0.7421 MB / 0.5534 GB, free: 6.887 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.1453, allocations: 3.984 kB / 0.5534 GB, free: 6.883 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.143e-05/0.1453, allocations: 28 kB / 0.5534 GB, free: 6.855 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.605e-05/0.1454, allocations: 16 kB / 0.5534 GB, free: 6.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00129/0.1467, allocations: 0.6011 MB / 0.554 GB, free: 6.242 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003638/0.1503, allocations: 2.456 MB / 0.5564 GB, free: 3.684 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009549/0.1512, allocations: 403.1 kB / 0.5568 GB, free: 3.27 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004509/0.1517, allocations: 195 kB / 0.557 GB, free: 3.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.023e-05/0.1517, allocations: 4.281 kB / 0.557 GB, free: 3.066 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00048/0.1522, allocations: 243.2 kB / 0.5572 GB, free: 2.805 MB / 414.1 MB Notification: Performance of pre-optimization done (n=36): time 2.034e-06/0.1522, allocations: 0 / 0.5572 GB, free: 2.805 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.003464/0.1557, allocations: 0.8747 MB / 0.5581 GB, free: 1.902 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000126/0.1558, allocations: 136.5 kB / 0.5582 GB, free: 1.738 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005623/0.1564, allocations: 409.8 kB / 0.5586 GB, free: 1.332 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.35e-05/0.1564, allocations: 33.7 kB / 0.5586 GB, free: 1.293 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003179/0.1567, allocations: 324.9 kB / 0.559 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/0.1569, allocations: 126.9 kB / 0.5591 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/0.157, allocations: 78.08 kB / 0.5592 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002059/0.1572, allocations: 358.8 kB / 0.5595 GB, free: 416 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003487/0.1576, allocations: 132.8 kB / 0.5596 GB, free: 284 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004223/0.158, allocations: 242 kB / 0.5599 GB, free: 15.99 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001628/0.1596, allocations: 0.6564 MB / 0.5605 GB, free: 15.28 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.1596, allocations: 0 / 0.5605 GB, free: 15.28 MB / 430.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001173/0.1608, allocations: 0.5213 MB / 0.561 GB, free: 14.75 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.1608, allocations: 4.469 kB / 0.561 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.1608, allocations: 11.88 kB / 0.561 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005004/0.1613, allocations: 148.8 kB / 0.5612 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003233/0.1616, allocations: 79.89 kB / 0.5612 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004028/0.1657, allocations: 2.263 MB / 0.5634 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003936/0.1661, allocations: 55.66 kB / 0.5635 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.322e-05/0.1661, allocations: 20.06 kB / 0.5635 GB, free: 12.03 MB / 430.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.0003908/0.1665, allocations: 250.4 kB / 0.5638 GB, free: 11.78 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.354e-05/0.1666, allocations: 55.66 kB / 0.5638 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001367/0.168, allocations: 478.5 kB / 0.5643 GB, free: 11.24 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.325e-06/0.168, allocations: 4 kB / 0.5643 GB, free: 11.24 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.168, allocations: 4 kB / 0.5643 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.168, allocations: 4 kB / 0.5643 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008793/0.1689, allocations: 0.6862 MB / 0.5649 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.1689, allocations: 0 / 0.5649 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000246/0.1691, allocations: 43.97 kB / 0.565 GB, free: 10.44 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004963/0.1696, allocations: 144.7 kB / 0.5651 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.985e-05/0.1696, allocations: 12 kB / 0.5651 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003896/0.1735, allocations: 2.248 MB / 0.5673 GB, free: 7.898 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1735, allocations: 0 / 0.5673 GB, free: 7.898 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00189/0.1754, allocations: 0.6944 MB / 0.568 GB, free: 7.172 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000234/0.1756, allocations: 156.7 kB / 0.5682 GB, free: 7 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.862e-05/0.1757, allocations: 11.94 kB / 0.5682 GB, free: 6.988 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002435/0.176, allocations: 23.97 kB / 0.5682 GB, free: 6.965 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.1761, allocations: 31.95 kB / 0.5682 GB, free: 6.934 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.648e-05/0.1761, allocations: 12 kB / 0.5682 GB, free: 6.922 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003495/0.1764, allocations: 283.1 kB / 0.5685 GB, free: 6.648 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1764, allocations: 0 / 0.5685 GB, free: 6.648 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006191/0.1771, allocations: 167.8 kB / 0.5687 GB, free: 6.484 MB / 430.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.002162/0.1792, allocations: 1.249 MB / 0.5699 GB, free: 5.195 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001169/0.1804, allocations: 495.3 kB / 0.5704 GB, free: 4.699 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.155e-06/0.1804, allocations: 0 / 0.5704 GB, free: 4.699 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005886/0.181, allocations: 322.4 kB / 0.5707 GB, free: 4.371 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007283/0.1817, allocations: 168.2 kB / 0.5708 GB, free: 4.211 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01097/0.1927, allocations: 4.579 MB / 0.5753 GB, free: 15.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007736/0.1935, allocations: 0.9211 MB / 0.5762 GB, free: 14.47 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003442/0.1938, allocations: 92.62 kB / 0.5763 GB, free: 14.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002975/0.1941, allocations: 191.4 kB / 0.5765 GB, free: 14.2 MB / 446.1 MB Notification: Performance of SimCode: time 1.042e-06/0.1941, allocations: 0 / 0.5765 GB, free: 14.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04326/0.2374, allocations: 13.36 MB / 0.5895 GB, free: 1.039 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.04/13.27, allocations: 7.938 kB / 0.5895 GB, free: 1.031 MB / 446.1 MB " [Timeout remaining time 646] (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 os._exit(0), Time elapsed: 16.472693794989027] Failed to read output from testmodel.py, exit status != 0: 13.670810131996404 13.687020824 13.544111172 Calling exit ...