Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.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.InverterToLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008496/0.0008498, allocations: 183.2 kB / 16.72 MB, free: 4.836 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.459/1.459, allocations: 225.7 MB / 243.2 MB, free: 8.5 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.0008184/0.0008186, allocations: 98.64 kB / 294.4 MB, free: 9.531 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.3613/0.3613, allocations: 38.12 MB / 383.6 MB, free: 40.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004957/0.000496, allocations: 11.98 kB / 453.5 MB, free: 8.793 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.36, allocations: 59.13 MB / 0.5006 GB, free: 38.85 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad): time 0.005985/0.366, allocations: 6.357 MB / 0.5068 GB, free: 37.23 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003073/0.3691, allocations: 2.2 MB / 0.509 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005285/0.3697, allocations: 44.97 kB / 0.509 GB, free: 35.49 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004877/0.3702, allocations: 113 kB / 0.5091 GB, free: 35.43 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000791/0.371, allocations: 334 kB / 0.5094 GB, free: 35.25 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005627/0.3716, allocations: 288.8 kB / 0.5097 GB, free: 35.09 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001667/0.3733, allocations: 1.657 MB / 0.5113 GB, free: 34.53 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004314/0.3737, allocations: 308.2 kB / 0.5116 GB, free: 34.44 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005376/0.3742, allocations: 450.1 kB / 0.512 GB, free: 34.27 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005747/0.3748, allocations: 0.5093 MB / 0.5125 GB, free: 34.11 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.804e-05/0.3749, allocations: 36.66 kB / 0.5126 GB, free: 34.11 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001198/0.3751, allocations: 40.91 kB / 0.5126 GB, free: 34.11 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002535/0.3753, allocations: 295.3 kB / 0.5129 GB, free: 34.01 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003356/0.3757, allocations: 386.8 kB / 0.5133 GB, free: 33.79 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006579/0.3763, allocations: 0.974 MB / 0.5142 GB, free: 33.54 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3763, allocations: 0 / 0.5142 GB, free: 33.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3763, allocations: 2.469 kB / 0.5142 GB, free: 33.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.041e-05/0.3764, allocations: 0 / 0.5142 GB, free: 33.54 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.002031/0.3784, allocations: 1.075 MB / 0.5153 GB, free: 32.85 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.3784, allocations: 11.44 kB / 0.5153 GB, free: 32.85 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001332/0.3786, allocations: 84.98 kB / 0.5154 GB, free: 32.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009462/0.3795, allocations: 0.6345 MB / 0.516 GB, free: 32.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003367/0.3799, allocations: 347 kB / 0.5163 GB, free: 32.14 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.38, allocations: 66.06 kB / 0.5164 GB, free: 32.11 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00207/0.3821, allocations: 1.096 MB / 0.5174 GB, free: 31.7 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.3821, allocations: 2.938 kB / 0.5174 GB, free: 31.7 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.414e-05/0.3822, allocations: 26.14 kB / 0.5175 GB, free: 31.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.3822, allocations: 15.03 kB / 0.5175 GB, free: 31.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002284/0.3845, allocations: 1.198 MB / 0.5187 GB, free: 31.35 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00391/0.3884, allocations: 3.266 MB / 0.5218 GB, free: 29.39 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001867/0.3903, allocations: 0.8301 MB / 0.5227 GB, free: 29.14 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001225/0.3915, allocations: 0.598 MB / 0.5232 GB, free: 28.96 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.159e-05/0.3916, allocations: 3.5 kB / 0.5232 GB, free: 28.96 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001284/0.3929, allocations: 0.6773 MB / 0.5239 GB, free: 28.72 MB / 378.7 MB Notification: Performance of pre-optimization done (n=49): time 2.404e-06/0.3929, allocations: 0 / 0.5239 GB, free: 28.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=49): time 0.003393/0.3963, allocations: 1.553 MB / 0.5254 GB, free: 28.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.956e-05/0.3964, allocations: 153.1 kB / 0.5256 GB, free: 28.13 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003765/0.3968, allocations: 385.6 kB / 0.5259 GB, free: 27.94 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.947e-05/0.3968, allocations: 39.89 kB / 0.526 GB, free: 27.9 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/0.397, allocations: 289.5 kB / 0.5262 GB, free: 27.66 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.3971, allocations: 168.2 kB / 0.5264 GB, free: 27.53 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.71e-05/0.3972, allocations: 10.97 kB / 0.5264 GB, free: 27.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.77e-05/0.3972, allocations: 360.2 kB / 0.5268 GB, free: 27.19 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000906/0.3982, allocations: 0.496 MB / 0.5272 GB, free: 27.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009511/0.3991, allocations: 0.603 MB / 0.5278 GB, free: 26.79 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001786/0.4009, allocations: 0.9855 MB / 0.5288 GB, free: 26.38 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.4009, allocations: 0 / 0.5288 GB, free: 26.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002191/0.4031, allocations: 1.179 MB / 0.5299 GB, free: 25.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.703e-05/0.4032, allocations: 61.45 kB / 0.53 GB, free: 25.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.4032, allocations: 3.062 kB / 0.53 GB, free: 25.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.82e-05/0.4033, allocations: 6.312 kB / 0.53 GB, free: 25.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005395/0.4087, allocations: 1.589 MB / 0.5316 GB, free: 25.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006455/0.4151, allocations: 4.835 MB / 0.5363 GB, free: 22.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007893/0.416, allocations: 136.2 kB / 0.5364 GB, free: 22.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.21e-05/0.4161, allocations: 42.2 kB / 0.5365 GB, free: 22.66 MB / 378.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 ($whenCondition1,system.initime,$PRE.inverter.modulator.gates[1],inverter.modulator.gates[1],$PRE.inverter.modulator.gates[2],inverter.modulator.gates[2],$PRE.inverter.modulator.gates[3],inverter.modulator.gates[3],$PRE.inverter.modulator.gates[4],inverter.modulator.gates[4],$PRE.inverter.modulator.sigdel_t,inverter.modulator.sigdel_t,$PRE.inverter.modulator.t0,inverter.modulator.t0) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0003908/0.4165, allocations: 250.8 kB / 0.5367 GB, free: 22.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.883e-05/0.4166, allocations: 53.28 kB / 0.5368 GB, free: 22.45 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002349/0.4189, allocations: 1.103 MB / 0.5378 GB, free: 22.13 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.4189, allocations: 5.969 kB / 0.5378 GB, free: 22.13 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.4189, allocations: 0 / 0.5378 GB, free: 22.13 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.4189, allocations: 8.531 kB / 0.5378 GB, free: 22.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003462/0.4224, allocations: 2.262 MB / 0.5401 GB, free: 21.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.4224, allocations: 3.094 kB / 0.5401 GB, free: 21.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006904/0.4294, allocations: 1.842 MB / 0.5419 GB, free: 20.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.637e-05/0.4294, allocations: 3.812 kB / 0.5419 GB, free: 20.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000104/0.4295, allocations: 19.95 kB / 0.5419 GB, free: 20.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.734e-06/0.4295, allocations: 8.547 kB / 0.5419 GB, free: 20.91 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.4295, allocations: 6.656 kB / 0.5419 GB, free: 20.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004023/0.4336, allocations: 1.875 MB / 0.5437 GB, free: 20.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003434/0.4339, allocations: 209.2 kB / 0.5439 GB, free: 20.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.4341, allocations: 27.75 kB / 0.5439 GB, free: 20.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006783/0.4347, allocations: 126.7 kB / 0.5441 GB, free: 20.04 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002527/0.435, allocations: 88.16 kB / 0.5442 GB, free: 20.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.467e-05/0.4351, allocations: 20.42 kB / 0.5442 GB, free: 20.03 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003454/0.4354, allocations: 264.6 kB / 0.5444 GB, free: 19.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4354, allocations: 1 kB / 0.5444 GB, free: 19.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006861/0.4361, allocations: 179.6 kB / 0.5446 GB, free: 19.86 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (52): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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.0001866/0.4363, allocations: 139.8 kB / 0.5447 GB, free: 19.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.007859/0.4442, allocations: 2.637 MB / 0.5473 GB, free: 19.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/0.4442, allocations: 1.125 kB / 0.5473 GB, free: 19.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00388/0.4481, allocations: 1.193 MB / 0.5485 GB, free: 19.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.4491, allocations: 127.9 kB / 0.5486 GB, free: 19.03 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003817/0.453, allocations: 1.925 MB / 0.5505 GB, free: 17.97 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004905/0.4535, allocations: 0.9305 MB / 0.5514 GB, free: 17.24 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006723/0.4542, allocations: 159.9 kB / 0.5515 GB, free: 17.19 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001841/0.4544, allocations: 38.59 kB / 0.5516 GB, free: 17.18 MB / 378.7 MB Notification: Performance of SimCode: time 1.082e-06/0.4544, allocations: 0 / 0.5516 GB, free: 17.18 MB / 378.7 MB Notification: Performance of Templates: time 0.01293/0.4673, allocations: 8.011 MB / 0.5594 GB, free: 10.58 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.makefile (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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe 2>&1)