Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.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.AC1ph_DC.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.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.001035/0.001036, allocations: 178.7 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.347/1.347, allocations: 225.7 MB / 243.2 MB, free: 8.496 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.0008938/0.0008939, allocations: 101.3 kB / 294.4 MB, free: 9.508 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.3118/0.3118, allocations: 38.12 MB / 383.6 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004748/0.0004748, allocations: 8.219 kB / 453.5 MB, free: 8.785 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4159/0.4164, allocations: 59.13 MB / 0.5006 GB, free: 38.99 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.007754/0.4242, allocations: 6.697 MB / 0.5071 GB, free: 37.1 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00349/0.4277, allocations: 2.014 MB / 0.5091 GB, free: 35.53 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001004/0.4287, allocations: 45.91 kB / 0.5091 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005354/0.4293, allocations: 120.2 kB / 0.5093 GB, free: 35.45 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00111/0.4304, allocations: 404.1 kB / 0.5096 GB, free: 35.23 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005754/0.431, allocations: 179.9 kB / 0.5098 GB, free: 35.14 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00208/0.4331, allocations: 1.67 MB / 0.5115 GB, free: 34.61 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004311/0.4335, allocations: 281.3 kB / 0.5117 GB, free: 34.53 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006802/0.4342, allocations: 398.9 kB / 0.5121 GB, free: 34.37 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006438/0.4349, allocations: 0.5232 MB / 0.5126 GB, free: 34.21 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.282e-05/0.435, allocations: 30.38 kB / 0.5126 GB, free: 34.21 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001198/0.4351, allocations: 34.88 kB / 0.5127 GB, free: 34.21 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002109/0.4353, allocations: 277.9 kB / 0.5129 GB, free: 34.12 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002762/0.4356, allocations: 357 kB / 0.5133 GB, free: 33.91 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005916/0.4362, allocations: 0.815 MB / 0.5141 GB, free: 33.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.4362, allocations: 5.938 kB / 0.5141 GB, free: 33.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.4362, allocations: 7.031 kB / 0.5141 GB, free: 33.67 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.4362, allocations: 0 / 0.5141 GB, free: 33.67 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.001513/0.4377, allocations: 0.916 MB / 0.515 GB, free: 33.05 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.4378, allocations: 11.19 kB / 0.515 GB, free: 33.05 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001341/0.4379, allocations: 75.3 kB / 0.5151 GB, free: 33.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008302/0.4388, allocations: 0.5503 MB / 0.5156 GB, free: 32.65 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000153/0.4389, allocations: 126.3 kB / 0.5157 GB, free: 32.56 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.76e-05/0.439, allocations: 60.55 kB / 0.5158 GB, free: 32.54 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001295/0.4403, allocations: 0.8022 MB / 0.5166 GB, free: 32.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.4404, allocations: 1.156 kB / 0.5166 GB, free: 32.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.872e-05/0.4404, allocations: 21.41 kB / 0.5166 GB, free: 32.17 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001429/0.4406, allocations: 33.5 kB / 0.5166 GB, free: 32.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001386/0.442, allocations: 0.7221 MB / 0.5173 GB, free: 31.95 MB / 378.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00376/0.4458, allocations: 2.759 MB / 0.52 GB, free: 30.29 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001623/0.4474, allocations: 0.9179 MB / 0.5209 GB, free: 29.86 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004944/0.4479, allocations: 344.5 kB / 0.5212 GB, free: 29.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.028e-05/0.448, allocations: 9.875 kB / 0.5213 GB, free: 29.73 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.448, allocations: 38.31 kB / 0.5213 GB, free: 29.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=38): time 2.936e-06/0.448, allocations: 2.781 kB / 0.5213 GB, free: 29.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=39): time 0.003442/0.4514, allocations: 2.02 MB / 0.5233 GB, free: 28.55 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.4515, allocations: 90.14 kB / 0.5233 GB, free: 28.45 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003843/0.4519, allocations: 424.5 kB / 0.5238 GB, free: 28.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.4519, allocations: 32.67 kB / 0.5238 GB, free: 28.22 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.4521, allocations: 317.5 kB / 0.5241 GB, free: 27.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.859e-05/0.4521, allocations: 138.2 kB / 0.5242 GB, free: 27.86 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.219e-05/0.4522, allocations: 11.06 kB / 0.5242 GB, free: 27.85 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.016e-05/0.4523, allocations: 359.4 kB / 0.5246 GB, free: 27.51 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004173/0.4527, allocations: 254 kB / 0.5248 GB, free: 27.44 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004513/0.4531, allocations: 364.8 kB / 0.5252 GB, free: 27.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008596/0.454, allocations: 0.6073 MB / 0.5258 GB, free: 26.93 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.454, allocations: 0 / 0.5258 GB, free: 26.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001146/0.4552, allocations: 0.8168 MB / 0.5266 GB, free: 26.55 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.4552, allocations: 6.031 kB / 0.5266 GB, free: 26.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.619e-06/0.4552, allocations: 6.391 kB / 0.5266 GB, free: 26.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002272/0.4555, allocations: 79.05 kB / 0.5266 GB, free: 26.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001353/0.4568, allocations: 377.6 kB / 0.527 GB, free: 26.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004366/0.4612, allocations: 6.156 MB / 0.533 GB, free: 20.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004176/0.4616, allocations: 44.53 kB / 0.5331 GB, free: 20.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.257e-05/0.4617, allocations: 20.12 kB / 0.5331 GB, free: 20.88 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002969/0.462, allocations: 246.1 kB / 0.5333 GB, free: 20.71 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.607e-05/0.4621, allocations: 43.66 kB / 0.5334 GB, free: 20.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001191/0.4632, allocations: 0.7581 MB / 0.5341 GB, free: 20.33 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.4633, allocations: 7.094 kB / 0.5341 GB, free: 20.33 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.4633, allocations: 3.094 kB / 0.5341 GB, free: 20.33 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.4633, allocations: 3.469 kB / 0.5341 GB, free: 20.33 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00202/0.4653, allocations: 1.546 MB / 0.5356 GB, free: 19.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.4653, allocations: 0 / 0.5356 GB, free: 19.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001542/0.4669, allocations: 407 kB / 0.536 GB, free: 19.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002159/0.4671, allocations: 83.03 kB / 0.5361 GB, free: 19.46 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.214e-05/0.4671, allocations: 13.78 kB / 0.5361 GB, free: 19.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001532/0.4687, allocations: 2.883 MB / 0.5389 GB, free: 16.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.4687, allocations: 3.938 kB / 0.5389 GB, free: 16.69 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001545/0.4703, allocations: 1.165 MB / 0.5401 GB, free: 16.11 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.083e-05/0.4704, allocations: 125.6 kB / 0.5402 GB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.198e-05/0.4704, allocations: 11.25 kB / 0.5402 GB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003536/0.4708, allocations: 47.66 kB / 0.5402 GB, free: 15.97 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.4709, allocations: 37.27 kB / 0.5403 GB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.438e-05/0.4709, allocations: 6.562 kB / 0.5403 GB, free: 15.96 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002498/0.4712, allocations: 299.5 kB / 0.5406 GB, free: 15.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4712, allocations: 0 / 0.5406 GB, free: 15.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005933/0.4718, allocations: 135.8 kB / 0.5407 GB, free: 15.8 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: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001281/0.4719, allocations: 113.1 kB / 0.5408 GB, free: 15.71 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002351/0.4743, allocations: 1.106 MB / 0.5419 GB, free: 15.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.4743, allocations: 8.375 kB / 0.5419 GB, free: 15.29 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001751/0.4761, allocations: 0.8279 MB / 0.5427 GB, free: 14.95 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007353/0.4768, allocations: 130 kB / 0.5428 GB, free: 14.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001991/0.4788, allocations: 1.758 MB / 0.5445 GB, free: 13.86 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.4792, allocations: 0.9537 MB / 0.5455 GB, free: 13.12 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003076/0.4795, allocations: 94.75 kB / 0.5455 GB, free: 13.11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.4796, allocations: 41.41 kB / 0.5456 GB, free: 13.1 MB / 378.7 MB Notification: Performance of SimCode: time 7.02e-07/0.4796, allocations: 0 / 0.5456 GB, free: 13.1 MB / 378.7 MB Notification: Performance of Templates: time 0.01409/0.4937, allocations: 7.218 MB / 0.5526 GB, free: 12.22 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe 2>&1)