Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.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.Chopper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001454/0.00146, allocations: 181.8 kB / 16.71 MB, free: 4.844 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.489/1.489, allocations: 225.7 MB / 243.2 MB, free: 10.2 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.0008171/0.0008168, allocations: 100.1 kB / 294.4 MB, free: 9.719 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.344/0.344, allocations: 38.12 MB / 383.6 MB, free: 40.6 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002964/0.0002965, allocations: 12 kB / 453.5 MB, free: 8.809 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3088, allocations: 59.13 MB / 0.5006 GB, free: 38.95 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper): time 0.008392/0.3172, allocations: 6.54 MB / 0.507 GB, free: 37.22 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004191/0.3215, allocations: 2.23 MB / 0.5092 GB, free: 35.45 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001717/0.3232, allocations: 31.47 kB / 0.5092 GB, free: 35.44 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001513/0.3248, allocations: 205 kB / 0.5094 GB, free: 35.34 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001897/0.3267, allocations: 349.7 kB / 0.5097 GB, free: 35.14 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008347/0.3276, allocations: 194.5 kB / 0.5099 GB, free: 35.02 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002737/0.3303, allocations: 1.42 MB / 0.5113 GB, free: 34.5 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008229/0.3312, allocations: 420 kB / 0.5117 GB, free: 34.35 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001014/0.3322, allocations: 379.8 kB / 0.5121 GB, free: 34.2 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001141/0.3334, allocations: 452.5 kB / 0.5125 GB, free: 34.03 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002171/0.3336, allocations: 36.5 kB / 0.5125 GB, free: 34.03 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003784/0.334, allocations: 36.38 kB / 0.5126 GB, free: 34.03 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004002/0.3344, allocations: 219.6 kB / 0.5128 GB, free: 33.95 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005051/0.3349, allocations: 375.9 kB / 0.5131 GB, free: 33.72 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007939/0.3357, allocations: 0.9638 MB / 0.5141 GB, free: 33.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.3358, allocations: 6.969 kB / 0.5141 GB, free: 33.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3358, allocations: 0 / 0.5141 GB, free: 33.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.528e-05/0.3358, allocations: 0 / 0.5141 GB, free: 33.46 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.001658/0.3375, allocations: 0.916 MB / 0.515 GB, free: 32.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.3375, allocations: 8.688 kB / 0.515 GB, free: 32.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001199/0.3376, allocations: 72.84 kB / 0.515 GB, free: 32.81 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000896/0.3385, allocations: 0.6245 MB / 0.5157 GB, free: 32.39 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000123/0.3387, allocations: 111.8 kB / 0.5158 GB, free: 32.31 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.735e-05/0.3388, allocations: 62.59 kB / 0.5158 GB, free: 32.29 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/0.3399, allocations: 0.761 MB / 0.5166 GB, free: 31.93 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.34, allocations: 3.938 kB / 0.5166 GB, free: 31.92 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.438e-05/0.34, allocations: 25.91 kB / 0.5166 GB, free: 31.9 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.811e-05/0.34, allocations: 16.53 kB / 0.5166 GB, free: 31.9 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001319/0.3414, allocations: 0.6277 MB / 0.5172 GB, free: 31.69 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002964/0.3443, allocations: 2.473 MB / 0.5196 GB, free: 30.04 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007924/0.3451, allocations: 424.2 kB / 0.52 GB, free: 29.82 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000358/0.3455, allocations: 203.1 kB / 0.5202 GB, free: 29.74 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.825e-05/0.3456, allocations: 2.844 kB / 0.5202 GB, free: 29.74 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003815/0.3459, allocations: 248.5 kB / 0.5205 GB, free: 29.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=36): time 2.454e-06/0.346, allocations: 6.906 kB / 0.5205 GB, free: 29.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.002596/0.3486, allocations: 0.8744 MB / 0.5213 GB, free: 29.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.3486, allocations: 135.3 kB / 0.5215 GB, free: 29.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003569/0.349, allocations: 395.6 kB / 0.5218 GB, free: 28.89 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.349, allocations: 32.7 kB / 0.5219 GB, free: 28.86 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.3492, allocations: 316.1 kB / 0.5222 GB, free: 28.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.908e-05/0.3493, allocations: 125.4 kB / 0.5223 GB, free: 28.51 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.682e-05/0.3493, allocations: 8 kB / 0.5223 GB, free: 28.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.4e-05/0.3494, allocations: 356.3 kB / 0.5226 GB, free: 28.17 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002522/0.3496, allocations: 128.9 kB / 0.5228 GB, free: 28.12 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002832/0.3499, allocations: 244.8 kB / 0.523 GB, free: 27.94 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001234/0.3512, allocations: 0.6526 MB / 0.5236 GB, free: 27.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.3512, allocations: 3 kB / 0.5236 GB, free: 27.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001085/0.3523, allocations: 0.561 MB / 0.5242 GB, free: 27.35 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.3523, allocations: 6.562 kB / 0.5242 GB, free: 27.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.3523, allocations: 6.734 kB / 0.5242 GB, free: 27.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003836/0.3527, allocations: 149.7 kB / 0.5243 GB, free: 27.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002653/0.353, allocations: 73.69 kB / 0.5244 GB, free: 27.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002521/0.3555, allocations: 2.053 MB / 0.5264 GB, free: 25.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003311/0.3559, allocations: 56.19 kB / 0.5265 GB, free: 25.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.715e-05/0.3559, allocations: 18.53 kB / 0.5265 GB, free: 25.55 MB / 378.7 MB Warning: Assuming fixed start value for the following 2 variables: chopper.modulator.t0:DISCRETE(unit = "s" fixed = true protected = true ) type: Real chopper.modulator.t1:DISCRETE(unit = "s" fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 8 (system.initime,$whenCondition1,$PRE.chopper.modulator.t0,$PRE.chopper.modulator.t1,chopper.modulator.gate,chopper.modulator.t0,chopper.modulator.t1,chopper.chopper.diode.on) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0003211/0.3562, allocations: 242.7 kB / 0.5267 GB, free: 25.38 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.263e-05/0.3563, allocations: 53.22 kB / 0.5268 GB, free: 25.35 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001051/0.3573, allocations: 485.8 kB / 0.5272 GB, free: 25.14 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.3574, allocations: 5.25 kB / 0.5272 GB, free: 25.14 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.3574, allocations: 4 kB / 0.5272 GB, free: 25.14 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.3574, allocations: 6.219 kB / 0.5272 GB, free: 25.14 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006346/0.358, allocations: 0.6751 MB / 0.5279 GB, free: 24.67 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.358, allocations: 3.312 kB / 0.5279 GB, free: 24.67 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002251/0.3583, allocations: 48.92 kB / 0.528 GB, free: 24.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003625/0.3586, allocations: 140.4 kB / 0.5281 GB, free: 24.62 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.659e-05/0.3587, allocations: 13.78 kB / 0.5281 GB, free: 24.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002273/0.361, allocations: 2.024 MB / 0.5301 GB, free: 22.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.361, allocations: 3.938 kB / 0.5301 GB, free: 22.92 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001323/0.3623, allocations: 0.6817 MB / 0.5307 GB, free: 22.61 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001557/0.3625, allocations: 149.6 kB / 0.5309 GB, free: 22.46 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.455e-05/0.3625, allocations: 10.33 kB / 0.5309 GB, free: 22.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/0.3628, allocations: 16.36 kB / 0.5309 GB, free: 22.46 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.3629, allocations: 40.56 kB / 0.531 GB, free: 22.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.451e-05/0.3629, allocations: 19.94 kB / 0.531 GB, free: 22.44 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002491/0.3632, allocations: 272.2 kB / 0.5312 GB, free: 22.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3632, allocations: 2.781 kB / 0.5312 GB, free: 22.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005945/0.3638, allocations: 170.5 kB / 0.5314 GB, free: 22.25 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (meterDCin.pav,meterDCout.pav,load.i) * Number of discrete variables: 6 ($whenCondition1,chopper.modulator.gate,chopper.modulator.t0,chopper.modulator.t1,chopper.chopper.diode.on,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001363/0.3639, allocations: 110.8 kB / 0.5315 GB, free: 22.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009809/0.3649, allocations: 0.4969 MB / 0.532 GB, free: 21.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.3649, allocations: 2.875 kB / 0.532 GB, free: 21.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004807/0.3654, allocations: 342.2 kB / 0.5323 GB, free: 21.7 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006654/0.3661, allocations: 148 kB / 0.5325 GB, free: 21.65 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002049/0.3681, allocations: 1.577 MB / 0.534 GB, free: 20.67 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003692/0.3685, allocations: 0.9253 MB / 0.5349 GB, free: 19.94 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003014/0.3688, allocations: 85.8 kB / 0.535 GB, free: 19.92 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.346e-05/0.3689, allocations: 36.78 kB / 0.535 GB, free: 19.91 MB / 378.7 MB Notification: Performance of SimCode: time 4.71e-07/0.3689, allocations: 0 / 0.535 GB, free: 19.91 MB / 378.7 MB Notification: Performance of Templates: time 0.01511/0.384, allocations: 7.612 MB / 0.5425 GB, free: 19.42 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe 2>&1)