Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.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.0009288/0.0009287, allocations: 178.4 kB / 16.71 MB, free: 5.09 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.386/1.386, allocations: 225.7 MB / 243.2 MB, free: 8.453 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.0008429/0.000843, allocations: 97.23 kB / 294.4 MB, free: 9.48 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.3279/0.3279, allocations: 38.11 MB / 383.6 MB, free: 40.41 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003375/0.0003375, allocations: 11.98 kB / 453.5 MB, free: 8.773 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3918/0.3922, allocations: 59.13 MB / 0.5006 GB, free: 38.96 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.007726/0.4, allocations: 7.097 MB / 0.5075 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004268/0.4043, allocations: 3.603 MB / 0.511 GB, free: 33.63 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009235/0.4052, allocations: 44.75 kB / 0.5111 GB, free: 33.61 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000615/0.4059, allocations: 156.5 kB / 0.5112 GB, free: 33.53 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001475/0.4074, allocations: 0.5094 MB / 0.5117 GB, free: 33.27 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009084/0.4083, allocations: 324 kB / 0.512 GB, free: 33.12 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001828/0.4101, allocations: 1.86 MB / 0.5139 GB, free: 32.52 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001255/0.4114, allocations: 1.254 MB / 0.5151 GB, free: 31.63 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007254/0.4121, allocations: 453 kB / 0.5155 GB, free: 31.46 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009333/0.4131, allocations: 0.661 MB / 0.5162 GB, free: 31.25 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001638/0.4132, allocations: 43.53 kB / 0.5162 GB, free: 31.25 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008663/0.4141, allocations: 0.4964 MB / 0.5167 GB, free: 31.13 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003809/0.4145, allocations: 408.2 kB / 0.5171 GB, free: 31.01 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006542/0.4152, allocations: 486.1 kB / 0.5175 GB, free: 30.73 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001235/0.4164, allocations: 1.371 MB / 0.5189 GB, free: 30.37 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.4164, allocations: 0 / 0.5189 GB, free: 30.37 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.4164, allocations: 0 / 0.5189 GB, free: 30.37 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.254e-05/0.4165, allocations: 0 / 0.5189 GB, free: 30.37 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002029/0.4185, allocations: 1.199 MB / 0.5201 GB, free: 29.65 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.4185, allocations: 10.91 kB / 0.5201 GB, free: 29.65 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006114/0.4192, allocations: 141.6 kB / 0.5202 GB, free: 29.6 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008991/0.4201, allocations: 0.6564 MB / 0.5208 GB, free: 29.19 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001748/0.4202, allocations: 181.9 kB / 0.521 GB, free: 29.06 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000174/0.4204, allocations: 96.25 kB / 0.5211 GB, free: 29.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001798/0.4222, allocations: 1.384 MB / 0.5225 GB, free: 28.41 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.4223, allocations: 6.656 kB / 0.5225 GB, free: 28.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.878e-05/0.4224, allocations: 32.25 kB / 0.5225 GB, free: 28.39 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001338/0.4225, allocations: 63.03 kB / 0.5226 GB, free: 28.38 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001911/0.4244, allocations: 1.347 MB / 0.5239 GB, free: 27.96 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005275/0.4297, allocations: 4.974 MB / 0.5287 GB, free: 24.89 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001818/0.4315, allocations: 1.206 MB / 0.5299 GB, free: 24.43 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009312/0.4325, allocations: 0.6485 MB / 0.5305 GB, free: 24.21 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.494e-05/0.4326, allocations: 14.95 kB / 0.5306 GB, free: 24.2 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.4326, allocations: 42.09 kB / 0.5306 GB, free: 24.15 MB / 378.7 MB Notification: Performance of pre-optimization done (n=72): time 2.725e-06/0.4326, allocations: 0 / 0.5306 GB, free: 24.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=73): time 0.005011/0.4376, allocations: 3.301 MB / 0.5338 GB, free: 22.61 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.013e-05/0.4377, allocations: 84.52 kB / 0.5339 GB, free: 22.51 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003928/0.4381, allocations: 459.3 kB / 0.5343 GB, free: 22.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.234e-05/0.4381, allocations: 41.11 kB / 0.5344 GB, free: 22.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000159/0.4383, allocations: 397 kB / 0.5348 GB, free: 21.93 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/0.4384, allocations: 259.1 kB / 0.535 GB, free: 21.73 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.321e-05/0.4385, allocations: 15.12 kB / 0.535 GB, free: 21.72 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.458e-05/0.4385, allocations: 371.9 kB / 0.5354 GB, free: 21.38 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007414/0.4393, allocations: 0.5131 MB / 0.5359 GB, free: 21.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008115/0.4401, allocations: 0.7119 MB / 0.5366 GB, free: 20.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001623/0.4417, allocations: 1.256 MB / 0.5378 GB, free: 20.21 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.4418, allocations: 3.938 kB / 0.5378 GB, free: 20.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.003717/0.4455, allocations: 2.123 MB / 0.5399 GB, free: 19.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.4455, allocations: 6.188 kB / 0.5399 GB, free: 19.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003313/0.4488, allocations: 1.867 MB / 0.5417 GB, free: 18.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001657/0.4505, allocations: 0.6991 MB / 0.5424 GB, free: 18.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000574/0.4511, allocations: 151.5 kB / 0.5425 GB, free: 18.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01029/0.4614, allocations: 7.085 MB / 0.5494 GB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008349/0.4623, allocations: 88.39 kB / 0.5495 GB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.115e-05/0.4623, allocations: 32.7 kB / 0.5496 GB, free: 14.63 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (76): * Single equations (assignments): 73 * Array equations: 1 * Algorithm blocks: 0 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0005698/0.4629, allocations: 319.8 kB / 0.5499 GB, free: 14.42 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001605/0.4631, allocations: 62.42 kB / 0.5499 GB, free: 14.39 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002367/0.4655, allocations: 1.341 MB / 0.5512 GB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-05/0.4655, allocations: 17.05 kB / 0.5512 GB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.4655, allocations: 1.766 kB / 0.5512 GB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.4655, allocations: 8.75 kB / 0.5513 GB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003909/0.4694, allocations: 2.455 MB / 0.5537 GB, free: 12.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.4695, allocations: 1.219 kB / 0.5537 GB, free: 12.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00278/0.4723, allocations: 0.6427 MB / 0.5543 GB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.89e-05/0.4724, allocations: 31.55 kB / 0.5543 GB, free: 12.63 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.76e-05/0.4724, allocations: 19.69 kB / 0.5543 GB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008028/0.4732, allocations: 1.464 MB / 0.5558 GB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.4733, allocations: 5.281 kB / 0.5558 GB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003202/0.4765, allocations: 2.086 MB / 0.5578 GB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/0.4766, allocations: 124.9 kB / 0.5579 GB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.349e-05/0.4767, allocations: 18.86 kB / 0.5579 GB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004981/0.4772, allocations: 75.8 kB / 0.558 GB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001661/0.4774, allocations: 65.22 kB / 0.5581 GB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.051e-05/0.4775, allocations: 21.73 kB / 0.5581 GB, free: 10.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000326/0.4778, allocations: 311.4 kB / 0.5584 GB, free: 9.836 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4778, allocations: 0 / 0.5584 GB, free: 9.836 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009457/0.4788, allocations: 241 kB / 0.5586 GB, free: 9.805 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (67): * Single equations (assignments): 64 * Array equations: 1 * 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.0001916/0.479, allocations: 133.8 kB / 0.5588 GB, free: 9.691 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002688/0.4816, allocations: 1.599 MB / 0.5603 GB, free: 8.82 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.4817, allocations: 4.062 kB / 0.5603 GB, free: 8.816 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002372/0.484, allocations: 1.156 MB / 0.5614 GB, free: 7.707 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008343/0.4849, allocations: 151.7 kB / 0.5616 GB, free: 7.562 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003303/0.4882, allocations: 2.771 MB / 0.5643 GB, free: 4.754 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004592/0.4887, allocations: 1.075 MB / 0.5653 GB, free: 3.648 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005847/0.4893, allocations: 205.5 kB / 0.5655 GB, free: 3.445 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002201/0.4895, allocations: 55.42 kB / 0.5656 GB, free: 3.391 MB / 378.7 MB Notification: Performance of SimCode: time 7.42e-07/0.4895, allocations: 0 / 0.5656 GB, free: 3.391 MB / 378.7 MB Notification: Performance of Templates: time 0.02013/0.5096, allocations: 12.44 MB / 0.5777 GB, free: 7.012 MB / 394.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe 2>&1)