Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.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.0006708/0.0006708, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008973/0.001568, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006854/0.0006854, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000899/0.001584, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9231/0.9231, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07957/1.003, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.1112/0.1112, allocations: 29.42 MB / 273.6 MB, free: 1.336 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.119/0.2302, allocations: 9.528 MB / 283.1 MB, free: 12.81 MB / 282.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.AC1ph_DC.Inverters.InverterToLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 284.4 MB, free: 11.85 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.061e-05/1.207e-05, allocations: 3.016 kB / 284.4 MB, free: 11.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad): time 0.005492/0.005504, allocations: 5.298 MB / 289.7 MB, free: 7.711 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001997/0.007501, allocations: 1.586 MB / 291.3 MB, free: 6.469 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002363/0.007737, allocations: 35.28 kB / 291.3 MB, free: 6.449 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002889/0.008026, allocations: 132.5 kB / 291.5 MB, free: 6.34 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004691/0.008495, allocations: 370.4 kB / 291.8 MB, free: 6.035 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004693/0.008964, allocations: 323.9 kB / 292.1 MB, free: 5.777 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001104/0.01007, allocations: 1.348 MB / 293.5 MB, free: 5.047 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002513/0.01032, allocations: 231.5 kB / 293.7 MB, free: 4.906 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008501/0.01117, allocations: 0.8028 MB / 294.5 MB, free: 4.418 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005172/0.01169, allocations: 466.3 kB / 295 MB, free: 4.086 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.907e-05/0.01178, allocations: 83.94 kB / 295.1 MB, free: 4.004 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.0119, allocations: 80 kB / 295.1 MB, free: 3.926 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002099/0.01211, allocations: 303.3 kB / 295.4 MB, free: 3.629 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001883/0.0123, allocations: 223.6 kB / 295.7 MB, free: 3.41 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004883/0.01279, allocations: 0.6075 MB / 296.3 MB, free: 2.801 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.039e-05/0.0128, allocations: 0 / 296.3 MB, free: 2.801 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.0128, allocations: 0 / 296.3 MB, free: 2.801 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.01281, allocations: 0 / 296.3 MB, free: 2.801 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001257/0.01407, allocations: 1.173 MB / 297.4 MB, free: 1.594 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.79e-05/0.01409, allocations: 12.03 kB / 297.4 MB, free: 1.582 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001383/0.01423, allocations: 120.8 kB / 297.6 MB, free: 1.465 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004967/0.01473, allocations: 483.3 kB / 298 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003085/0.01504, allocations: 0.7291 MB / 298.8 MB, free: 92 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.478e-05/0.01511, allocations: 52.38 kB / 298.8 MB, free: 40 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005956/0.01571, allocations: 0.5788 MB / 299.4 MB, free: 15.42 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.01572, allocations: 0 / 299.4 MB, free: 15.42 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.442e-05/0.01577, allocations: 28 kB / 299.4 MB, free: 15.39 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.01578, allocations: 12 kB / 299.4 MB, free: 15.38 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003331/0.01611, allocations: 258.7 kB / 299.7 MB, free: 15.13 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001881/0.01799, allocations: 1.977 MB / 301.7 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003743/0.01837, allocations: 317.1 kB / 302 MB, free: 12.76 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002089/0.01857, allocations: 155.2 kB / 302.1 MB, free: 12.61 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.6e-05/0.01861, allocations: 8.5 kB / 302.1 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002944/0.0189, allocations: 298.2 kB / 302.4 MB, free: 12.28 MB / 298.7 MB Notification: Performance of pre-optimization done (n=49): time 1.342e-06/0.01891, allocations: 4 kB / 302.4 MB, free: 12.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=49): time 0.0006185/0.01952, allocations: 412.4 kB / 302.8 MB, free: 11.86 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.987e-05/0.01957, allocations: 144.5 kB / 303 MB, free: 11.69 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.01974, allocations: 331.6 kB / 303.3 MB, free: 11.36 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.26e-05/0.01979, allocations: 41.7 kB / 303.3 MB, free: 11.31 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.01989, allocations: 269.4 kB / 303.6 MB, free: 11.04 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.195e-05/0.01998, allocations: 162.6 kB / 303.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/0.0201, allocations: 110.2 kB / 303.9 MB, free: 10.77 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.55e-05/0.02019, allocations: 362.7 kB / 304.2 MB, free: 10.4 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.02034, allocations: 150.9 kB / 304.4 MB, free: 10.25 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001876/0.02052, allocations: 259.8 kB / 304.6 MB, free: 9.949 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000306/0.02083, allocations: 369.3 kB / 305 MB, free: 9.539 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.02083, allocations: 4 kB / 305 MB, free: 9.535 MB / 298.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0004485/0.02128, allocations: 489.2 kB / 305.5 MB, free: 9.035 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.055e-05/0.02132, allocations: 57.62 kB / 305.5 MB, free: 8.973 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.02133, allocations: 4 kB / 305.5 MB, free: 8.969 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.568e-05/0.02142, allocations: 23.67 kB / 305.5 MB, free: 8.941 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001761/0.02318, allocations: 0.7376 MB / 306.3 MB, free: 8.203 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00239/0.02557, allocations: 3.955 MB / 310.2 MB, free: 3.961 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002641/0.02583, allocations: 75.78 kB / 310.3 MB, free: 3.887 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.449e-05/0.02592, allocations: 35.97 kB / 310.3 MB, free: 3.852 MB / 298.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: 14 (inverter.modulator.t0,$PRE.inverter.modulator.t0,inverter.modulator.sigdel_t,$PRE.inverter.modulator.sigdel_t,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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002087/0.02612, allocations: 158.5 kB / 310.5 MB, free: 3.684 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.267e-05/0.02619, allocations: 39.97 kB / 310.5 MB, free: 3.645 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004002/0.02659, allocations: 351.2 kB / 310.9 MB, free: 3.285 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.02659, allocations: 8 kB / 310.9 MB, free: 3.277 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.02659, allocations: 0 / 310.9 MB, free: 3.277 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.0266, allocations: 7.984 kB / 310.9 MB, free: 3.27 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000875/0.02747, allocations: 1.029 MB / 311.9 MB, free: 2.184 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.02748, allocations: 4 kB / 311.9 MB, free: 2.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002431/0.02991, allocations: 0.9871 MB / 312.9 MB, free: 1.188 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.03002, allocations: 95.55 kB / 313 MB, free: 1.094 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.487e-05/0.03008, allocations: 31.55 kB / 313 MB, free: 1.059 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.197e-05/0.03011, allocations: 19.98 kB / 313.1 MB, free: 1.039 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006851/0.0308, allocations: 1.189 MB / 314.2 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.0308, allocations: 0 / 314.2 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005892/0.03139, allocations: 0.6287 MB / 314.9 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.009e-05/0.03145, allocations: 27.98 kB / 314.9 MB, free: 15.06 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002083/0.03165, allocations: 60 kB / 315 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.789e-05/0.03174, allocations: 47.91 kB / 315 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.524e-05/0.03177, allocations: 16.03 kB / 315 MB, free: 14.94 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.783e-05/0.03185, allocations: 128.7 kB / 315.2 MB, free: 14.81 MB / 314.7 MB Notification: Performance of sort global known variables: time 3e-08/0.03185, allocations: 0 / 315.2 MB, free: 14.81 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003346/0.03218, allocations: 187.7 kB / 315.3 MB, free: 14.63 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (meterDC.pav,meterAC.pav,ind.i) * Number of discrete variables: 8 ($whenCondition1,system.initime,inverter.modulator.gates[1],inverter.modulator.gates[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.sigdel_t,inverter.modulator.t0) * Number of discrete states: 6 (inverter.modulator.t0,inverter.modulator.sigdel_t,inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.gates[1],inverter.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001225/0.0323, allocations: 117 kB / 315.4 MB, free: 14.51 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001949/0.03425, allocations: 1.167 MB / 316.6 MB, free: 13.3 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.251e-05/0.03426, allocations: 8 kB / 316.6 MB, free: 13.29 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008866/0.03515, allocations: 0.5435 MB / 317.2 MB, free: 12.73 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006048/0.03576, allocations: 1.012 MB / 318.2 MB, free: 11.53 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006613/0.04237, allocations: 1.324 MB / 319.5 MB, free: 10.15 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.919e-05/0.04247, allocations: 169.9 kB / 319.7 MB, free: 9.969 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002014/0.04267, allocations: 76.53 kB / 319.7 MB, free: 9.891 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002753/0.04295, allocations: 153.3 kB / 319.9 MB, free: 9.742 MB / 314.7 MB Notification: Performance of SimCode: time 9.71e-07/0.04295, allocations: 4 kB / 319.9 MB, free: 9.738 MB / 314.7 MB Notification: Performance of Templates: time 0.01033/0.05328, allocations: 9.391 MB / 329.3 MB, free: 0.4961 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7669728500768542]