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.0007458/0.0007458, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.002923/0.002923, allocations: 160.4 kB / 24.7 MB, free: 9.43 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.8574/0.8574, allocations: 177.1 MB / 205 MB, free: 5.738 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.2169/0.2169, allocations: 29.4 MB / 290.8 MB, free: 2.414 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: translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 431.5 MB, free: 13.07 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2e-05/2.199e-05, allocations: 6.219 kB / 431.5 MB, free: 13.07 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad): time 0.005207/0.005229, allocations: 6.189 MB / 437.7 MB, free: 6.844 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003467/0.008696, allocations: 2.348 MB / 440 MB, free: 4.488 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004167/0.009113, allocations: 31.75 kB / 440 MB, free: 4.457 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008771/0.00999, allocations: 417.7 kB / 440.5 MB, free: 4.047 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001053/0.01104, allocations: 0.6139 MB / 441.1 MB, free: 3.43 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009706/0.01201, allocations: 0.5261 MB / 441.6 MB, free: 2.902 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001545/0.01356, allocations: 1.96 MB / 443.6 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007599/0.01432, allocations: 0.5605 MB / 444.1 MB, free: 372 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1636/0.1779, allocations: 1.049 MB / 445.2 MB, free: 44.75 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009623/0.1789, allocations: 0.9519 MB / 446.1 MB, free: 44.75 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000132/0.179, allocations: 160.5 kB / 446.3 MB, free: 44.75 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006805/0.1797, allocations: 0.6534 MB / 446.9 MB, free: 44.75 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003504/0.18, allocations: 0.6701 MB / 447.6 MB, free: 44.75 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003326/0.1804, allocations: 0.5029 MB / 448.1 MB, free: 44.75 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001302/0.1817, allocations: 2.213 MB / 450.3 MB, free: 44.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.1817, allocations: 4.344 kB / 450.3 MB, free: 44.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1817, allocations: 2.438 kB / 450.3 MB, free: 44.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.1817, allocations: 0 / 450.3 MB, free: 44.7 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.002303/0.184, allocations: 1.851 MB / 452.2 MB, free: 43.93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.184, allocations: 13.36 kB / 452.2 MB, free: 43.92 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004834/0.1845, allocations: 208.6 kB / 452.4 MB, free: 43.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001131/0.1856, allocations: 0.9071 MB / 453.3 MB, free: 43.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003293/0.186, allocations: 1.114 MB / 454.4 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001723/0.1861, allocations: 101.6 kB / 454.5 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002017/0.1881, allocations: 2.021 MB / 456.5 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/0.1882, allocations: 7.219 kB / 456.5 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.117e-05/0.1882, allocations: 30.62 kB / 456.6 MB, free: 42.19 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001076/0.1884, allocations: 88.38 kB / 456.7 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002439/0.1908, allocations: 2.241 MB / 458.9 MB, free: 41.54 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004686/0.1955, allocations: 5.177 MB / 464.1 MB, free: 38.96 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002305/0.1978, allocations: 1.609 MB / 465.7 MB, free: 38.51 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001277/0.1991, allocations: 1.066 MB / 466.7 MB, free: 38.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.89e-05/0.1991, allocations: 14.09 kB / 466.8 MB, free: 38.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001537/0.2007, allocations: 1.39 MB / 468.1 MB, free: 37.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=123): time 4.519e-06/0.2007, allocations: 0 / 468.1 MB, free: 37.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=124): time 0.006803/0.2075, allocations: 5.554 MB / 473.7 MB, free: 35.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.2075, allocations: 103.6 kB / 473.8 MB, free: 35.74 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000281/0.2078, allocations: 445 kB / 474.2 MB, free: 35.53 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.353e-05/0.2079, allocations: 57.31 kB / 474.3 MB, free: 35.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.208, allocations: 373.4 kB / 474.7 MB, free: 35.19 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001678/0.2082, allocations: 431.8 kB / 475.1 MB, free: 34.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002305/0.2084, allocations: 224.3 kB / 475.3 MB, free: 34.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.339e-05/0.2085, allocations: 396 kB / 475.7 MB, free: 34.42 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001073/0.2095, allocations: 1.072 MB / 476.8 MB, free: 34.06 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001348/0.2109, allocations: 1.227 MB / 478 MB, free: 33.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002381/0.2133, allocations: 2.04 MB / 480 MB, free: 32.78 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2133, allocations: 1.469 kB / 480 MB, free: 32.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.006063/0.2193, allocations: 3.926 MB / 484 MB, free: 31.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.444e-05/0.2194, allocations: 61.05 kB / 484 MB, free: 31.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.2194, allocations: 12.09 kB / 484 MB, free: 31.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003399/0.2228, allocations: 2.067 MB / 486.1 MB, free: 31.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004645/0.2233, allocations: 193 kB / 486.3 MB, free: 31.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01525/0.2385, allocations: 11.06 MB / 497.3 MB, free: 27.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008871/0.2394, allocations: 162 kB / 497.5 MB, free: 27.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/0.2395, allocations: 75.83 kB / 497.6 MB, free: 27.32 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.0005411/0.2401, allocations: 378.9 kB / 497.9 MB, free: 27.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001487/0.2402, allocations: 82.66 kB / 498 MB, free: 27.06 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002992/0.2432, allocations: 2.349 MB / 0.4886 GB, free: 26.31 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-05/0.2432, allocations: 34.58 kB / 0.4887 GB, free: 26.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.2432, allocations: 4.875 kB / 0.4887 GB, free: 26.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.2432, allocations: 7.203 kB / 0.4887 GB, free: 26.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004095/0.2473, allocations: 3.765 MB / 0.4924 GB, free: 24.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.2473, allocations: 2 kB / 0.4924 GB, free: 24.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004879/0.2522, allocations: 2.015 MB / 0.4943 GB, free: 22.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.296e-06/0.2522, allocations: 8.938 kB / 0.4943 GB, free: 22.69 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.918e-05/0.2523, allocations: 35.97 kB / 0.4944 GB, free: 22.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.2523, allocations: 4 kB / 0.4944 GB, free: 22.65 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.2523, allocations: 11.66 kB / 0.4944 GB, free: 22.64 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003918/0.2562, allocations: 3.866 MB / 0.4982 GB, free: 18.73 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000341/0.2566, allocations: 262.5 kB / 0.4984 GB, free: 18.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/0.2567, allocations: 87.94 kB / 0.4985 GB, free: 18.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005859/0.2573, allocations: 183.7 kB / 0.4987 GB, free: 18.21 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002206/0.2575, allocations: 196.8 kB / 0.4989 GB, free: 18.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-05/0.2576, allocations: 47.53 kB / 0.4989 GB, free: 17.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001762/0.2577, allocations: 299.1 kB / 0.4992 GB, free: 17.69 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2577, allocations: 4 kB / 0.4992 GB, free: 17.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007189/0.2585, allocations: 358.8 kB / 0.4995 GB, free: 17.34 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.0002688/0.2587, allocations: 221.5 kB / 0.4998 GB, free: 17.13 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00319/0.2619, allocations: 2.828 MB / 0.5025 GB, free: 14.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.2619, allocations: 4.25 kB / 0.5025 GB, free: 14.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00274/0.2647, allocations: 1.809 MB / 0.5043 GB, free: 12.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005577/0.2652, allocations: 151.3 kB / 0.5044 GB, free: 12.37 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003659/0.2689, allocations: 3.234 MB / 0.5076 GB, free: 9.105 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003127/0.2692, allocations: 0.5372 MB / 0.5081 GB, free: 8.535 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003045/0.2695, allocations: 76.48 kB / 0.5082 GB, free: 8.461 MB / 410.7 MB Notification: Performance of SimCode: time 1.202e-06/0.2695, allocations: 4 kB / 0.5082 GB, free: 8.457 MB / 410.7 MB Notification: Performance of Templates: time 0.01453/0.284, allocations: 19.31 MB / 0.527 GB, free: 5.207 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.makefile [Timeout 660] (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 & ./PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.028757931664586] Failed to read output from testmodel.py, exit status != 0: 0.2894908422604203 0.297933206 0.114290683 Calling exit ...