Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.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.0007905/0.0007905, 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.0008806/0.0008806, 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.8496/0.8496, allocations: 177.1 MB / 204.3 MB, free: 5.715 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.2212/0.2212, 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.InverterToLoad,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_InverterToLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_InverterToLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.18e-05/1.33e-05, allocations: 2.281 kB / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad): time 0.004903/0.004916, allocations: 5.712 MB / 435.9 MB, free: 7.859 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002125/0.007042, allocations: 1.523 MB / 437.4 MB, free: 6.332 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003484/0.00739, allocations: 35.69 kB / 437.5 MB, free: 6.297 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004596/0.00785, allocations: 142.8 kB / 437.6 MB, free: 6.156 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006929/0.008543, allocations: 377.7 kB / 438 MB, free: 5.785 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005453/0.009088, allocations: 327.4 kB / 438.3 MB, free: 5.465 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001347/0.01043, allocations: 1.352 MB / 439.7 MB, free: 4.109 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003096/0.01074, allocations: 229.2 kB / 439.9 MB, free: 3.879 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009167/0.01166, allocations: 0.7287 MB / 440.6 MB, free: 3.148 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006046/0.01227, allocations: 0.5144 MB / 441.1 MB, free: 2.633 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.535e-05/0.01236, allocations: 92 kB / 441.2 MB, free: 2.543 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.01247, allocations: 92 kB / 441.3 MB, free: 2.453 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002346/0.0127, allocations: 375 kB / 441.7 MB, free: 2.086 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002304/0.01293, allocations: 299.4 kB / 442 MB, free: 1.793 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008283/0.01376, allocations: 1.114 MB / 443.1 MB, free: 0.6758 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.01376, allocations: 0 / 443.1 MB, free: 0.6758 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.01376, allocations: 0 / 443.1 MB, free: 0.6758 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.669e-05/0.01378, allocations: 4 kB / 443.1 MB, free: 0.6719 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.1643/0.1781, allocations: 1.129 MB / 444.2 MB, free: 54.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.1782, allocations: 13.8 kB / 444.2 MB, free: 54.7 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.343e-05/0.1782, allocations: 108.2 kB / 444.3 MB, free: 54.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.1783, allocations: 86.28 kB / 444.4 MB, free: 54.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007713/0.1791, allocations: 0.5871 MB / 445 MB, free: 54.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002452/0.1794, allocations: 0.7424 MB / 445.7 MB, free: 53.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.246e-05/0.1794, allocations: 60.83 kB / 445.8 MB, free: 53.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/0.1805, allocations: 1.041 MB / 446.8 MB, free: 53.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.1806, allocations: 2.125 kB / 446.8 MB, free: 53.21 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.33e-05/0.1806, allocations: 26.22 kB / 446.9 MB, free: 53.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.1806, allocations: 18.91 kB / 446.9 MB, free: 53.19 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00129/0.1819, allocations: 1.086 MB / 448 MB, free: 52.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002343/0.1842, allocations: 2.964 MB / 450.9 MB, free: 51.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/0.1853, allocations: 0.7258 MB / 451.7 MB, free: 50.88 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006975/0.186, allocations: 0.5231 MB / 452.2 MB, free: 50.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.628e-05/0.186, allocations: 3.75 kB / 452.2 MB, free: 50.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007255/0.1867, allocations: 0.6192 MB / 452.8 MB, free: 50.49 MB / 410.7 MB Notification: Performance of pre-optimization done (n=49): time 1.834e-06/0.1867, allocations: 0 / 452.8 MB, free: 50.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=49): time 0.002125/0.1889, allocations: 1.415 MB / 454.2 MB, free: 50.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.1889, allocations: 152.2 kB / 454.4 MB, free: 49.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002086/0.1891, allocations: 391.3 kB / 454.8 MB, free: 49.71 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.708e-05/0.1892, allocations: 40.27 kB / 454.8 MB, free: 49.67 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.554e-05/0.1893, allocations: 301.8 kB / 455.1 MB, free: 49.45 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.015e-05/0.1893, allocations: 168.7 kB / 455.3 MB, free: 49.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.1894, allocations: 123 kB / 455.4 MB, free: 49.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.444e-05/0.1895, allocations: 360.6 kB / 455.7 MB, free: 48.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000524/0.19, allocations: 486.6 kB / 456.2 MB, free: 48.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005287/0.1905, allocations: 0.5851 MB / 456.8 MB, free: 48.46 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009462/0.1915, allocations: 0.8901 MB / 457.7 MB, free: 48.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.1915, allocations: 0 / 457.7 MB, free: 48.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001203/0.1927, allocations: 1.141 MB / 458.8 MB, free: 47.63 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.308e-05/0.1927, allocations: 55.83 kB / 458.9 MB, free: 47.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.1927, allocations: 3.312 kB / 458.9 MB, free: 47.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001122/0.1928, allocations: 26.03 kB / 458.9 MB, free: 47.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00253/0.1954, allocations: 1.11 MB / 460 MB, free: 47.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003859/0.1992, allocations: 5.732 MB / 465.7 MB, free: 43.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000293/0.1995, allocations: 116 kB / 465.9 MB, free: 43.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-05/0.1996, allocations: 41.45 kB / 465.9 MB, free: 43.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 14 (inverter.modulator.t0,$PRE.inverter.modulator.t0,inverter.modulator.sigdel_t,$PRE.inverter.modulator.sigdel_t,inverter.modulator.gates[4],$PRE.inverter.modulator.gates[4],inverter.modulator.gates[3],$PRE.inverter.modulator.gates[3],inverter.modulator.gates[2],$PRE.inverter.modulator.gates[2],inverter.modulator.gates[1],$PRE.inverter.modulator.gates[1],system.initime,$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): 62 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001877/0.1998, allocations: 255.4 kB / 466.1 MB, free: 43.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.536e-05/0.1998, allocations: 49.59 kB / 466.2 MB, free: 42.99 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001312/0.2011, allocations: 1.006 MB / 467.2 MB, free: 42.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.2011, allocations: 6.438 kB / 467.2 MB, free: 42.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.2011, allocations: 5.438 kB / 467.2 MB, free: 42.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.2011, allocations: 6.594 kB / 467.2 MB, free: 42.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001987/0.2031, allocations: 2.005 MB / 469.2 MB, free: 41.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.2031, allocations: 6.844 kB / 469.2 MB, free: 41.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003147/0.2063, allocations: 1.277 MB / 470.5 MB, free: 41.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.043e-05/0.2063, allocations: 25.55 kB / 470.5 MB, free: 41.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.373e-05/0.2064, allocations: 14.72 kB / 470.5 MB, free: 41.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000361/0.2067, allocations: 1.282 MB / 471.8 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.2067, allocations: 9.75 kB / 471.8 MB, free: 40.37 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002002/0.2087, allocations: 1.728 MB / 473.6 MB, free: 39.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001545/0.2089, allocations: 141.4 kB / 473.7 MB, free: 39.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.428e-05/0.2089, allocations: 28.12 kB / 473.7 MB, free: 39.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003096/0.2092, allocations: 92.59 kB / 473.8 MB, free: 39.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001436/0.2094, allocations: 95.27 kB / 473.9 MB, free: 39.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.707e-05/0.2094, allocations: 19.48 kB / 473.9 MB, free: 39.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001553/0.2096, allocations: 267 kB / 474.2 MB, free: 39.47 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2096, allocations: 2.906 kB / 474.2 MB, free: 39.47 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003874/0.21, allocations: 182.6 kB / 474.4 MB, free: 39.43 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (meterDC.pav,meterAC.pav,ind.i) * Number of discrete variables: 8 ($whenCondition1,system.initime,inverter.modulator.gates[1],inverter.modulator.gates[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.sigdel_t,inverter.modulator.t0) * Number of discrete states: 6 (inverter.modulator.t0,inverter.modulator.sigdel_t,inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.gates[1],inverter.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00218/0.2121, allocations: 2.307 MB / 476.7 MB, free: 38.22 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003708/0.2158, allocations: 2.178 MB / 478.9 MB, free: 37.69 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2158, allocations: 4.062 kB / 478.9 MB, free: 37.69 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001755/0.2176, allocations: 1.051 MB / 479.9 MB, free: 37.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004875/0.2181, allocations: 137.9 kB / 480.1 MB, free: 37.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006706/0.2248, allocations: 6.708 MB / 486.8 MB, free: 33.95 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/0.2251, allocations: 337.5 kB / 487.1 MB, free: 33.82 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003437/0.2254, allocations: 156.8 kB / 487.2 MB, free: 33.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002329/0.2257, allocations: 201.4 kB / 487.4 MB, free: 33.65 MB / 410.7 MB Notification: Performance of SimCode: time 8.01e-07/0.2257, allocations: 0 / 487.4 MB, free: 33.65 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02863/0.2543, allocations: 15.28 MB / 0.4909 GB, free: 28.91 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.816/8.07, allocations: 16.34 kB / 0.491 GB, free: 28.89 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_InverterToLoad_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_InverterToLoad.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.893434843048453] Failed to read output from testmodel.py, exit status != 0: 8.163944245316088 8.171571283 8.155780497 Calling exit ...