Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.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.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 183.1 kB / 16.71 MB, free: 4.969 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.361/1.361, allocations: 225.7 MB / 243.2 MB, free: 8.473 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.0008121/0.000812, allocations: 105.3 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.3445/0.3445, allocations: 38.12 MB / 383.6 MB, free: 40.33 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005781/0.0005782, allocations: 8 kB / 453.5 MB, free: 8.777 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.3694, allocations: 59.14 MB / 0.5006 GB, free: 38.97 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.006557/0.3761, allocations: 6.832 MB / 0.5073 GB, free: 36.99 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004003/0.3801, allocations: 3.522 MB / 0.5107 GB, free: 33.91 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006146/0.3807, allocations: 37.88 kB / 0.5108 GB, free: 33.89 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005352/0.3813, allocations: 143 kB / 0.5109 GB, free: 33.82 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001239/0.3825, allocations: 0.5161 MB / 0.5114 GB, free: 33.56 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007971/0.3833, allocations: 319.3 kB / 0.5117 GB, free: 33.41 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001639/0.385, allocations: 1.854 MB / 0.5135 GB, free: 32.82 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001187/0.3862, allocations: 1.247 MB / 0.5147 GB, free: 31.94 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007952/0.387, allocations: 449 kB / 0.5152 GB, free: 31.77 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001087/0.3881, allocations: 0.7024 MB / 0.5158 GB, free: 31.56 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001496/0.3883, allocations: 48.5 kB / 0.5159 GB, free: 31.56 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001356/0.3896, allocations: 0.5893 MB / 0.5165 GB, free: 31.41 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004699/0.3901, allocations: 420.4 kB / 0.5169 GB, free: 31.29 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005426/0.3907, allocations: 493.8 kB / 0.5173 GB, free: 31.01 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001509/0.3922, allocations: 1.441 MB / 0.5187 GB, free: 30.62 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.3922, allocations: 4 kB / 0.5187 GB, free: 30.62 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.3922, allocations: 0 / 0.5187 GB, free: 30.62 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.267e-05/0.3922, allocations: 2.844 kB / 0.5188 GB, free: 30.62 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.002311/0.3945, allocations: 1.222 MB / 0.5199 GB, free: 29.9 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.3946, allocations: 11.56 kB / 0.52 GB, free: 29.9 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006121/0.3952, allocations: 138.2 kB / 0.5201 GB, free: 29.85 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009546/0.3962, allocations: 0.6611 MB / 0.5207 GB, free: 29.45 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001729/0.3964, allocations: 180.9 kB / 0.5209 GB, free: 29.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001686/0.3965, allocations: 92.36 kB / 0.521 GB, free: 29.28 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001897/0.3984, allocations: 1.424 MB / 0.5224 GB, free: 28.72 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.438e-05/0.3985, allocations: 0 / 0.5224 GB, free: 28.72 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.474e-05/0.3986, allocations: 33.22 kB / 0.5224 GB, free: 28.7 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001844/0.3988, allocations: 78.34 kB / 0.5225 GB, free: 28.69 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0022/0.401, allocations: 1.571 MB / 0.524 GB, free: 28.21 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005686/0.4067, allocations: 4.466 MB / 0.5284 GB, free: 25.79 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00192/0.4086, allocations: 1.256 MB / 0.5296 GB, free: 25.35 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001075/0.4097, allocations: 0.8047 MB / 0.5304 GB, free: 25.07 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.216e-05/0.4098, allocations: 13.36 kB / 0.5304 GB, free: 25.06 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.4098, allocations: 42.78 kB / 0.5305 GB, free: 25.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=101): time 3.326e-06/0.4098, allocations: 0 / 0.5305 GB, free: 25.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=102): time 0.005838/0.4157, allocations: 3.966 MB / 0.5343 GB, free: 23.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/0.4157, allocations: 84.8 kB / 0.5344 GB, free: 23.15 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003816/0.4161, allocations: 396.9 kB / 0.5348 GB, free: 22.96 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.465e-05/0.4162, allocations: 44.83 kB / 0.5348 GB, free: 22.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/0.4164, allocations: 347.8 kB / 0.5352 GB, free: 22.63 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002192/0.4166, allocations: 350.5 kB / 0.5355 GB, free: 22.36 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.069e-05/0.4166, allocations: 19.22 kB / 0.5355 GB, free: 22.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.4167, allocations: 382.5 kB / 0.5359 GB, free: 22 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009951/0.4177, allocations: 0.6109 MB / 0.5365 GB, free: 21.81 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001036/0.4188, allocations: 0.7712 MB / 0.5372 GB, free: 21.46 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00199/0.4208, allocations: 1.417 MB / 0.5386 GB, free: 20.86 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.4208, allocations: 2.938 kB / 0.5386 GB, free: 20.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002523/0.4233, allocations: 1.643 MB / 0.5402 GB, free: 20.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.4234, allocations: 6.219 kB / 0.5402 GB, free: 20.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.4234, allocations: 3.5 kB / 0.5402 GB, free: 20.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001501/0.4235, allocations: 40.05 kB / 0.5403 GB, free: 20.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002481/0.426, allocations: 0.6253 MB / 0.5409 GB, free: 20.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004898/0.4309, allocations: 6.404 MB / 0.5471 GB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008706/0.4318, allocations: 90.86 kB / 0.5472 GB, free: 14.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.031e-05/0.4319, allocations: 33.06 kB / 0.5472 GB, free: 14.43 MB / 378.7 MB 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 (104): * Single equations (assignments): 97 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000577/0.4325, allocations: 321.5 kB / 0.5476 GB, free: 14.22 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001714/0.4327, allocations: 76.41 kB / 0.5476 GB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002827/0.4355, allocations: 1.632 MB / 0.5492 GB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.094e-05/0.4356, allocations: 26.92 kB / 0.5492 GB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.4356, allocations: 2.031 kB / 0.5492 GB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.4356, allocations: 5.047 kB / 0.5493 GB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004583/0.4402, allocations: 2.919 MB / 0.5521 GB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/0.4402, allocations: 2.25 kB / 0.5521 GB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00291/0.4432, allocations: 0.6804 MB / 0.5528 GB, free: 12.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001234/0.4433, allocations: 33.22 kB / 0.5528 GB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.052e-05/0.4434, allocations: 27.22 kB / 0.5528 GB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008678/0.4443, allocations: 1.481 MB / 0.5543 GB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.4443, allocations: 2.75 kB / 0.5543 GB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004031/0.4483, allocations: 2.604 MB / 0.5568 GB, free: 9.551 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001818/0.4485, allocations: 134.2 kB / 0.5569 GB, free: 9.422 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/0.4486, allocations: 25.7 kB / 0.557 GB, free: 9.406 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006155/0.4493, allocations: 81.89 kB / 0.557 GB, free: 9.395 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002412/0.4495, allocations: 84.23 kB / 0.5571 GB, free: 9.371 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.773e-05/0.4496, allocations: 24.45 kB / 0.5572 GB, free: 9.367 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003591/0.45, allocations: 274.8 kB / 0.5574 GB, free: 9.227 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.45, allocations: 1.219 kB / 0.5574 GB, free: 9.227 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001041/0.451, allocations: 240.6 kB / 0.5576 GB, free: 9.195 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],meterDC.pav) * 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 (86): * Single equations (assignments): 81 * Array equations: 3 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000316/0.4513, allocations: 172.5 kB / 0.5578 GB, free: 9.074 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004391/0.4557, allocations: 2.005 MB / 0.5598 GB, free: 8.477 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.4558, allocations: 1.469 kB / 0.5598 GB, free: 8.477 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003012/0.4588, allocations: 1.346 MB / 0.5611 GB, free: 7.984 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.4598, allocations: 140.8 kB / 0.5612 GB, free: 7.871 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00428/0.4641, allocations: 3.113 MB / 0.5643 GB, free: 4.699 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004626/0.4646, allocations: 1.084 MB / 0.5653 GB, free: 3.59 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007383/0.4653, allocations: 269.6 kB / 0.5656 GB, free: 3.324 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002205/0.4656, allocations: 59.44 kB / 0.5656 GB, free: 3.266 MB / 378.7 MB Notification: Performance of SimCode: time 1.302e-06/0.4656, allocations: 0 / 0.5656 GB, free: 3.266 MB / 378.7 MB Notification: Performance of Templates: time 0.01765/0.4832, allocations: 10.06 MB / 0.5755 GB, free: 9.258 MB / 394.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe 2>&1)