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.001094/0.001094, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.00209/0.00209, allocations: 171.9 kB / 24.92 MB, free: 8.723 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 1.06/1.06, allocations: 177.1 MB / 205.3 MB, free: 5.109 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.2382/0.2382, allocations: 29.41 MB / 291.2 MB, free: 2.441 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.513e-06/1.513e-06, allocations: 0 / 316.8 MB, free: 40 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.063e-05/2.214e-05, allocations: 4.766 kB / 316.8 MB, free: 36 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad): time 0.008475/0.008497, allocations: 5.797 MB / 322.6 MB, free: 10.21 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005297/0.01379, allocations: 2.439 MB / 325.1 MB, free: 7.762 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003917/0.01419, allocations: 39.69 kB / 325.1 MB, free: 7.723 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000766/0.01495, allocations: 234.5 kB / 325.3 MB, free: 7.492 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001042/0.01599, allocations: 0.6061 MB / 325.9 MB, free: 6.883 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009824/0.01698, allocations: 0.5338 MB / 326.5 MB, free: 6.348 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001537/0.01851, allocations: 1.953 MB / 328.4 MB, free: 4.391 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000573/0.01909, allocations: 0.5878 MB / 329 MB, free: 3.785 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001502/0.02059, allocations: 1.107 MB / 330.1 MB, free: 2.676 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008229/0.02141, allocations: 0.873 MB / 331 MB, free: 1.801 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001476/0.02156, allocations: 144 kB / 331.1 MB, free: 1.66 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006738/0.02223, allocations: 0.6318 MB / 331.8 MB, free: 1.027 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000426/0.02266, allocations: 0.6587 MB / 332.4 MB, free: 372 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003842/0.02304, allocations: 487 kB / 332.9 MB, free: 15.89 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001169/0.02421, allocations: 1.465 MB / 334.4 MB, free: 14.42 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.02421, allocations: 0 / 334.4 MB, free: 14.42 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.02422, allocations: 0 / 334.4 MB, free: 14.42 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.02423, allocations: 4 kB / 334.4 MB, free: 14.41 MB / 314.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.002097/0.02632, allocations: 1.58 MB / 336 MB, free: 12.77 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.02636, allocations: 19.98 kB / 336 MB, free: 12.75 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005906/0.02695, allocations: 264.6 kB / 336.2 MB, free: 12.5 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007602/0.02771, allocations: 0.6275 MB / 336.9 MB, free: 11.84 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008276/0.02854, allocations: 1.101 MB / 338 MB, free: 10.52 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001748/0.02871, allocations: 88.56 kB / 338 MB, free: 10.43 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/0.02982, allocations: 1.011 MB / 339.1 MB, free: 9.375 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/0.02984, allocations: 7.922 kB / 339.1 MB, free: 9.367 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.933e-05/0.02992, allocations: 32 kB / 339.1 MB, free: 9.336 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001049/0.03003, allocations: 89.94 kB / 339.2 MB, free: 9.25 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007369/0.03076, allocations: 0.5356 MB / 339.7 MB, free: 8.711 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003778/0.03454, allocations: 3.334 MB / 343.1 MB, free: 5.312 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008617/0.0354, allocations: 0.5826 MB / 343.6 MB, free: 4.707 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003615/0.03576, allocations: 275.5 kB / 343.9 MB, free: 4.43 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.947e-05/0.03584, allocations: 21 kB / 343.9 MB, free: 4.41 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009598/0.0368, allocations: 0.6111 MB / 344.5 MB, free: 3.781 MB / 314.7 MB Notification: Performance of pre-optimization done (n=123): time 2.184e-06/0.03681, allocations: 0 / 344.5 MB, free: 3.781 MB / 314.7 MB Notification: Performance of matching and sorting (n=124): time 0.002317/0.03912, allocations: 1.668 MB / 346.2 MB, free: 2.086 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6e-05/0.03918, allocations: 102.1 kB / 346.3 MB, free: 1.969 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002164/0.0394, allocations: 375.1 kB / 346.7 MB, free: 1.59 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.556e-05/0.03948, allocations: 61.69 kB / 346.7 MB, free: 1.523 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.03963, allocations: 326.4 kB / 347 MB, free: 1.199 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002408/0.03987, allocations: 424.3 kB / 347.5 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002362/0.04011, allocations: 202.8 kB / 347.7 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.04023, allocations: 394.5 kB / 348 MB, free: 184 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003419/0.04057, allocations: 299.1 kB / 348.3 MB, free: 15.88 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003718/0.04095, allocations: 438.7 kB / 348.8 MB, free: 15.4 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006689/0.04162, allocations: 0.6866 MB / 349.5 MB, free: 14.67 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.04162, allocations: 4 kB / 349.5 MB, free: 14.67 MB / 330.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.002705/0.04432, allocations: 1.547 MB / 351 MB, free: 13.1 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.31e-05/0.04438, allocations: 57.67 kB / 351.1 MB, free: 13.04 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.04439, allocations: 4 kB / 351.1 MB, free: 13.03 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003081/0.04747, allocations: 1.588 MB / 352.7 MB, free: 11.44 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000383/0.04785, allocations: 171.8 kB / 352.8 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005038/0.05289, allocations: 3.227 MB / 356 MB, free: 7.945 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000391/0.05328, allocations: 83.98 kB / 356.1 MB, free: 7.863 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/0.05339, allocations: 75.86 kB / 356.2 MB, free: 7.789 MB / 330.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.0002681/0.05366, allocations: 200.4 kB / 356.4 MB, free: 7.586 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001639/0.05382, allocations: 91.92 kB / 356.5 MB, free: 7.496 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000858/0.05468, allocations: 0.7381 MB / 357.2 MB, free: 6.75 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.519e-05/0.0547, allocations: 27.94 kB / 357.3 MB, free: 6.723 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.512e-06/0.05471, allocations: 0 / 357.3 MB, free: 6.723 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.05471, allocations: 7.969 kB / 357.3 MB, free: 6.715 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002277/0.05699, allocations: 1.619 MB / 358.9 MB, free: 5.035 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.057, allocations: 4 kB / 358.9 MB, free: 5.031 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003365/0.06036, allocations: 1.323 MB / 360.2 MB, free: 3.707 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.265e-06/0.06037, allocations: 11.94 kB / 360.2 MB, free: 3.695 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.884e-05/0.06044, allocations: 35.97 kB / 360.3 MB, free: 3.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.533e-06/0.06045, allocations: 8 kB / 360.3 MB, free: 3.652 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.06045, allocations: 0 / 360.3 MB, free: 3.652 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001323/0.06177, allocations: 1.2 MB / 361.5 MB, free: 2.402 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002834/0.06205, allocations: 199.3 kB / 361.7 MB, free: 2.207 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001455/0.0622, allocations: 79.89 kB / 361.7 MB, free: 2.129 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000391/0.06259, allocations: 95.89 kB / 361.8 MB, free: 2.035 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001563/0.06275, allocations: 100.8 kB / 361.9 MB, free: 1.934 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.88e-05/0.06281, allocations: 31.97 kB / 362 MB, free: 1.902 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001081/0.06291, allocations: 156.7 kB / 362.1 MB, free: 1.75 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06291, allocations: 0 / 362.1 MB, free: 1.75 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006415/0.06355, allocations: 355.9 kB / 362.5 MB, free: 1.402 MB / 330.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.0002987/0.06385, allocations: 202 kB / 362.7 MB, free: 1.195 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001619/0.06547, allocations: 1.21 MB / 363.9 MB, free: 15.96 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.336e-06/0.06548, allocations: 4 kB / 363.9 MB, free: 15.95 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001398/0.06688, allocations: 0.7201 MB / 364.6 MB, free: 15.23 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000545/0.06742, allocations: 204.7 kB / 364.8 MB, free: 15.03 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00356/0.07098, allocations: 2.341 MB / 367.1 MB, free: 12.63 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000197/0.07118, allocations: 281.9 kB / 367.4 MB, free: 12.33 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003171/0.0715, allocations: 118.7 kB / 367.5 MB, free: 12.21 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004927/0.07199, allocations: 213.3 kB / 367.7 MB, free: 12 MB / 346.7 MB Notification: Performance of SimCode: time 6.81e-07/0.07199, allocations: 0 / 367.7 MB, free: 12 MB / 346.7 MB Notification: Performance of Templates: time 0.02482/0.09681, allocations: 23.86 MB / 391.6 MB, free: 4.332 MB / 362.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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.447336931247264]