Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 178.5 kB / 16.71 MB, free: 4.957 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 225.7 MB / 243.2 MB, free: 8.445 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008101/0.0008103, allocations: 89.86 kB / 294.4 MB, free: 9.5 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.3958/0.3958, allocations: 38.11 MB / 383.6 MB, free: 40.39 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004696/0.0004697, allocations: 8.219 kB / 453.5 MB, free: 8.773 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.424/0.4245, allocations: 59.13 MB / 0.5006 GB, free: 38.97 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid): time 0.007368/0.4319, allocations: 6.642 MB / 0.5071 GB, free: 37.13 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003187/0.4352, allocations: 2.043 MB / 0.5091 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005758/0.4358, allocations: 51 kB / 0.5091 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004581/0.4362, allocations: 107.6 kB / 0.5092 GB, free: 35.46 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008033/0.4371, allocations: 358.3 kB / 0.5096 GB, free: 35.27 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005142/0.4376, allocations: 169.7 kB / 0.5097 GB, free: 35.18 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001498/0.4391, allocations: 1.387 MB / 0.5111 GB, free: 34.73 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003647/0.4395, allocations: 232.5 kB / 0.5113 GB, free: 34.66 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005242/0.44, allocations: 352.4 kB / 0.5116 GB, free: 34.52 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005371/0.4405, allocations: 462.5 kB / 0.5121 GB, free: 34.37 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.996e-05/0.4406, allocations: 23.56 kB / 0.5121 GB, free: 34.37 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.473e-05/0.4407, allocations: 26.06 kB / 0.5121 GB, free: 34.37 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001899/0.4409, allocations: 237 kB / 0.5124 GB, free: 34.3 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002387/0.4412, allocations: 317.2 kB / 0.5127 GB, free: 34.11 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004332/0.4416, allocations: 0.6326 MB / 0.5133 GB, free: 33.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.4416, allocations: 0 / 0.5133 GB, free: 33.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.4416, allocations: 0 / 0.5133 GB, free: 33.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.545e-06/0.4416, allocations: 0 / 0.5133 GB, free: 33.91 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001297/0.4429, allocations: 0.8568 MB / 0.5141 GB, free: 33.3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.443, allocations: 8.75 kB / 0.5141 GB, free: 33.3 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.968e-05/0.4431, allocations: 64.38 kB / 0.5142 GB, free: 33.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006881/0.4438, allocations: 0.5173 MB / 0.5147 GB, free: 32.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.081e-05/0.4438, allocations: 45.56 kB / 0.5147 GB, free: 32.9 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.889e-05/0.4439, allocations: 53.17 kB / 0.5148 GB, free: 32.89 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000803/0.4447, allocations: 0.6145 MB / 0.5154 GB, free: 32.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.4447, allocations: 0 / 0.5154 GB, free: 32.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.61e-05/0.4448, allocations: 21.28 kB / 0.5154 GB, free: 32.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001073/0.4449, allocations: 32.3 kB / 0.5154 GB, free: 32.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007539/0.4457, allocations: 0.5021 MB / 0.5159 GB, free: 32.41 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002628/0.4483, allocations: 2.251 MB / 0.5181 GB, free: 30.96 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006901/0.449, allocations: 496.4 kB / 0.5186 GB, free: 30.76 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005182/0.4495, allocations: 337.7 kB / 0.5189 GB, free: 30.65 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.7e-05/0.4496, allocations: 9.516 kB / 0.5189 GB, free: 30.65 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.4496, allocations: 37.5 kB / 0.519 GB, free: 30.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=45): time 2.064e-06/0.4496, allocations: 0 / 0.519 GB, free: 30.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=47): time 0.002844/0.4525, allocations: 1.747 MB / 0.5207 GB, free: 29.69 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.4525, allocations: 90.08 kB / 0.5208 GB, free: 29.59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003466/0.4529, allocations: 413.9 kB / 0.5212 GB, free: 29.4 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.4529, allocations: 33.7 kB / 0.5212 GB, free: 29.36 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.453, allocations: 303.6 kB / 0.5215 GB, free: 29.11 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.206e-05/0.4531, allocations: 162.1 kB / 0.5216 GB, free: 28.99 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.234e-05/0.4532, allocations: 10.88 kB / 0.5216 GB, free: 28.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.446e-05/0.4532, allocations: 362.8 kB / 0.522 GB, free: 28.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002359/0.4535, allocations: 181.9 kB / 0.5222 GB, free: 28.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002798/0.4538, allocations: 312.5 kB / 0.5225 GB, free: 28.38 MB / 378.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: ind.i[1] = ind.i_start[1] (-ind.i_start[2] = ind.i_start[1]) Notification: Performance of analyzeInitialSystem (initialization): time 0.002217/0.456, allocations: 1.241 MB / 0.5237 GB, free: 27.8 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.456, allocations: 0 / 0.5237 GB, free: 27.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0009357/0.4569, allocations: 0.7036 MB / 0.5244 GB, free: 27.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.457, allocations: 7.625 kB / 0.5244 GB, free: 27.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.457, allocations: 6.219 kB / 0.5244 GB, free: 27.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003393/0.4573, allocations: 135.8 kB / 0.5245 GB, free: 27.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004067/0.4577, allocations: 112.1 kB / 0.5246 GB, free: 27.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002124/0.4599, allocations: 2.383 MB / 0.5269 GB, free: 25.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002754/0.4602, allocations: 21.12 kB / 0.527 GB, free: 25.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.153e-05/0.4602, allocations: 23.31 kB / 0.527 GB, free: 25.69 MB / 378.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: ind.i[1] = ind.i_start[1]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * 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): 1 system {(3,9,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002425/0.4605, allocations: 227.2 kB / 0.5272 GB, free: 25.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.421e-05/0.4605, allocations: 48.23 kB / 0.5272 GB, free: 25.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009136/0.4615, allocations: 0.6575 MB / 0.5279 GB, free: 25.22 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.4615, allocations: 10.47 kB / 0.5279 GB, free: 25.21 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.4615, allocations: 7.219 kB / 0.5279 GB, free: 25.21 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.4615, allocations: 3.422 kB / 0.5279 GB, free: 25.21 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001761/0.4633, allocations: 1.37 MB / 0.5292 GB, free: 24.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.4633, allocations: 3.469 kB / 0.5292 GB, free: 24.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003231/0.4636, allocations: 74.28 kB / 0.5293 GB, free: 24.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003456/0.464, allocations: 152.1 kB / 0.5295 GB, free: 24.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.143e-05/0.464, allocations: 17.34 kB / 0.5295 GB, free: 24.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001944/0.466, allocations: 2.366 MB / 0.5318 GB, free: 22.63 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.466, allocations: 0 / 0.5318 GB, free: 22.63 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001134/0.4671, allocations: 0.9839 MB / 0.5327 GB, free: 22.13 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.069e-05/0.4672, allocations: 130 kB / 0.5329 GB, free: 22.01 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.977e-05/0.4673, allocations: 7.094 kB / 0.5329 GB, free: 22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002276/0.4675, allocations: 24.7 kB / 0.5329 GB, free: 21.99 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.586e-05/0.4676, allocations: 32.69 kB / 0.5329 GB, free: 21.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.732e-05/0.4676, allocations: 24.94 kB / 0.533 GB, free: 21.98 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002284/0.4678, allocations: 288.8 kB / 0.5332 GB, free: 21.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4678, allocations: 0 / 0.5332 GB, free: 21.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000514/0.4684, allocations: 147.6 kB / 0.5334 GB, free: 21.82 MB / 378.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[2]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(3,9,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001139/0.4685, allocations: 117.3 kB / 0.5335 GB, free: 21.71 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008914/0.4694, allocations: 0.6585 MB / 0.5341 GB, free: 21.42 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4694, allocations: 0 / 0.5341 GB, free: 21.42 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005228/0.4699, allocations: 438.3 kB / 0.5345 GB, free: 21.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007461/0.4707, allocations: 125.6 kB / 0.5347 GB, free: 21.16 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001665/0.4724, allocations: 1.622 MB / 0.5363 GB, free: 20.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.4727, allocations: 0.9369 MB / 0.5372 GB, free: 19.44 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003097/0.473, allocations: 106.8 kB / 0.5373 GB, free: 19.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.544e-05/0.4731, allocations: 40.31 kB / 0.5373 GB, free: 19.41 MB / 378.7 MB Notification: Performance of SimCode: time 3.71e-07/0.4731, allocations: 0 / 0.5373 GB, free: 19.41 MB / 378.7 MB Notification: Performance of Templates: time 0.0107/0.4838, allocations: 6.403 MB / 0.5436 GB, free: 18.97 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe 2>&1)