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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001681/0.001681, allocations: 112.2 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001847/0.001847, allocations: 196.4 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 225.6 MB / 250.8 MB, free: 13.38 MB / 206.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.2345/0.2345, allocations: 38.51 MB / 344.4 MB, free: 2.516 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001981/0.001981, allocations: 63.89 kB / 482.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3109, allocations: 61.25 MB / 0.5306 GB, free: 5.488 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad): time 0.007927/0.3188, allocations: 6.647 MB / 0.5371 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004234/0.3231, allocations: 2.473 MB / 0.5395 GB, free: 14.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005387/0.3236, allocations: 24.06 kB / 0.5395 GB, free: 14.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001357/0.3249, allocations: 446.9 kB / 0.5399 GB, free: 14.49 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001494/0.3264, allocations: 0.5939 MB / 0.5405 GB, free: 14.04 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001199/0.3276, allocations: 495.2 kB / 0.541 GB, free: 13.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002211/0.3299, allocations: 1.965 MB / 0.5429 GB, free: 12.51 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008906/0.3307, allocations: 0.6205 MB / 0.5435 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001257/0.332, allocations: 0.7958 MB / 0.5443 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001478/0.3335, allocations: 1.028 MB / 0.5453 GB, free: 11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002264/0.3337, allocations: 159.7 kB / 0.5454 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001134/0.3348, allocations: 0.6794 MB / 0.5461 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006931/0.3355, allocations: 0.6523 MB / 0.5467 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000812/0.3363, allocations: 0.6701 MB / 0.5474 GB, free: 9.797 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002282/0.3386, allocations: 2.048 MB / 0.5494 GB, free: 8.387 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.3386, allocations: 0 / 0.5494 GB, free: 8.387 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3386, allocations: 0 / 0.5494 GB, free: 8.387 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.242e-05/0.3387, allocations: 1.25 kB / 0.5494 GB, free: 8.387 MB / 398.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.00483/0.3435, allocations: 1.936 MB / 0.5513 GB, free: 7.031 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.3435, allocations: 13.05 kB / 0.5513 GB, free: 7.027 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007289/0.3443, allocations: 166.5 kB / 0.5514 GB, free: 6.953 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002186/0.3464, allocations: 0.9735 MB / 0.5524 GB, free: 6.094 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000649/0.3471, allocations: 0.5067 MB / 0.5529 GB, free: 5.512 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002636/0.3473, allocations: 95.89 kB / 0.553 GB, free: 5.418 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003991/0.3513, allocations: 2.015 MB / 0.555 GB, free: 3.363 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.214e-05/0.3514, allocations: 11.92 kB / 0.555 GB, free: 3.352 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001395/0.3515, allocations: 32 kB / 0.555 GB, free: 3.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000214/0.3517, allocations: 93.94 kB / 0.5551 GB, free: 3.227 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00502/0.3567, allocations: 2.236 MB / 0.5573 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01035/0.3671, allocations: 5.665 MB / 0.5628 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004392/0.3715, allocations: 1.699 MB / 0.5645 GB, free: 9.477 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002543/0.374, allocations: 1.062 MB / 0.5655 GB, free: 8.406 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001068/0.3741, allocations: 24.92 kB / 0.5655 GB, free: 8.383 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002907/0.377, allocations: 1.387 MB / 0.5669 GB, free: 6.977 MB / 414.1 MB Notification: Performance of pre-optimization done (n=123): time 2.955e-06/0.377, allocations: 0 / 0.5669 GB, free: 6.977 MB / 414.1 MB Notification: Performance of matching and sorting (n=124): time 0.014/0.391, allocations: 5.651 MB / 0.5724 GB, free: 1.273 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.3912, allocations: 102.1 kB / 0.5725 GB, free: 1.156 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007294/0.3919, allocations: 498 kB / 0.573 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001173/0.392, allocations: 57.72 kB / 0.573 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003999/0.3924, allocations: 377.5 kB / 0.5734 GB, free: 228 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004452/0.3928, allocations: 428.4 kB / 0.5738 GB, free: 15.8 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004606/0.3933, allocations: 226.9 kB / 0.574 GB, free: 15.57 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002339/0.3935, allocations: 390.7 kB / 0.5744 GB, free: 15.18 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002036/0.3956, allocations: 1.021 MB / 0.5754 GB, free: 14.16 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00222/0.3978, allocations: 1.192 MB / 0.5765 GB, free: 12.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003958/0.4018, allocations: 2.039 MB / 0.5785 GB, free: 10.84 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.4018, allocations: 0 / 0.5785 GB, free: 10.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.01085/0.4126, allocations: 3.892 MB / 0.5823 GB, free: 6.934 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001082/0.4127, allocations: 61.67 kB / 0.5824 GB, free: 6.867 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.4127, allocations: 4 kB / 0.5824 GB, free: 6.863 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006033/0.4188, allocations: 2.069 MB / 0.5844 GB, free: 4.789 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009903/0.4198, allocations: 199.7 kB / 0.5846 GB, free: 4.594 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02563/0.4454, allocations: 11.3 MB / 0.5956 GB, free: 9.145 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001408/0.4468, allocations: 163.8 kB / 0.5958 GB, free: 8.984 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001767/0.447, allocations: 75.92 kB / 0.5959 GB, free: 8.91 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.0007399/0.4477, allocations: 377.4 kB / 0.5962 GB, free: 8.531 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002316/0.4479, allocations: 87.47 kB / 0.5963 GB, free: 8.445 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005398/0.4533, allocations: 2.354 MB / 0.5986 GB, free: 6.082 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.064e-05/0.4534, allocations: 27.98 kB / 0.5986 GB, free: 6.055 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.4534, allocations: 0 / 0.5986 GB, free: 6.055 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/0.4534, allocations: 7.984 kB / 0.5986 GB, free: 6.047 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008205/0.4616, allocations: 4.101 MB / 0.6027 GB, free: 1.859 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/0.4616, allocations: 4 kB / 0.6027 GB, free: 1.855 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009926/0.4715, allocations: 2.021 MB / 0.6046 GB, free: 15.83 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.516e-05/0.4715, allocations: 8 kB / 0.6046 GB, free: 15.82 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002271/0.4718, allocations: 40.03 kB / 0.6047 GB, free: 15.79 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.316e-05/0.4718, allocations: 15.98 kB / 0.6047 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.4718, allocations: 3.938 kB / 0.6047 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00831/0.4801, allocations: 3.871 MB / 0.6085 GB, free: 11.84 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006964/0.4808, allocations: 340.4 kB / 0.6088 GB, free: 11.49 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002597/0.4811, allocations: 91.88 kB / 0.6089 GB, free: 11.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001307/0.4824, allocations: 183.7 kB / 0.6091 GB, free: 11.22 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004585/0.4828, allocations: 192.7 kB / 0.6092 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001264/0.483, allocations: 43.97 kB / 0.6093 GB, free: 10.99 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004387/0.4834, allocations: 346.8 kB / 0.6096 GB, free: 10.65 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4834, allocations: 0 / 0.6096 GB, free: 10.65 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001168/0.4846, allocations: 351.9 kB / 0.61 GB, free: 10.31 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.0004137/0.485, allocations: 232.6 kB / 0.6102 GB, free: 10.07 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006498/0.4915, allocations: 2.818 MB / 0.6129 GB, free: 7.227 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.4915, allocations: 0 / 0.6129 GB, free: 7.227 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005736/0.4972, allocations: 1.864 MB / 0.6147 GB, free: 5.363 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/0.4983, allocations: 174 kB / 0.6149 GB, free: 5.195 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007618/0.506, allocations: 3.366 MB / 0.6182 GB, free: 1.773 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000891/0.5068, allocations: 1.152 MB / 0.6193 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009695/0.5078, allocations: 314.7 kB / 0.6196 GB, free: 292 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000402/0.5082, allocations: 75.41 kB / 0.6197 GB, free: 216 kB / 462.1 MB Notification: Performance of SimCode: time 8.42e-07/0.5082, allocations: 0 / 0.6197 GB, free: 216 kB / 462.1 MB Notification: Performance of Templates: time 0.04229/0.5505, allocations: 25.69 MB / 0.6448 GB, free: 6.613 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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.002008252777159]