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.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.0008077/0.0008077, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0009712/0.0009712, allocations: 170 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.8775/0.8775, allocations: 177.1 MB / 204.3 MB, free: 5.707 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.217/0.217, allocations: 29.4 MB / 290.1 MB, free: 2.449 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.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 1.693e-06/1.693e-06, allocations: 0 / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.07e-05/2.239e-05, allocations: 3.547 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter): time 0.005333/0.005355, allocations: 6.167 MB / 436.4 MB, free: 7.391 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002068/0.007423, allocations: 1.297 MB / 437.7 MB, free: 6.09 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003761/0.0078, allocations: 35.69 kB / 437.7 MB, free: 6.055 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003137/0.008113, allocations: 134.8 kB / 437.8 MB, free: 5.922 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001021/0.009135, allocations: 437.4 kB / 438.3 MB, free: 5.492 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005724/0.009707, allocations: 255.4 kB / 438.5 MB, free: 5.242 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001251/0.01096, allocations: 1.129 MB / 439.7 MB, free: 4.109 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003404/0.0113, allocations: 258.1 kB / 439.9 MB, free: 3.848 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009306/0.01223, allocations: 0.6621 MB / 440.6 MB, free: 3.184 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00064/0.01287, allocations: 0.4948 MB / 441.1 MB, free: 2.688 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.271e-05/0.01295, allocations: 64 kB / 441.1 MB, free: 2.625 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.838e-05/0.01305, allocations: 64 kB / 441.2 MB, free: 2.562 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002308/0.01328, allocations: 355.1 kB / 441.5 MB, free: 2.215 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00023/0.01351, allocations: 279.3 kB / 441.8 MB, free: 1.941 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007986/0.01431, allocations: 0.9191 MB / 442.7 MB, free: 1.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.01431, allocations: 4 kB / 442.7 MB, free: 1.016 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.522e-06/0.01431, allocations: 0 / 442.7 MB, free: 1.016 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.734e-05/0.01433, allocations: 3.938 kB / 442.7 MB, free: 1.012 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.156/0.1703, allocations: 1.076 MB / 443.8 MB, free: 54.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.1704, allocations: 13.67 kB / 443.8 MB, free: 54.84 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000131/0.1705, allocations: 112.7 kB / 443.9 MB, free: 54.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000117/0.1706, allocations: 91.08 kB / 444 MB, free: 54.76 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000704/0.1713, allocations: 0.542 MB / 444.6 MB, free: 54.58 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.571e-05/0.1714, allocations: 221.4 kB / 444.8 MB, free: 54.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.884e-05/0.1715, allocations: 64.5 kB / 444.8 MB, free: 54.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008447/0.1723, allocations: 0.8658 MB / 445.7 MB, free: 54.04 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.1723, allocations: 6.25 kB / 445.7 MB, free: 54.04 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.671e-05/0.1724, allocations: 29.47 kB / 445.7 MB, free: 54.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.663e-05/0.1725, allocations: 44.25 kB / 445.8 MB, free: 54.01 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000641/0.1731, allocations: 0.6183 MB / 446.4 MB, free: 53.82 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001875/0.175, allocations: 2.534 MB / 448.9 MB, free: 52.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007848/0.1758, allocations: 0.5592 MB / 449.5 MB, free: 52.01 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003663/0.1761, allocations: 306.4 kB / 449.8 MB, free: 51.92 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.1762, allocations: 3.484 kB / 449.8 MB, free: 51.92 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003789/0.1765, allocations: 355.9 kB / 450.1 MB, free: 51.77 MB / 410.7 MB Notification: Performance of pre-optimization done (n=41): time 2.645e-06/0.1765, allocations: 2.906 kB / 450.2 MB, free: 51.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=42): time 0.002108/0.1787, allocations: 1.677 MB / 451.8 MB, free: 51 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.1787, allocations: 118.1 kB / 451.9 MB, free: 50.87 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003227/0.179, allocations: 0.5231 MB / 452.5 MB, free: 50.63 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.179, allocations: 36.98 kB / 452.5 MB, free: 50.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.1792, allocations: 368.4 kB / 452.9 MB, free: 50.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.749e-05/0.1792, allocations: 151.2 kB / 453 MB, free: 50.19 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.1793, allocations: 113.8 kB / 453.1 MB, free: 50.13 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.203e-05/0.1794, allocations: 372.6 kB / 453.5 MB, free: 49.79 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002018/0.1796, allocations: 261 kB / 453.7 MB, free: 49.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002127/0.1798, allocations: 433.3 kB / 454.2 MB, free: 49.38 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000397/0.1802, allocations: 0.6102 MB / 454.8 MB, free: 48.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.1802, allocations: 2.906 kB / 454.8 MB, free: 48.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0006351/0.1808, allocations: 0.8398 MB / 455.6 MB, free: 48.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.525e-05/0.1809, allocations: 55.11 kB / 455.7 MB, free: 48.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.1809, allocations: 7.156 kB / 455.7 MB, free: 48.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001777/0.181, allocations: 97.14 kB / 455.8 MB, free: 48.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001918/0.1812, allocations: 107.8 kB / 455.9 MB, free: 48.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001107/0.1823, allocations: 3.029 MB / 458.9 MB, free: 45.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/0.1825, allocations: 30.58 kB / 458.9 MB, free: 45.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.383e-05/0.1826, allocations: 42.16 kB / 459 MB, free: 45.68 MB / 410.7 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.0001842/0.1828, allocations: 279.9 kB / 459.3 MB, free: 45.49 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.8e-05/0.1828, allocations: 58.72 kB / 459.3 MB, free: 45.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007036/0.1835, allocations: 0.6257 MB / 459.9 MB, free: 45.22 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.1835, allocations: 3.188 kB / 459.9 MB, free: 45.22 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.1835, allocations: 3.281 kB / 459.9 MB, free: 45.22 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.1835, allocations: 3.469 kB / 459.9 MB, free: 45.22 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/0.1847, allocations: 1.37 MB / 461.3 MB, free: 44.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.1847, allocations: 4.062 kB / 461.3 MB, free: 44.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001384/0.1848, allocations: 67.73 kB / 461.4 MB, free: 44.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001418/0.1849, allocations: 93.2 kB / 461.5 MB, free: 44.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.295e-05/0.185, allocations: 20.84 kB / 461.5 MB, free: 44.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009341/0.1859, allocations: 3.029 MB / 464.5 MB, free: 41.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.1859, allocations: 0 / 464.5 MB, free: 41.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009335/0.1868, allocations: 1.006 MB / 465.5 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.1869, allocations: 92.7 kB / 465.6 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.118e-05/0.187, allocations: 41.22 kB / 465.7 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001756/0.1872, allocations: 36.97 kB / 465.7 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.393e-05/0.1872, allocations: 34.23 kB / 465.7 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.1872, allocations: 16.97 kB / 465.7 MB, free: 41.14 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001962/0.1874, allocations: 354.1 kB / 466.1 MB, free: 40.98 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1874, allocations: 4 kB / 466.1 MB, free: 40.98 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003817/0.1878, allocations: 151.3 kB / 466.2 MB, free: 40.96 MB / 410.7 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.001072/0.1889, allocations: 1.547 MB / 467.8 MB, free: 39.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007596/0.1896, allocations: 0.8852 MB / 468.7 MB, free: 39.49 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.1896, allocations: 7.094 kB / 468.7 MB, free: 39.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003781/0.19, allocations: 485.7 kB / 469.2 MB, free: 39.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004557/0.1905, allocations: 154.7 kB / 469.3 MB, free: 39.15 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004144/0.1946, allocations: 5.98 MB / 475.3 MB, free: 35.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000209/0.1948, allocations: 373.7 kB / 475.7 MB, free: 35.62 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001924/0.195, allocations: 107.2 kB / 475.8 MB, free: 35.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000165/0.1952, allocations: 226.5 kB / 476 MB, free: 35.44 MB / 410.7 MB Notification: Performance of SimCode: time 8.61e-07/0.1952, allocations: 0 / 476 MB, free: 35.44 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02729/0.2225, allocations: 14.55 MB / 490.5 MB, free: 33.44 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.032/7.254, allocations: 5.344 kB / 490.5 MB, free: 33.44 MB / 410.7 MB " [Timeout remaining time 653] (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: 9.100402380339801] Failed to read output from testmodel.py, exit status != 0: 7.344317848794162 7.351324683 7.335273797 Calling exit ...