Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.001733/0.001733, allocations: 114.3 kB / 18.49 MB, free: 4.539 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.002402/0.002402, allocations: 219 kB / 21.46 MB, free: 1.586 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.585/1.585, allocations: 230.6 MB / 254.8 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1892/0.1892, allocations: 38.5 MB / 349.4 MB, free: 2.574 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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_latest_PowerSystems_Examples_AC1ph_DC_Inverters_Chopper",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper,fileNamePrefix="PowerSystems_latest_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.002016/0.002016, allocations: 67.91 kB / 487.8 MB, free: 22.05 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1245, allocations: 62.42 MB / 0.5374 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper): time 0.009334/0.1339, allocations: 6.668 MB / 0.5439 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003644/0.1375, allocations: 1.78 MB / 0.5456 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006506/0.1382, allocations: 35.69 kB / 0.5456 GB, free: 15.01 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008674/0.139, allocations: 226.4 kB / 0.5459 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001182/0.1402, allocations: 381.9 kB / 0.5462 GB, free: 14.41 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000686/0.1409, allocations: 235.6 kB / 0.5464 GB, free: 14.18 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001549/0.1425, allocations: 1.067 MB / 0.5475 GB, free: 13.11 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005851/0.143, allocations: 386.3 kB / 0.5479 GB, free: 12.71 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009038/0.1439, allocations: 498.2 kB / 0.5483 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009646/0.1449, allocations: 0.4905 MB / 0.5488 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001322/0.145, allocations: 84 kB / 0.5489 GB, free: 11.65 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001512/0.1452, allocations: 88 kB / 0.549 GB, free: 11.57 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003121/0.1455, allocations: 283.2 kB / 0.5492 GB, free: 11.29 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004044/0.1459, allocations: 410.3 kB / 0.5496 GB, free: 10.89 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001112/0.147, allocations: 1.043 MB / 0.5507 GB, free: 9.84 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.147, allocations: 3.984 kB / 0.5507 GB, free: 9.836 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.147, allocations: 0 / 0.5507 GB, free: 9.836 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.685e-05/0.147, allocations: 3.938 kB / 0.5507 GB, free: 9.832 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.00207/0.1491, allocations: 1.032 MB / 0.5517 GB, free: 8.746 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.1492, allocations: 8.031 kB / 0.5517 GB, free: 8.738 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.477e-05/0.1492, allocations: 17.5 kB / 0.5517 GB, free: 8.723 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001316/0.1493, allocations: 106.7 kB / 0.5518 GB, free: 8.609 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001293/0.1494, allocations: 80.47 kB / 0.5519 GB, free: 8.531 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.1506, allocations: 0.6607 MB / 0.5525 GB, free: 7.832 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001504/0.1508, allocations: 116.8 kB / 0.5526 GB, free: 7.703 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/0.1509, allocations: 60 kB / 0.5527 GB, free: 7.645 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001298/0.1522, allocations: 0.7421 MB / 0.5534 GB, free: 6.867 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.1522, allocations: 4 kB / 0.5534 GB, free: 6.863 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.918e-05/0.1522, allocations: 24 kB / 0.5534 GB, free: 6.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.199e-05/0.1523, allocations: 16 kB / 0.5535 GB, free: 6.824 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001273/0.1535, allocations: 0.605 MB / 0.554 GB, free: 6.223 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003452/0.157, allocations: 2.449 MB / 0.5564 GB, free: 3.672 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009311/0.1579, allocations: 399.3 kB / 0.5568 GB, free: 3.258 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000436/0.1583, allocations: 187.1 kB / 0.557 GB, free: 3.066 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.628e-05/0.1584, allocations: 8.281 kB / 0.557 GB, free: 3.059 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004635/0.1588, allocations: 251.1 kB / 0.5572 GB, free: 2.789 MB / 414.1 MB Notification: Performance of pre-optimization done (n=36): time 2.104e-06/0.1588, allocations: 0 / 0.5572 GB, free: 2.789 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.003342/0.1622, allocations: 0.8746 MB / 0.5581 GB, free: 1.887 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.018e-05/0.1623, allocations: 140.7 kB / 0.5582 GB, free: 1.719 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004593/0.1627, allocations: 401.9 kB / 0.5586 GB, free: 1.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.494e-05/0.1628, allocations: 33.7 kB / 0.5586 GB, free: 1.281 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002475/0.163, allocations: 324.8 kB / 0.559 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.1631, allocations: 130.9 kB / 0.5591 GB, free: 0.832 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/0.1633, allocations: 78.08 kB / 0.5592 GB, free: 0.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.1634, allocations: 354.8 kB / 0.5595 GB, free: 404 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003323/0.1638, allocations: 136.8 kB / 0.5596 GB, free: 268 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004309/0.1642, allocations: 250 kB / 0.5599 GB, free: 15.96 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001627/0.1658, allocations: 0.6487 MB / 0.5605 GB, free: 15.27 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1658, allocations: 4 kB / 0.5605 GB, free: 15.26 MB / 430.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001142/0.167, allocations: 0.5255 MB / 0.561 GB, free: 14.73 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.167, allocations: 7.984 kB / 0.561 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.167, allocations: 4 kB / 0.561 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004914/0.1675, allocations: 144.9 kB / 0.5612 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002966/0.1678, allocations: 75.91 kB / 0.5612 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003827/0.1716, allocations: 2.267 MB / 0.5634 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003449/0.172, allocations: 55.64 kB / 0.5635 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.265e-05/0.172, allocations: 20 kB / 0.5635 GB, free: 12.02 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.0003416/0.1723, allocations: 241.5 kB / 0.5637 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.866e-05/0.1724, allocations: 51.66 kB / 0.5638 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001374/0.1738, allocations: 482.5 kB / 0.5643 GB, free: 11.24 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.1738, allocations: 7.938 kB / 0.5643 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.1738, allocations: 7.984 kB / 0.5643 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.1738, allocations: 192 / 0.5643 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008088/0.1746, allocations: 0.6824 MB / 0.5649 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1746, allocations: 3.938 kB / 0.5649 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002511/0.1749, allocations: 47.95 kB / 0.565 GB, free: 10.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004613/0.1753, allocations: 148.7 kB / 0.5651 GB, free: 10.28 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.767e-05/0.1754, allocations: 11.94 kB / 0.5651 GB, free: 10.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00357/0.1789, allocations: 2.248 MB / 0.5673 GB, free: 7.883 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1789, allocations: 0 / 0.5673 GB, free: 7.883 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001726/0.1806, allocations: 0.6983 MB / 0.568 GB, free: 7.152 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001827/0.1808, allocations: 156.7 kB / 0.5682 GB, free: 6.98 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.646e-05/0.1809, allocations: 11.94 kB / 0.5682 GB, free: 6.969 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000244/0.1811, allocations: 15.98 kB / 0.5682 GB, free: 6.953 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.1812, allocations: 35.95 kB / 0.5682 GB, free: 6.918 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/0.1813, allocations: 12 kB / 0.5682 GB, free: 6.906 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003277/0.1816, allocations: 279.1 kB / 0.5685 GB, free: 6.637 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1816, allocations: 0 / 0.5685 GB, free: 6.637 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005841/0.1822, allocations: 163.6 kB / 0.5687 GB, free: 6.477 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.00206/0.1842, allocations: 1.245 MB / 0.5699 GB, free: 5.191 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001098/0.1853, allocations: 0.491 MB / 0.5704 GB, free: 4.688 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1853, allocations: 0 / 0.5704 GB, free: 4.688 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005839/0.1859, allocations: 327.1 kB / 0.5707 GB, free: 4.355 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006771/0.1866, allocations: 164.5 kB / 0.5708 GB, free: 4.199 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007412/0.194, allocations: 4.575 MB / 0.5753 GB, free: 15.42 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006281/0.1946, allocations: 0.9366 MB / 0.5762 GB, free: 14.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002714/0.1949, allocations: 80.64 kB / 0.5763 GB, free: 14.37 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002565/0.1952, allocations: 191.4 kB / 0.5765 GB, free: 14.19 MB / 446.1 MB Notification: Performance of SimCode: time 9.12e-07/0.1952, allocations: 0 / 0.5765 GB, free: 14.19 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04148/0.2367, allocations: 13.38 MB / 0.5895 GB, free: 1.027 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13/13.23, allocations: 0 / 0.5895 GB, free: 1.027 MB / 446.1 MB " [Timeout remaining time 646] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Inverters_Chopper_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Inverters_Chopper.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.596644022967666] Failed to read output from testmodel.py, exit status != 0: 13.618825436977204 13.631282663 13.481934078 Calling exit ...