Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.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.001379/0.001379, allocations: 124.8 kB / 17.79 MB, free: 5.266 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.001457/0.001457, allocations: 186.9 kB / 20.73 MB, free: 2.332 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.411/1.411, allocations: 225.6 MB / 249.1 MB, free: 3.602 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.1911/0.1911, 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.Elementary.Inverter,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Inverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Inverter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003241/0.003241, allocations: 60.19 kB / 478.6 MB, free: 33.87 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1206, allocations: 61.26 MB / 0.5272 GB, free: 1.461 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter): time 0.009123/0.1297, allocations: 6.565 MB / 0.5336 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002638/0.1324, allocations: 1.313 MB / 0.5349 GB, free: 9.551 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003383/0.1327, allocations: 23.88 kB / 0.5349 GB, free: 9.527 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000358/0.1331, allocations: 138.8 kB / 0.5351 GB, free: 9.391 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001048/0.1341, allocations: 433.9 kB / 0.5355 GB, free: 8.965 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005158/0.1346, allocations: 227.6 kB / 0.5357 GB, free: 8.742 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001336/0.136, allocations: 1.122 MB / 0.5368 GB, free: 7.617 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004719/0.1364, allocations: 313.8 kB / 0.5371 GB, free: 7.305 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007846/0.1372, allocations: 0.4981 MB / 0.5376 GB, free: 6.805 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009026/0.1381, allocations: 0.5606 MB / 0.5381 GB, free: 6.242 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001304/0.1382, allocations: 64 kB / 0.5382 GB, free: 6.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001515/0.1384, allocations: 68 kB / 0.5383 GB, free: 6.113 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004005/0.1388, allocations: 343 kB / 0.5386 GB, free: 5.777 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000463/0.1393, allocations: 398.1 kB / 0.539 GB, free: 5.387 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001143/0.1404, allocations: 0.9221 MB / 0.5399 GB, free: 4.461 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.1404, allocations: 0 / 0.5399 GB, free: 4.461 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1404, allocations: 0 / 0.5399 GB, free: 4.461 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.152e-05/0.1404, allocations: 0 / 0.5399 GB, free: 4.461 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.002453/0.1429, allocations: 1.171 MB / 0.541 GB, free: 3.223 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.1429, allocations: 15.89 kB / 0.541 GB, free: 3.207 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001423/0.1431, allocations: 110.7 kB / 0.5411 GB, free: 3.09 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001647/0.1432, allocations: 88.42 kB / 0.5412 GB, free: 3.004 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001204/0.1444, allocations: 0.6161 MB / 0.5418 GB, free: 2.348 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000139/0.1446, allocations: 124.6 kB / 0.5419 GB, free: 2.215 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/0.1447, allocations: 60 kB / 0.542 GB, free: 2.156 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001611/0.1463, allocations: 0.8614 MB / 0.5428 GB, free: 1.254 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.1463, allocations: 3.938 kB / 0.5428 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.485e-05/0.1464, allocations: 27.98 kB / 0.5429 GB, free: 1.223 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001231/0.1465, allocations: 37.3 kB / 0.5429 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001253/0.1478, allocations: 0.6218 MB / 0.5435 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004372/0.1521, allocations: 2.747 MB / 0.5462 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001762/0.1539, allocations: 0.872 MB / 0.547 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007419/0.1546, allocations: 294.2 kB / 0.5473 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.776e-05/0.1547, allocations: 8.266 kB / 0.5473 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007674/0.1554, allocations: 358.7 kB / 0.5477 GB, free: 12.08 MB / 414.1 MB Notification: Performance of pre-optimization done (n=41): time 2.755e-06/0.1554, allocations: 0 / 0.5477 GB, free: 12.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=42): time 0.004787/0.1602, allocations: 1.989 MB / 0.5496 GB, free: 9.973 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.1603, allocations: 122.7 kB / 0.5497 GB, free: 9.828 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007431/0.1611, allocations: 0.5027 MB / 0.5502 GB, free: 9.316 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.101e-05/0.1611, allocations: 45.69 kB / 0.5503 GB, free: 9.266 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003251/0.1615, allocations: 360.6 kB / 0.5506 GB, free: 8.906 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001496/0.1616, allocations: 150.8 kB / 0.5508 GB, free: 8.758 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000209/0.1618, allocations: 126.1 kB / 0.5509 GB, free: 8.629 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001907/0.162, allocations: 366.8 kB / 0.5512 GB, free: 8.262 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003782/0.1624, allocations: 225.1 kB / 0.5514 GB, free: 8.043 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005884/0.163, allocations: 394.1 kB / 0.5518 GB, free: 7.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009125/0.1639, allocations: 0.6172 MB / 0.5524 GB, free: 6.895 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.1639, allocations: 4 kB / 0.5524 GB, free: 6.891 MB / 414.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001535/0.1654, allocations: 0.8983 MB / 0.5533 GB, free: 5.953 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.87e-05/0.1655, allocations: 57.62 kB / 0.5533 GB, free: 5.891 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.1655, allocations: 7.984 kB / 0.5534 GB, free: 5.883 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003164/0.1658, allocations: 85.66 kB / 0.5534 GB, free: 5.793 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004057/0.1662, allocations: 103.8 kB / 0.5535 GB, free: 5.691 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003195/0.1694, allocations: 3.259 MB / 0.5567 GB, free: 2.152 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004615/0.1699, allocations: 35.97 kB / 0.5568 GB, free: 2.117 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.293e-05/0.17, allocations: 39.92 kB / 0.5568 GB, free: 2.078 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 14 (system.initime,dc_ac.modulator.t0,$PRE.dc_ac.modulator.t0,dc_ac.modulator.sigdel_t,$PRE.dc_ac.modulator.sigdel_t,dc_ac.modulator.gates[4],$PRE.dc_ac.modulator.gates[4],dc_ac.modulator.gates[3],$PRE.dc_ac.modulator.gates[3],dc_ac.modulator.gates[2],$PRE.dc_ac.modulator.gates[2],dc_ac.modulator.gates[1],$PRE.dc_ac.modulator.gates[1],$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004493/0.1704, allocations: 277.7 kB / 0.5571 GB, free: 1.797 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.1705, allocations: 63.62 kB / 0.5571 GB, free: 1.734 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001702/0.1722, allocations: 0.7003 MB / 0.5578 GB, free: 1.004 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.315e-06/0.1722, allocations: 4 kB / 0.5578 GB, free: 1 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1722, allocations: 0 / 0.5578 GB, free: 1 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.1723, allocations: 7.984 kB / 0.5578 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00294/0.1752, allocations: 1.536 MB / 0.5593 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.1752, allocations: 0 / 0.5593 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003274/0.1755, allocations: 63.91 kB / 0.5594 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003402/0.1759, allocations: 93.69 kB / 0.5595 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.677e-05/0.1759, allocations: 15.98 kB / 0.5595 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003175/0.1791, allocations: 3.255 MB / 0.5627 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.1791, allocations: 3.984 kB / 0.5627 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002175/0.1813, allocations: 1.065 MB / 0.5637 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003263/0.1816, allocations: 180.7 kB / 0.5639 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/0.1817, allocations: 27.98 kB / 0.5639 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003825/0.1821, allocations: 35.95 kB / 0.5639 GB, free: 10.28 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.287e-05/0.1822, allocations: 39.83 kB / 0.564 GB, free: 10.24 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-05/0.1822, allocations: 15.98 kB / 0.564 GB, free: 10.23 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004553/0.1827, allocations: 362.8 kB / 0.5643 GB, free: 9.875 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1827, allocations: 0 / 0.5643 GB, free: 9.875 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006903/0.1834, allocations: 144 kB / 0.5645 GB, free: 9.734 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,meterDC.pav) * Number of discrete variables: 8 ($whenCondition1,dc_ac.modulator.gates[1],dc_ac.modulator.gates[2],dc_ac.modulator.gates[3],dc_ac.modulator.gates[4],dc_ac.modulator.sigdel_t,dc_ac.modulator.t0,system.initime) * Number of discrete states: 6 (dc_ac.modulator.t0,dc_ac.modulator.sigdel_t,dc_ac.modulator.gates[3],dc_ac.modulator.gates[4],dc_ac.modulator.gates[1],dc_ac.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002532/0.1859, allocations: 1.649 MB / 0.5661 GB, free: 8.031 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001647/0.1875, allocations: 0.8512 MB / 0.5669 GB, free: 7.141 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.1875, allocations: 0 / 0.5669 GB, free: 7.141 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009851/0.1885, allocations: 497.7 kB / 0.5674 GB, free: 6.629 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009211/0.1894, allocations: 144.5 kB / 0.5675 GB, free: 6.492 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00967/0.1991, allocations: 6.098 MB / 0.5735 GB, free: 92 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007793/0.1999, allocations: 0.9721 MB / 0.5744 GB, free: 15.09 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000383/0.2003, allocations: 104.9 kB / 0.5745 GB, free: 14.99 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003348/0.2006, allocations: 235.3 kB / 0.5748 GB, free: 14.76 MB / 446.1 MB Notification: Performance of SimCode: time 6.72e-07/0.2006, allocations: 0 / 0.5748 GB, free: 14.76 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05007/0.2507, allocations: 13.32 MB / 0.5878 GB, free: 1.609 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.3, allocations: 8.047 kB / 0.5878 GB, free: 1.602 MB / 446.1 MB " [Timeout remaining time 649] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Inverter_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Inverter.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.06785614322871] Failed to read output from testmodel.py, exit status != 0: 11.391452715732157 11.405690334 11.262030496 Calling exit ...