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.001464/0.001464, allocations: 69.8 kB / 21.24 MB, free: 0.5547 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.001549/0.001549, allocations: 163 kB / 24.5 MB, free: 3.711 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.495/1.495, allocations: 177.2 MB / 204.9 MB, free: 9.004 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.1769/0.1769, allocations: 29.42 MB / 290.7 MB, free: 3.262 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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002297/0.002297, allocations: 63.91 kB / 431.2 MB, free: 3.207 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.3594, allocations: 62.44 MB / 493.6 MB, free: 37.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad): time 0.00668/0.3661, allocations: 6.223 MB / 499.9 MB, free: 33.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003695/0.3698, allocations: 2.342 MB / 0.4904 GB, free: 32.1 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003851/0.3702, allocations: 36 kB / 0.4905 GB, free: 32.08 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001153/0.3714, allocations: 417.9 kB / 0.4909 GB, free: 31.85 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001308/0.3727, allocations: 0.608 MB / 0.4915 GB, free: 31.54 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001137/0.3738, allocations: 0.4899 MB / 0.4919 GB, free: 31.31 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002348/0.3761, allocations: 1.965 MB / 0.4939 GB, free: 30.46 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009603/0.3771, allocations: 0.5607 MB / 0.4944 GB, free: 30.18 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001642/0.3787, allocations: 0.8185 MB / 0.4952 GB, free: 29.85 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001331/0.3801, allocations: 0.9956 MB / 0.4962 GB, free: 29.55 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002346/0.3803, allocations: 159.5 kB / 0.4963 GB, free: 29.55 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001065/0.3814, allocations: 0.6475 MB / 0.497 GB, free: 29.43 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005966/0.382, allocations: 0.6622 MB / 0.4976 GB, free: 29.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006794/0.3827, allocations: 0.5756 MB / 0.4982 GB, free: 28.85 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001942/0.3846, allocations: 2.06 MB / 0.5002 GB, free: 28.15 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3846, allocations: 0 / 0.5002 GB, free: 28.15 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3846, allocations: 0 / 0.5002 GB, free: 28.15 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.467e-05/0.3846, allocations: 0 / 0.5002 GB, free: 28.15 MB / 446.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.00415/0.3888, allocations: 1.864 MB / 0.502 GB, free: 27.16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.3888, allocations: 13.86 kB / 0.502 GB, free: 27.16 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000862/0.3897, allocations: 201.5 kB / 0.5022 GB, free: 27.1 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00208/0.3917, allocations: 0.908 MB / 0.5031 GB, free: 26.66 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006062/0.3924, allocations: 1.116 MB / 0.5042 GB, free: 25.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002365/0.3926, allocations: 106.2 kB / 0.5043 GB, free: 25.44 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00345/0.396, allocations: 2.01 MB / 0.5062 GB, free: 24.74 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.875e-05/0.3961, allocations: 7.25 kB / 0.5063 GB, free: 24.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001235/0.3962, allocations: 37.77 kB / 0.5063 GB, free: 24.71 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000194/0.3964, allocations: 90.97 kB / 0.5064 GB, free: 24.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004237/0.4006, allocations: 2.232 MB / 0.5086 GB, free: 24.05 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008524/0.4091, allocations: 5.194 MB / 0.5136 GB, free: 21.33 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004608/0.4138, allocations: 1.619 MB / 0.5152 GB, free: 20.86 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002529/0.4163, allocations: 1.062 MB / 0.5162 GB, free: 20.54 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.642e-05/0.4164, allocations: 16.12 kB / 0.5163 GB, free: 20.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003011/0.4194, allocations: 1.395 MB / 0.5176 GB, free: 20.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=123): time 3.386e-06/0.4194, allocations: 0 / 0.5176 GB, free: 20.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=124): time 0.01411/0.4335, allocations: 5.551 MB / 0.523 GB, free: 18.17 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.491e-05/0.4336, allocations: 109.6 kB / 0.5231 GB, free: 18.06 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005885/0.4342, allocations: 444.8 kB / 0.5236 GB, free: 17.85 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001132/0.4343, allocations: 55.88 kB / 0.5236 GB, free: 17.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002624/0.4345, allocations: 377.4 kB / 0.524 GB, free: 17.51 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000329/0.4349, allocations: 434.7 kB / 0.5244 GB, free: 17.17 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004132/0.4353, allocations: 228.2 kB / 0.5246 GB, free: 17.07 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.4354, allocations: 389.2 kB / 0.525 GB, free: 16.73 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00209/0.4375, allocations: 1.075 MB / 0.526 GB, free: 16.37 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002211/0.4397, allocations: 1.224 MB / 0.5272 GB, free: 15.87 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004125/0.4438, allocations: 2.041 MB / 0.5292 GB, free: 15.07 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.4438, allocations: 0 / 0.5292 GB, free: 15.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.0126/0.4564, allocations: 3.924 MB / 0.5331 GB, free: 14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001207/0.4565, allocations: 61.36 kB / 0.5331 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.126e-05/0.4566, allocations: 3.156 kB / 0.5331 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006865/0.4634, allocations: 2.079 MB / 0.5352 GB, free: 13.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/0.4644, allocations: 189.5 kB / 0.5353 GB, free: 13.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02396/0.4884, allocations: 11.06 MB / 0.5461 GB, free: 3.379 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00151/0.4899, allocations: 171.8 kB / 0.5463 GB, free: 3.211 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002976/0.4902, allocations: 71.94 kB / 0.5464 GB, free: 3.141 MB / 446.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.0007782/0.491, allocations: 384.8 kB / 0.5467 GB, free: 2.762 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003155/0.4913, allocations: 91.41 kB / 0.5468 GB, free: 2.672 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005375/0.4967, allocations: 2.342 MB / 0.5491 GB, free: 324 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.535e-05/0.4967, allocations: 27.98 kB / 0.5491 GB, free: 296 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4967, allocations: 0 / 0.5491 GB, free: 296 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.427e-05/0.4967, allocations: 7.984 kB / 0.5491 GB, free: 288 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00969/0.5064, allocations: 3.774 MB / 0.5528 GB, free: 12.45 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.39e-05/0.5064, allocations: 4 kB / 0.5528 GB, free: 12.45 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01186/0.5183, allocations: 2.017 MB / 0.5548 GB, free: 10.43 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-05/0.5183, allocations: 8 kB / 0.5548 GB, free: 10.42 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003684/0.5187, allocations: 31.97 kB / 0.5548 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.3e-05/0.5187, allocations: 11.98 kB / 0.5548 GB, free: 10.38 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.5187, allocations: 3.938 kB / 0.5549 GB, free: 10.37 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01053/0.5292, allocations: 3.871 MB / 0.5586 GB, free: 6.457 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001008/0.5302, allocations: 259.3 kB / 0.5589 GB, free: 6.203 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004137/0.5307, allocations: 87.94 kB / 0.559 GB, free: 6.117 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001729/0.5324, allocations: 183.9 kB / 0.5591 GB, free: 5.938 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005896/0.533, allocations: 196.6 kB / 0.5593 GB, free: 5.746 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001848/0.5332, allocations: 47.91 kB / 0.5594 GB, free: 5.699 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004912/0.5337, allocations: 295.1 kB / 0.5597 GB, free: 5.41 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5337, allocations: 4 kB / 0.5597 GB, free: 5.406 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001636/0.5353, allocations: 347.9 kB / 0.56 GB, free: 5.066 MB / 462.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.0005412/0.5358, allocations: 228.9 kB / 0.5602 GB, free: 4.832 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007501/0.5433, allocations: 2.839 MB / 0.563 GB, free: 1.961 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.5433, allocations: 4 kB / 0.563 GB, free: 1.957 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006701/0.55, allocations: 1.848 MB / 0.5648 GB, free: 112 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/0.5513, allocations: 170.1 kB / 0.5649 GB, free: 15.96 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008241/0.5595, allocations: 3.346 MB / 0.5682 GB, free: 12.55 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007885/0.5603, allocations: 0.5411 MB / 0.5687 GB, free: 11.98 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001045/0.5613, allocations: 314.5 kB / 0.569 GB, free: 11.66 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004519/0.5618, allocations: 72.48 kB / 0.5691 GB, free: 11.59 MB / 478.1 MB Notification: Performance of SimCode: time 9.22e-07/0.5618, allocations: 0 / 0.5691 GB, free: 11.59 MB / 478.1 MB Notification: Performance of Templates: time 0.03931/0.6011, allocations: 22.5 MB / 0.5911 GB, free: 5.184 MB / 494.1 MB " [Timeout remaining time 659] 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 -s ida -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.247278633993119] Failed to read output from testmodel.py, exit status != 0: 0.6113865140359849 0.627667497 0.23963557399999996 Calling exit ...