Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.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.Elementary.Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 177.3 kB / 16.71 MB, free: 5.094 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.324/1.324, allocations: 225.7 MB / 243.2 MB, free: 8.465 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.0008017/0.0008019, allocations: 92.09 kB / 294.4 MB, free: 9.52 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.3309/0.3309, allocations: 38.11 MB / 383.6 MB, free: 40.4 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003738/0.0003739, allocations: 12 kB / 453.5 MB, free: 8.801 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3274, allocations: 59.14 MB / 0.5006 GB, free: 38.93 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter): time 0.01023/0.3376, allocations: 7.2 MB / 0.5076 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004659/0.3424, allocations: 2.025 MB / 0.5096 GB, free: 35.08 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001104/0.3435, allocations: 57.31 kB / 0.5097 GB, free: 35.05 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004063/0.3439, allocations: 98.09 kB / 0.5098 GB, free: 35 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001415/0.3453, allocations: 393.2 kB / 0.5101 GB, free: 34.79 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008045/0.3462, allocations: 207.8 kB / 0.5103 GB, free: 34.68 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002604/0.3488, allocations: 1.636 MB / 0.5119 GB, free: 34.15 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005804/0.3494, allocations: 330.3 kB / 0.5122 GB, free: 34.05 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001015/0.3504, allocations: 414.2 kB / 0.5126 GB, free: 33.88 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009245/0.3513, allocations: 0.5158 MB / 0.5131 GB, free: 33.7 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001031/0.3515, allocations: 32.38 kB / 0.5132 GB, free: 33.7 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001608/0.3516, allocations: 28.44 kB / 0.5132 GB, free: 33.7 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003303/0.352, allocations: 289.8 kB / 0.5135 GB, free: 33.62 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004361/0.3524, allocations: 390.3 kB / 0.5139 GB, free: 33.38 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008444/0.3533, allocations: 0.8517 MB / 0.5147 GB, free: 33.13 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3533, allocations: 4 kB / 0.5147 GB, free: 33.13 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.3533, allocations: 0 / 0.5147 GB, free: 33.13 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.792e-05/0.3534, allocations: 0 / 0.5147 GB, free: 33.13 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.00226/0.3556, allocations: 1.01 MB / 0.5157 GB, free: 32.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.3557, allocations: 9.969 kB / 0.5157 GB, free: 32.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000211/0.3559, allocations: 86.81 kB / 0.5158 GB, free: 32.37 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.357, allocations: 0.5661 MB / 0.5163 GB, free: 32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001144/0.3571, allocations: 121.7 kB / 0.5164 GB, free: 31.9 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001341/0.3572, allocations: 65.56 kB / 0.5165 GB, free: 31.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002235/0.3595, allocations: 0.8672 MB / 0.5173 GB, free: 31.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.3595, allocations: 1.031 kB / 0.5173 GB, free: 31.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.629e-05/0.3596, allocations: 26.34 kB / 0.5174 GB, free: 31.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001418/0.3598, allocations: 45.16 kB / 0.5174 GB, free: 31.47 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001739/0.3615, allocations: 0.6263 MB / 0.518 GB, free: 31.28 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004597/0.3661, allocations: 2.783 MB / 0.5207 GB, free: 29.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002028/0.3682, allocations: 0.9281 MB / 0.5217 GB, free: 28.91 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008947/0.3691, allocations: 331.7 kB / 0.522 GB, free: 28.81 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.3691, allocations: 6.266 kB / 0.522 GB, free: 28.81 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008806/0.37, allocations: 358.5 kB / 0.5223 GB, free: 28.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=41): time 2.865e-06/0.37, allocations: 4 kB / 0.5223 GB, free: 28.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.005072/0.3751, allocations: 2.029 MB / 0.5243 GB, free: 27.49 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.3752, allocations: 117.9 kB / 0.5244 GB, free: 27.36 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007324/0.3759, allocations: 0.5052 MB / 0.5249 GB, free: 27.12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.869e-05/0.376, allocations: 40.33 kB / 0.5249 GB, free: 27.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002718/0.3763, allocations: 354.5 kB / 0.5253 GB, free: 26.8 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/0.3764, allocations: 146.1 kB / 0.5254 GB, free: 26.69 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.627e-05/0.3765, allocations: 11.12 kB / 0.5254 GB, free: 26.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.3766, allocations: 370.4 kB / 0.5258 GB, free: 26.35 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004304/0.377, allocations: 218.7 kB / 0.526 GB, free: 26.28 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000519/0.3776, allocations: 398.5 kB / 0.5264 GB, free: 26 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000919/0.3785, allocations: 0.6117 MB / 0.527 GB, free: 25.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.3785, allocations: 0 / 0.527 GB, free: 25.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00148/0.38, allocations: 0.8895 MB / 0.5278 GB, free: 25.14 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.921e-05/0.3801, allocations: 49.69 kB / 0.5279 GB, free: 25.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.3801, allocations: 2.906 kB / 0.5279 GB, free: 25.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000376/0.3805, allocations: 99.19 kB / 0.528 GB, free: 25.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005178/0.381, allocations: 102.8 kB / 0.5281 GB, free: 25.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00226/0.3833, allocations: 2.987 MB / 0.531 GB, free: 22.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005349/0.3838, allocations: 38.78 kB / 0.531 GB, free: 22.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.798e-05/0.3839, allocations: 38.55 kB / 0.5311 GB, free: 22.23 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 14 (system.initime,$whenCondition1,$PRE.dc_ac.modulator.gates[1],dc_ac.modulator.gates[1],$PRE.dc_ac.modulator.gates[2],dc_ac.modulator.gates[2],$PRE.dc_ac.modulator.gates[3],dc_ac.modulator.gates[3],$PRE.dc_ac.modulator.gates[4],dc_ac.modulator.gates[4],$PRE.dc_ac.modulator.sigdel_t,dc_ac.modulator.sigdel_t,$PRE.dc_ac.modulator.t0,dc_ac.modulator.t0) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004322/0.3844, allocations: 281.8 kB / 0.5313 GB, free: 22.04 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.3845, allocations: 59.16 kB / 0.5314 GB, free: 22 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00181/0.3863, allocations: 0.7249 MB / 0.5321 GB, free: 21.67 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-06/0.3863, allocations: 6.094 kB / 0.5321 GB, free: 21.67 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-06/0.3863, allocations: 2.969 kB / 0.5321 GB, free: 21.67 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.3864, allocations: 3.188 kB / 0.5321 GB, free: 21.67 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002898/0.3893, allocations: 1.557 MB / 0.5336 GB, free: 20.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.229e-06/0.3893, allocations: 0 / 0.5336 GB, free: 20.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003671/0.3897, allocations: 66.83 kB / 0.5337 GB, free: 20.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003279/0.39, allocations: 89 kB / 0.5338 GB, free: 20.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.058e-05/0.3901, allocations: 23.97 kB / 0.5338 GB, free: 20.76 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002141/0.3922, allocations: 2.977 MB / 0.5367 GB, free: 17.95 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.3922, allocations: 3.25 kB / 0.5367 GB, free: 17.95 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002479/0.3947, allocations: 1.109 MB / 0.5378 GB, free: 17.39 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002806/0.395, allocations: 171.7 kB / 0.538 GB, free: 17.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000134/0.3952, allocations: 24.59 kB / 0.538 GB, free: 17.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005384/0.3957, allocations: 55.94 kB / 0.538 GB, free: 17.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.3958, allocations: 31.05 kB / 0.5381 GB, free: 17.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-05/0.3959, allocations: 16.81 kB / 0.5381 GB, free: 17.21 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004884/0.3964, allocations: 355.8 kB / 0.5384 GB, free: 17.05 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3964, allocations: 0 / 0.5384 GB, free: 17.05 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001038/0.3975, allocations: 143.4 kB / 0.5386 GB, free: 17.04 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,meterDC.pav) * Number of discrete variables: 8 ($whenCondition1,dc_ac.modulator.gates[1],dc_ac.modulator.gates[2],dc_ac.modulator.gates[3],dc_ac.modulator.gates[4],dc_ac.modulator.sigdel_t,dc_ac.modulator.t0,system.initime) * Number of discrete states: 6 (dc_ac.modulator.t0,dc_ac.modulator.sigdel_t,dc_ac.modulator.gates[3],dc_ac.modulator.gates[4],dc_ac.modulator.gates[1],dc_ac.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (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.0001829/0.3976, allocations: 145 kB / 0.5387 GB, free: 16.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001812/0.3995, allocations: 0.9098 MB / 0.5396 GB, free: 16.44 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.3995, allocations: 1.375 kB / 0.5396 GB, free: 16.44 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001075/0.4006, allocations: 0.4987 MB / 0.5401 GB, free: 16.14 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/0.4018, allocations: 136.2 kB / 0.5402 GB, free: 16.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003241/0.405, allocations: 1.864 MB / 0.542 GB, free: 14.97 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005389/0.4056, allocations: 0.9679 MB / 0.543 GB, free: 14.24 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000485/0.4061, allocations: 108.4 kB / 0.5431 GB, free: 14.22 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.4062, allocations: 43.88 kB / 0.5431 GB, free: 14.21 MB / 378.7 MB Notification: Performance of SimCode: time 7.12e-07/0.4062, allocations: 0 / 0.5431 GB, free: 14.21 MB / 378.7 MB Notification: Performance of Templates: time 0.01993/0.4262, allocations: 7.037 MB / 0.55 GB, free: 13.72 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.pipe 2>&1)