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.001684/0.001684, allocations: 84.92 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001985/0.001985, allocations: 165.1 kB / 23.96 MB, free: 4.164 MB / 14.72 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 1.486/1.486, allocations: 177.2 MB / 204.3 MB, free: 9.18 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.1808/0.1808, allocations: 29.44 MB / 290.1 MB, free: 3.277 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.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 2.224e-06/2.224e-06, allocations: 0 / 430.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.958e-05/3.18e-05, allocations: 6.219 kB / 430.7 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad): time 0.009289/0.009321, allocations: 6.196 MB / 436.9 MB, free: 11.7 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005874/0.01519, allocations: 2.341 MB / 439.3 MB, free: 9.352 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004843/0.01568, allocations: 35.69 kB / 439.3 MB, free: 9.316 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001474/0.01715, allocations: 428.8 kB / 439.7 MB, free: 8.898 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001683/0.01884, allocations: 0.6139 MB / 440.3 MB, free: 8.281 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00147/0.02031, allocations: 0.5144 MB / 440.8 MB, free: 7.766 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002588/0.0229, allocations: 1.964 MB / 442.8 MB, free: 5.797 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001087/0.02398, allocations: 0.5528 MB / 443.4 MB, free: 5.23 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00213/0.02611, allocations: 1.048 MB / 444.4 MB, free: 4.18 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001581/0.02769, allocations: 0.9511 MB / 445.4 MB, free: 3.227 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002857/0.02798, allocations: 164 kB / 445.5 MB, free: 3.066 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00128/0.02926, allocations: 0.6552 MB / 446.2 MB, free: 2.41 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007452/0.03, allocations: 0.6821 MB / 446.9 MB, free: 1.727 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007693/0.03077, allocations: 0.4951 MB / 447.3 MB, free: 1.23 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2077/0.2385, allocations: 2.215 MB / 449.6 MB, free: 18.97 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.2385, allocations: 1.219 kB / 449.6 MB, free: 18.97 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.2385, allocations: 3.438 kB / 449.6 MB, free: 18.97 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.88e-05/0.2386, allocations: 0 / 449.6 MB, free: 18.97 MB / 366.1 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.005371/0.244, allocations: 1.85 MB / 451.4 MB, free: 18.25 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.244, allocations: 12.92 kB / 451.4 MB, free: 18.25 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/0.245, allocations: 200.8 kB / 451.6 MB, free: 18.19 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002445/0.2475, allocations: 0.9067 MB / 452.5 MB, free: 17.94 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000965/0.2484, allocations: 1.117 MB / 453.7 MB, free: 16.82 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003471/0.2488, allocations: 99.17 kB / 453.7 MB, free: 16.81 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004437/0.2532, allocations: 2.019 MB / 455.8 MB, free: 16.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.151e-05/0.2532, allocations: 7.406 kB / 455.8 MB, free: 16.65 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001475/0.2534, allocations: 36.98 kB / 455.8 MB, free: 16.65 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002426/0.2536, allocations: 89.8 kB / 455.9 MB, free: 16.65 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005267/0.2589, allocations: 2.238 MB / 458.1 MB, free: 16.63 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009422/0.2683, allocations: 5.187 MB / 463.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004616/0.2729, allocations: 1.609 MB / 464.9 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0025/0.2754, allocations: 1.059 MB / 466 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.752e-05/0.2755, allocations: 19.62 kB / 466 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002882/0.2784, allocations: 1.389 MB / 467.4 MB, free: 13.14 MB / 366.1 MB Notification: Performance of pre-optimization done (n=123): time 3.516e-06/0.2784, allocations: 0 / 467.4 MB, free: 13.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=124): time 0.01355/0.292, allocations: 5.558 MB / 473 MB, free: 11.03 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.292, allocations: 103.6 kB / 473.1 MB, free: 10.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004346/0.2924, allocations: 439.8 kB / 473.5 MB, free: 10.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000128/0.2926, allocations: 60.48 kB / 473.5 MB, free: 10.61 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002274/0.2928, allocations: 378.3 kB / 473.9 MB, free: 10.28 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002558/0.293, allocations: 429.8 kB / 474.3 MB, free: 9.918 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004023/0.2935, allocations: 226.5 kB / 474.6 MB, free: 9.801 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.106e-05/0.2935, allocations: 396.3 kB / 474.9 MB, free: 9.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001874/0.2954, allocations: 1.076 MB / 476 MB, free: 8.879 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001897/0.2973, allocations: 1.225 MB / 477.2 MB, free: 8.188 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003626/0.3009, allocations: 2.041 MB / 479.3 MB, free: 7.113 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.3009, allocations: 2.516 kB / 479.3 MB, free: 7.113 MB / 366.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.01043/0.3114, allocations: 3.925 MB / 483.2 MB, free: 3.488 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.518e-05/0.3114, allocations: 57.67 kB / 483.3 MB, free: 3.426 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/0.3115, allocations: 5.688 kB / 483.3 MB, free: 3.422 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005463/0.3169, allocations: 2.07 MB / 485.3 MB, free: 1.363 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009575/0.3179, allocations: 182.9 kB / 485.5 MB, free: 1.195 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0295/0.3474, allocations: 11.07 MB / 496.6 MB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001595/0.349, allocations: 163.8 kB / 496.8 MB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001962/0.3492, allocations: 71.94 kB / 496.8 MB, free: 5.809 MB / 382.1 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.0008135/0.35, allocations: 379.4 kB / 497.2 MB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002569/0.3502, allocations: 83.48 kB / 497.3 MB, free: 5.359 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006466/0.3567, allocations: 2.36 MB / 499.6 MB, free: 3 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.321e-05/0.3568, allocations: 24 kB / 499.7 MB, free: 2.977 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.3568, allocations: 3.938 kB / 499.7 MB, free: 2.973 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.401e-05/0.3568, allocations: 11.97 kB / 499.7 MB, free: 2.961 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009312/0.3661, allocations: 3.759 MB / 0.4916 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/0.3661, allocations: 4.25 kB / 0.4916 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01274/0.3789, allocations: 2.022 MB / 0.4936 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.948e-05/0.3789, allocations: 4 kB / 0.4936 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003003/0.3792, allocations: 39.72 kB / 0.4937 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.367e-05/0.3792, allocations: 11.98 kB / 0.4937 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.034e-06/0.3792, allocations: 3.984 kB / 0.4937 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01041/0.3896, allocations: 3.858 MB / 0.4974 GB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000921/0.3905, allocations: 267.3 kB / 0.4977 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002873/0.3908, allocations: 79.95 kB / 0.4978 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001573/0.3924, allocations: 191.7 kB / 0.4979 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000511/0.3929, allocations: 196.2 kB / 0.4981 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001355/0.393, allocations: 39.97 kB / 0.4982 GB, free: 8.453 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004453/0.3935, allocations: 303 kB / 0.4985 GB, free: 8.16 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3935, allocations: 0 / 0.4985 GB, free: 8.16 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001489/0.395, allocations: 362.4 kB / 0.4988 GB, free: 7.809 MB / 398.1 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.0005039/0.3955, allocations: 214.3 kB / 0.499 GB, free: 7.605 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00808/0.4035, allocations: 2.834 MB / 0.5018 GB, free: 4.766 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/0.4036, allocations: 0 / 0.5018 GB, free: 4.766 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007166/0.4107, allocations: 1.856 MB / 0.5036 GB, free: 2.938 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/0.4119, allocations: 155 kB / 0.5037 GB, free: 2.797 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008266/0.4202, allocations: 3.143 MB / 0.5068 GB, free: 15.62 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006976/0.4209, allocations: 0.545 MB / 0.5073 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001071/0.422, allocations: 314.4 kB / 0.5076 GB, free: 14.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004636/0.4224, allocations: 68.48 kB / 0.5077 GB, free: 14.67 MB / 414.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4224, allocations: 0 / 0.5077 GB, free: 14.67 MB / 414.1 MB Notification: Performance of Templates: time 0.03882/0.4613, allocations: 22.42 MB / 0.5296 GB, free: 8.438 MB / 430.1 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: 6.145535688847303] Failed to read output from testmodel.py, exit status != 0: 0.4711640998721123 0.48683776300000003 0.24492945000000002 Calling exit ...