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.0008236/0.0008236, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009779/0.0009779, allocations: 174.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8525/0.8525, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.2101/0.2101, allocations: 29.41 MB / 290.1 MB, free: 2.445 MB / 266.7 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="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 1.803e-06/1.803e-06, allocations: 0 / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.208e-05/2.389e-05, allocations: 6.281 kB / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper): time 0.005987/0.006011, allocations: 6.238 MB / 436.4 MB, free: 7.34 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002569/0.008581, allocations: 1.562 MB / 438 MB, free: 5.773 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003687/0.008949, allocations: 31.75 kB / 438 MB, free: 5.742 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005209/0.00947, allocations: 186.5 kB / 438.2 MB, free: 5.559 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000696/0.01017, allocations: 401.4 kB / 438.6 MB, free: 5.164 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003963/0.01056, allocations: 235.5 kB / 438.8 MB, free: 4.934 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008661/0.01143, allocations: 1.105 MB / 439.9 MB, free: 3.824 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003459/0.01177, allocations: 294.9 kB / 440.2 MB, free: 3.523 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008132/0.01259, allocations: 0.6662 MB / 440.9 MB, free: 2.855 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005086/0.0131, allocations: 434.9 kB / 441.3 MB, free: 2.43 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.305e-05/0.01318, allocations: 88 kB / 441.4 MB, free: 2.344 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003404/0.01352, allocations: 88 kB / 441.5 MB, free: 2.258 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001878/0.01371, allocations: 291.2 kB / 441.8 MB, free: 1.973 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002004/0.01391, allocations: 287.4 kB / 442.1 MB, free: 1.691 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007415/0.01465, allocations: 1.067 MB / 443.1 MB, free: 0.6211 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.01465, allocations: 0 / 443.1 MB, free: 0.6211 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.01466, allocations: 0 / 443.1 MB, free: 0.6211 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.982e-05/0.01468, allocations: 0 / 443.1 MB, free: 0.6211 MB / 410.7 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.1543/0.1689, allocations: 0.942 MB / 444.1 MB, free: 54.87 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.169, allocations: 13.2 kB / 444.1 MB, free: 54.86 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.266e-05/0.169, allocations: 108.8 kB / 444.2 MB, free: 54.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.095e-05/0.1691, allocations: 78.62 kB / 444.3 MB, free: 54.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006816/0.1698, allocations: 0.5852 MB / 444.9 MB, free: 54.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.461e-05/0.1699, allocations: 192.4 kB / 445 MB, free: 54.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.369e-05/0.17, allocations: 57.16 kB / 445.1 MB, free: 54.37 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006647/0.1706, allocations: 0.7485 MB / 445.8 MB, free: 54.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.1706, allocations: 0.5 kB / 445.8 MB, free: 54.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.197e-05/0.1707, allocations: 24 kB / 445.9 MB, free: 54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.1707, allocations: 19.53 kB / 445.9 MB, free: 54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006022/0.1713, allocations: 0.6056 MB / 446.5 MB, free: 53.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00159/0.1729, allocations: 2.237 MB / 448.7 MB, free: 52.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004792/0.1733, allocations: 401.8 kB / 449.1 MB, free: 52.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002189/0.1736, allocations: 185.8 kB / 449.3 MB, free: 52.03 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.1736, allocations: 6.531 kB / 449.3 MB, free: 52.03 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002499/0.1738, allocations: 238.8 kB / 449.5 MB, free: 51.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=36): time 2.063e-06/0.1738, allocations: 0 / 449.5 MB, free: 51.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.001518/0.1754, allocations: 0.8032 MB / 450.3 MB, free: 51.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.1754, allocations: 139 kB / 450.5 MB, free: 51.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002465/0.1756, allocations: 412.6 kB / 450.9 MB, free: 51.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.1757, allocations: 29.7 kB / 450.9 MB, free: 51.26 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.1758, allocations: 318 kB / 451.2 MB, free: 51.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.835e-05/0.1758, allocations: 128.9 kB / 451.3 MB, free: 50.92 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.337e-05/0.1759, allocations: 80.89 kB / 451.4 MB, free: 50.87 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.759e-05/0.1759, allocations: 353.9 kB / 451.8 MB, free: 50.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.1761, allocations: 131.5 kB / 451.9 MB, free: 50.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001749/0.1763, allocations: 258.2 kB / 452.2 MB, free: 50.31 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007549/0.177, allocations: 0.6526 MB / 452.8 MB, free: 49.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.177, allocations: 8.375 kB / 452.8 MB, free: 49.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005201/0.1776, allocations: 0.5108 MB / 453.3 MB, free: 49.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.1776, allocations: 8.094 kB / 453.3 MB, free: 49.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.1776, allocations: 6.531 kB / 453.3 MB, free: 49.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002498/0.1778, allocations: 152.1 kB / 453.5 MB, free: 49.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/0.178, allocations: 82.31 kB / 453.6 MB, free: 49.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001602/0.1796, allocations: 2.135 MB / 455.7 MB, free: 47.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/0.1798, allocations: 58.48 kB / 455.8 MB, free: 47.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/0.1798, allocations: 19.75 kB / 455.8 MB, free: 47.92 MB / 410.7 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.0001778/0.18, allocations: 246.7 kB / 456 MB, free: 47.74 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.199e-05/0.18, allocations: 45.69 kB / 456.1 MB, free: 47.72 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006135/0.1806, allocations: 488.5 kB / 456.5 MB, free: 47.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1806, allocations: 3.375 kB / 456.5 MB, free: 47.52 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.1806, allocations: 0 / 456.5 MB, free: 47.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.331e-06/0.1806, allocations: 6.797 kB / 456.6 MB, free: 47.52 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004235/0.181, allocations: 0.6046 MB / 457.2 MB, free: 47.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.181, allocations: 0 / 457.2 MB, free: 47.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001256/0.1812, allocations: 50.14 kB / 457.2 MB, free: 47.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002062/0.1814, allocations: 147 kB / 457.4 MB, free: 47.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.942e-05/0.1814, allocations: 11 kB / 457.4 MB, free: 47.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001381/0.1828, allocations: 2.122 MB / 459.5 MB, free: 45.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1828, allocations: 7 kB / 459.5 MB, free: 45.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007607/0.1835, allocations: 0.6896 MB / 460.2 MB, free: 44.99 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.299e-05/0.1836, allocations: 83.3 kB / 460.3 MB, free: 44.94 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.725e-05/0.1837, allocations: 10.92 kB / 460.3 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.1838, allocations: 19.92 kB / 460.3 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.302e-05/0.1838, allocations: 37.97 kB / 460.3 MB, free: 44.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.1839, allocations: 10.44 kB / 460.3 MB, free: 44.92 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001579/0.184, allocations: 276.8 kB / 460.6 MB, free: 44.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.184, allocations: 0 / 460.6 MB, free: 44.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003833/0.1844, allocations: 177.6 kB / 460.8 MB, free: 44.73 MB / 410.7 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.0009168/0.1853, allocations: 1.229 MB / 462 MB, free: 43.88 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005758/0.1859, allocations: 0.4907 MB / 462.5 MB, free: 43.63 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1859, allocations: 0 / 462.5 MB, free: 43.63 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002619/0.1862, allocations: 315.7 kB / 462.8 MB, free: 43.45 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004151/0.1866, allocations: 160.1 kB / 463 MB, free: 43.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00376/0.1903, allocations: 4.493 MB / 467.5 MB, free: 40.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002025/0.1905, allocations: 332.8 kB / 467.8 MB, free: 40.62 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002119/0.1907, allocations: 83.5 kB / 467.9 MB, free: 40.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.1909, allocations: 192.3 kB / 468.1 MB, free: 40.46 MB / 410.7 MB Notification: Performance of SimCode: time 9.41e-07/0.1909, allocations: 0 / 468.1 MB, free: 40.46 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02788/0.2188, allocations: 14.19 MB / 482.2 MB, free: 38.35 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.788/8.007, allocations: 8.969 kB / 482.3 MB, free: 38.35 MB / 410.7 MB " [Timeout remaining time 652] (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: 9.81166108790785] Failed to read output from testmodel.py, exit status != 0: 8.103223132900894 8.115670381 8.096597465 Calling exit ...