Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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.0007758/0.0007758, 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.001308/0.001308, 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.8932/0.8932, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.2346/0.2346, 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.AC3ph.Inverters.InverterToLoad,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Inverters_InverterToLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Inverters_InverterToLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.153e-05/1.274e-05, allocations: 4.109 kB / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad): time 0.005603/0.005616, allocations: 6.2 MB / 436.4 MB, free: 7.371 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002926/0.008542, allocations: 2.341 MB / 438.7 MB, free: 5.023 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003174/0.008859, allocations: 39.69 kB / 438.8 MB, free: 4.984 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008556/0.009715, allocations: 420.2 kB / 439.2 MB, free: 4.574 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009424/0.01066, allocations: 0.6255 MB / 439.8 MB, free: 3.945 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007764/0.01143, allocations: 0.5144 MB / 440.3 MB, free: 3.43 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001355/0.01279, allocations: 1.96 MB / 442.3 MB, free: 1.465 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006265/0.01342, allocations: 0.5722 MB / 442.9 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1634/0.1768, allocations: 1.035 MB / 443.9 MB, free: 44.12 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00147/0.1783, allocations: 0.9536 MB / 444.9 MB, free: 44.12 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004284/0.1787, allocations: 161.2 kB / 445 MB, free: 44.12 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009129/0.1796, allocations: 0.6529 MB / 445.7 MB, free: 44.12 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004311/0.1801, allocations: 0.6727 MB / 446.3 MB, free: 44.12 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006015/0.1807, allocations: 0.5031 MB / 446.8 MB, free: 44.12 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001772/0.1824, allocations: 2.217 MB / 449.1 MB, free: 44.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1824, allocations: 0 / 449.1 MB, free: 44.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1825, allocations: 2.438 kB / 449.1 MB, free: 44.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.991e-05/0.1825, allocations: 0 / 449.1 MB, free: 44.07 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003117/0.1856, allocations: 1.846 MB / 450.9 MB, free: 43.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.1856, allocations: 15.27 kB / 450.9 MB, free: 43.31 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000169/0.1858, allocations: 170.3 kB / 451.1 MB, free: 43.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005466/0.1864, allocations: 200.2 kB / 451.3 MB, free: 43.21 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001258/0.1876, allocations: 0.9002 MB / 452.2 MB, free: 42.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000346/0.188, allocations: 1.125 MB / 453.3 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001853/0.1882, allocations: 101.4 kB / 453.4 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002188/0.1903, allocations: 2.018 MB / 455.4 MB, free: 41.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/0.1904, allocations: 3.406 kB / 455.4 MB, free: 41.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.934e-05/0.1905, allocations: 36.78 kB / 455.5 MB, free: 41.66 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001114/0.1906, allocations: 91.52 kB / 455.6 MB, free: 41.65 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002537/0.1931, allocations: 2.233 MB / 457.8 MB, free: 41.01 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005182/0.1983, allocations: 5.332 MB / 463.1 MB, free: 38.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002289/0.2006, allocations: 1.612 MB / 464.7 MB, free: 37.91 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001282/0.2019, allocations: 1.056 MB / 465.8 MB, free: 37.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.89e-05/0.2019, allocations: 17.69 kB / 465.8 MB, free: 37.58 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001479/0.2034, allocations: 1.384 MB / 467.2 MB, free: 37.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=123): time 3.527e-06/0.2034, allocations: 2.906 kB / 467.2 MB, free: 37.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=124): time 0.007039/0.2104, allocations: 5.563 MB / 472.8 MB, free: 35.24 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.2105, allocations: 107.4 kB / 472.9 MB, free: 35.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003607/0.2108, allocations: 0.4958 MB / 473.4 MB, free: 34.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.877e-05/0.2109, allocations: 53.77 kB / 473.4 MB, free: 34.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.2111, allocations: 374.8 kB / 473.8 MB, free: 34.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001713/0.2113, allocations: 431.8 kB / 474.2 MB, free: 34.24 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000239/0.2115, allocations: 223.2 kB / 474.4 MB, free: 34.15 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.638e-05/0.2116, allocations: 396.4 kB / 474.8 MB, free: 33.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00108/0.2126, allocations: 1.071 MB / 475.9 MB, free: 33.44 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00127/0.2139, allocations: 1.232 MB / 477.1 MB, free: 32.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002379/0.2163, allocations: 2.038 MB / 479.1 MB, free: 32.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.2163, allocations: 1.125 kB / 479.1 MB, free: 32.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.006425/0.2227, allocations: 3.929 MB / 483.1 MB, free: 31.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.456e-05/0.2228, allocations: 64.81 kB / 483.1 MB, free: 31.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/0.2228, allocations: 4.5 kB / 483.1 MB, free: 31.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003722/0.2266, allocations: 2.068 MB / 485.2 MB, free: 30.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007577/0.2273, allocations: 191.7 kB / 485.4 MB, free: 30.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01574/0.2431, allocations: 11.1 MB / 496.5 MB, free: 26.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009285/0.244, allocations: 161.5 kB / 496.7 MB, free: 26.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001455/0.2441, allocations: 76.19 kB / 496.7 MB, free: 26.67 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: 28 (inverter.modulator.t0[3],$PRE.inverter.modulator.t0[3],inverter.modulator.t0[2],$PRE.inverter.modulator.t0[2],inverter.modulator.t0[1],$PRE.inverter.modulator.t0[1],inverter.modulator.sigdel_t[3],$PRE.inverter.modulator.sigdel_t[3],inverter.modulator.sigdel_t[2],$PRE.inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[1],$PRE.inverter.modulator.sigdel_t[1],inverter.modulator.gates[6],$PRE.inverter.modulator.gates[6],inverter.modulator.gates[5],$PRE.inverter.modulator.gates[5],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,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 101 * Array equations: 3 * Algorithm blocks: 1 * 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 {(6,21)} Notification: Performance of prepare postOptimizeDAE: time 0.0005613/0.2447, allocations: 379.4 kB / 497.1 MB, free: 26.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/0.2449, allocations: 82.83 kB / 497.2 MB, free: 26.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003047/0.2479, allocations: 2.356 MB / 499.5 MB, free: 25.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.532e-05/0.2479, allocations: 35.86 kB / 499.6 MB, free: 25.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.2479, allocations: 0 / 499.6 MB, free: 25.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.2479, allocations: 8.719 kB / 499.6 MB, free: 25.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004476/0.2524, allocations: 3.897 MB / 0.4917 GB, free: 23.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.2524, allocations: 0 / 0.4917 GB, free: 23.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005107/0.2575, allocations: 2.023 MB / 0.4937 GB, free: 22.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.214e-05/0.2575, allocations: 8 kB / 0.4937 GB, free: 22.24 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001177/0.2577, allocations: 41.06 kB / 0.4937 GB, free: 22.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.843e-06/0.2577, allocations: 4 kB / 0.4937 GB, free: 22.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.2577, allocations: 4 kB / 0.4937 GB, free: 22.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004254/0.2619, allocations: 3.87 MB / 0.4975 GB, free: 18.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004331/0.2624, allocations: 271.3 kB / 0.4977 GB, free: 18.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001414/0.2625, allocations: 79.95 kB / 0.4978 GB, free: 17.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006606/0.2632, allocations: 193.4 kB / 0.498 GB, free: 17.76 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002375/0.2634, allocations: 192.6 kB / 0.4982 GB, free: 17.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.549e-05/0.2635, allocations: 47.95 kB / 0.4982 GB, free: 17.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002444/0.2637, allocations: 346.8 kB / 0.4986 GB, free: 17.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.2637, allocations: 0 / 0.4986 GB, free: 17.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008694/0.2646, allocations: 351.9 kB / 0.4989 GB, free: 16.84 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (meterDC.pav,meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],pqLoad.psi[1],pqLoad.psi[2],pqLoad.psi[3],pqLoad.Z[1],pqLoad.Z[2]) * Number of discrete variables: 16 ($whenCondition3,$whenCondition2,$whenCondition1,system.initime,inverter.modulator.gates[1],inverter.modulator.gates[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.gates[5],inverter.modulator.gates[6],inverter.modulator.sigdel_t[1],inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[3],inverter.modulator.t0[1],inverter.modulator.t0[2],inverter.modulator.t0[3]) * Number of discrete states: 12 (inverter.modulator.t0[3],inverter.modulator.sigdel_t[3],inverter.modulator.gates[5],inverter.modulator.gates[6],inverter.modulator.t0[2],inverter.modulator.sigdel_t[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.t0[1],inverter.modulator.sigdel_t[1],inverter.modulator.gates[1],inverter.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 96 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004607/0.2692, allocations: 4.533 MB / 0.5033 GB, free: 12.28 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003645/0.2728, allocations: 2.834 MB / 0.5061 GB, free: 9.434 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.2728, allocations: 0 / 0.5061 GB, free: 9.434 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002825/0.2757, allocations: 1.862 MB / 0.5079 GB, free: 7.602 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00074/0.2764, allocations: 182.7 kB / 0.5081 GB, free: 7.434 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01965/0.296, allocations: 15.7 MB / 0.5234 GB, free: 7.523 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000447/0.2965, allocations: 0.5446 MB / 0.5239 GB, free: 6.953 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006554/0.2971, allocations: 314.8 kB / 0.5242 GB, free: 6.641 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005037/0.2976, allocations: 348.4 kB / 0.5246 GB, free: 6.301 MB / 426.7 MB Notification: Performance of SimCode: time 1.262e-06/0.2976, allocations: 0 / 0.5246 GB, free: 6.301 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04383/0.3415, allocations: 32.86 MB / 0.5567 GB, free: 5.707 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.125/8.467, allocations: 13.97 kB / 0.5567 GB, free: 5.699 MB / 458.7 MB " [Timeout remaining time 651] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Inverters_InverterToLoad_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 PowerSystems_PowerSystems_Examples_AC3ph_Inverters_InverterToLoad.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.72182310000062] Failed to read output from testmodel.py, exit status != 0: 8.56623150035739 8.575413446 8.390986148 Calling exit ...