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.000981/0.000981, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001117/0.001117, allocations: 168.8 kB / 24.91 MB, free: 9.199 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.03/1.03, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.2554/0.2554, allocations: 29.41 MB / 291.2 MB, free: 2.488 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.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.533e-06/1.533e-06, allocations: 0 / 316.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.448e-05/2.601e-05, allocations: 2.312 kB / 316.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad): time 0.006106/0.006132, allocations: 5.249 MB / 322.1 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002546/0.008678, allocations: 1.574 MB / 323.7 MB, free: 9.129 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004064/0.009084, allocations: 31.75 kB / 323.7 MB, free: 9.098 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004709/0.009555, allocations: 134.9 kB / 323.9 MB, free: 8.965 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006746/0.01023, allocations: 365.7 kB / 324.2 MB, free: 8.605 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006008/0.01083, allocations: 323.4 kB / 324.5 MB, free: 8.289 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001184/0.01201, allocations: 1.356 MB / 325.9 MB, free: 6.93 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002935/0.01231, allocations: 235.1 kB / 326.1 MB, free: 6.695 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001093/0.0134, allocations: 0.7796 MB / 326.9 MB, free: 5.914 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005532/0.01395, allocations: 474.8 kB / 327.4 MB, free: 5.449 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.519e-05/0.01404, allocations: 76 kB / 327.4 MB, free: 5.375 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.01414, allocations: 80 kB / 327.5 MB, free: 5.297 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000231/0.01437, allocations: 359.1 kB / 327.9 MB, free: 4.945 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002364/0.01461, allocations: 283.4 kB / 328.1 MB, free: 4.668 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006158/0.01522, allocations: 0.6698 MB / 328.8 MB, free: 3.996 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.01523, allocations: 0 / 328.8 MB, free: 3.996 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.01523, allocations: 4 kB / 328.8 MB, free: 3.992 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.01524, allocations: 0 / 328.8 MB, free: 3.992 MB / 298.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.001313/0.01655, allocations: 1.028 MB / 329.8 MB, free: 2.926 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.01659, allocations: 15.98 kB / 329.9 MB, free: 2.91 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001447/0.01673, allocations: 120.8 kB / 330 MB, free: 2.793 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005553/0.01729, allocations: 487.2 kB / 330.4 MB, free: 2.289 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000379/0.01767, allocations: 0.7253 MB / 331.2 MB, free: 1.414 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.656e-05/0.01774, allocations: 52.38 kB / 331.2 MB, free: 1.363 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006786/0.01842, allocations: 0.571 MB / 331.8 MB, free: 0.75 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.01844, allocations: 0 / 331.8 MB, free: 0.75 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.383e-05/0.01848, allocations: 27.98 kB / 331.8 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.01849, allocations: 12 kB / 331.8 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000368/0.01886, allocations: 270.7 kB / 332.1 MB, free: 456 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00217/0.02103, allocations: 1.973 MB / 334.1 MB, free: 14.41 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005496/0.02158, allocations: 293.2 kB / 334.4 MB, free: 14.1 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002347/0.02181, allocations: 167.1 kB / 334.5 MB, free: 13.93 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.743e-05/0.02185, allocations: 8.5 kB / 334.5 MB, free: 13.93 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003232/0.02217, allocations: 293.6 kB / 334.8 MB, free: 13.61 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 2.034e-06/0.02218, allocations: 0 / 334.8 MB, free: 13.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=49): time 0.0007721/0.02295, allocations: 426.1 kB / 335.2 MB, free: 13.19 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.086e-05/0.02301, allocations: 148.4 kB / 335.4 MB, free: 13.01 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001957/0.0232, allocations: 327.2 kB / 335.7 MB, free: 12.68 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.456e-05/0.02325, allocations: 41.69 kB / 335.7 MB, free: 12.63 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.02338, allocations: 269.4 kB / 336 MB, free: 12.37 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.02349, allocations: 166.6 kB / 336.2 MB, free: 12.2 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/0.02362, allocations: 110.2 kB / 336.3 MB, free: 12.09 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.02372, allocations: 362.9 kB / 336.6 MB, free: 11.73 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/0.02389, allocations: 151 kB / 336.8 MB, free: 11.57 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001979/0.02409, allocations: 253.3 kB / 337 MB, free: 11.28 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003644/0.02445, allocations: 365.3 kB / 337.4 MB, free: 10.88 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.02446, allocations: 4 kB / 337.4 MB, free: 10.87 MB / 314.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0007931/0.02525, allocations: 473.6 kB / 337.8 MB, free: 10.39 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.767e-05/0.0253, allocations: 61.66 kB / 337.9 MB, free: 10.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.02531, allocations: 0 / 337.9 MB, free: 10.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001055/0.02541, allocations: 23.67 kB / 337.9 MB, free: 10.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001857/0.02727, allocations: 0.7334 MB / 338.7 MB, free: 9.559 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002586/0.02986, allocations: 3.952 MB / 342.6 MB, free: 5.316 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003032/0.03016, allocations: 79.62 kB / 342.7 MB, free: 5.238 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.716e-05/0.03023, allocations: 31.97 kB / 342.7 MB, free: 5.207 MB / 314.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.0002223/0.03045, allocations: 158.6 kB / 342.9 MB, free: 5.043 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.379e-05/0.03052, allocations: 39.97 kB / 342.9 MB, free: 5.004 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004733/0.03099, allocations: 355.1 kB / 343.3 MB, free: 4.645 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.031, allocations: 8 kB / 343.3 MB, free: 4.637 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.031, allocations: 0 / 343.3 MB, free: 4.637 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.03101, allocations: 0 / 343.3 MB, free: 4.637 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00109/0.0321, allocations: 1.036 MB / 344.3 MB, free: 3.543 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.0321, allocations: 0 / 344.3 MB, free: 3.543 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002847/0.03495, allocations: 0.986 MB / 345.3 MB, free: 2.555 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.589e-05/0.03502, allocations: 27.67 kB / 345.3 MB, free: 2.523 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.87e-05/0.03506, allocations: 15.98 kB / 345.3 MB, free: 2.508 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005028/0.03556, allocations: 1.188 MB / 346.5 MB, free: 1.227 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.03556, allocations: 0 / 346.5 MB, free: 1.227 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006679/0.03623, allocations: 0.6289 MB / 347.2 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001403/0.03637, allocations: 103.4 kB / 347.3 MB, free: 460 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.192e-05/0.03643, allocations: 27.98 kB / 347.3 MB, free: 432 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002198/0.03665, allocations: 51.94 kB / 347.3 MB, free: 380 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.03675, allocations: 51.92 kB / 347.4 MB, free: 328 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.776e-05/0.03678, allocations: 19.92 kB / 347.4 MB, free: 308 kB / 314.7 MB Notification: Performance of sorting global known variables: time 8.987e-05/0.03687, allocations: 128.7 kB / 347.5 MB, free: 180 kB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03687, allocations: 0 / 347.5 MB, free: 180 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.000457/0.03732, allocations: 187.8 kB / 347.7 MB, free: 15.99 MB / 330.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.0001528/0.03748, allocations: 108.2 kB / 347.8 MB, free: 15.88 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002097/0.03957, allocations: 1.143 MB / 349 MB, free: 14.7 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.368e-06/0.03958, allocations: 4 kB / 349 MB, free: 14.7 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009292/0.04051, allocations: 0.5129 MB / 349.5 MB, free: 14.17 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004099/0.04092, allocations: 142.4 kB / 349.6 MB, free: 14.04 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00215/0.04307, allocations: 1.292 MB / 350.9 MB, free: 12.7 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001191/0.04319, allocations: 173.8 kB / 351.1 MB, free: 12.5 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002423/0.04343, allocations: 76.55 kB / 351.2 MB, free: 12.43 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002972/0.04373, allocations: 161.3 kB / 351.3 MB, free: 12.27 MB / 330.7 MB Notification: Performance of SimCode: time 1.183e-06/0.04373, allocations: 0 / 351.3 MB, free: 12.27 MB / 330.7 MB Notification: Performance of Templates: time 0.01174/0.05548, allocations: 9.23 MB / 360.5 MB, free: 3.18 MB / 330.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0837080157361925]