Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Display.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.Introductory.Display,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Display") translateModel(PowerSystems.Examples.Introductory.Display,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Display") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 183.2 kB / 16.71 MB, free: 4.973 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.374/1.374, allocations: 225.7 MB / 243.2 MB, free: 8.535 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.0009459/0.000946, allocations: 104.3 kB / 294.4 MB, free: 9.539 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.3101/0.3101, allocations: 38.12 MB / 383.6 MB, free: 40.24 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003145/0.0003144, allocations: 12.22 kB / 453.5 MB, free: 8.805 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3014, allocations: 59.13 MB / 0.5006 GB, free: 39.06 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.007628/0.3091, allocations: 6.962 MB / 0.5074 GB, free: 36.89 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004787/0.3139, allocations: 3.387 MB / 0.5107 GB, free: 33.93 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001345/0.3153, allocations: 45.34 kB / 0.5107 GB, free: 33.91 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005922/0.3159, allocations: 106.2 kB / 0.5108 GB, free: 33.86 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001849/0.3178, allocations: 0.5352 MB / 0.5114 GB, free: 33.58 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007497/0.3185, allocations: 221.7 kB / 0.5116 GB, free: 33.47 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002035/0.3206, allocations: 1.815 MB / 0.5134 GB, free: 32.92 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00151/0.3221, allocations: 1.416 MB / 0.5147 GB, free: 31.85 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008189/0.3229, allocations: 432.7 kB / 0.5151 GB, free: 31.68 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009748/0.3239, allocations: 0.6145 MB / 0.5157 GB, free: 31.47 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001412/0.3241, allocations: 33.56 kB / 0.5158 GB, free: 31.47 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005545/0.3247, allocations: 222.6 kB / 0.516 GB, free: 31.42 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004307/0.3251, allocations: 444.4 kB / 0.5164 GB, free: 31.3 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007546/0.3259, allocations: 470.5 kB / 0.5169 GB, free: 31.02 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001408/0.3273, allocations: 1.122 MB / 0.518 GB, free: 30.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3273, allocations: 0 / 0.518 GB, free: 30.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3273, allocations: 0 / 0.518 GB, free: 30.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.003e-05/0.3274, allocations: 0 / 0.518 GB, free: 30.68 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: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.002533/0.3299, allocations: 1.05 MB / 0.519 GB, free: 29.95 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/0.33, allocations: 11.62 kB / 0.519 GB, free: 29.95 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001161/0.3311, allocations: 161.7 kB / 0.5192 GB, free: 29.9 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/0.3322, allocations: 0.5819 MB / 0.5197 GB, free: 29.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.437e-05/0.3322, allocations: 67.64 kB / 0.5198 GB, free: 29.49 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001948/0.3324, allocations: 108.2 kB / 0.5199 GB, free: 29.45 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001553/0.334, allocations: 1.15 MB / 0.521 GB, free: 28.94 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.023e-05/0.334, allocations: 6.906 kB / 0.521 GB, free: 28.94 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.49e-05/0.3341, allocations: 36.89 kB / 0.5211 GB, free: 28.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001651/0.3343, allocations: 77.98 kB / 0.5211 GB, free: 28.9 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001444/0.3357, allocations: 1 MB / 0.5221 GB, free: 28.61 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004392/0.3401, allocations: 4.373 MB / 0.5264 GB, free: 25.63 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.3412, allocations: 0.625 MB / 0.527 GB, free: 25.4 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004072/0.3416, allocations: 298.5 kB / 0.5273 GB, free: 25.29 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.641e-05/0.3417, allocations: 14.3 kB / 0.5273 GB, free: 25.28 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.3417, allocations: 42.28 kB / 0.5273 GB, free: 25.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=63): time 2.344e-06/0.3417, allocations: 3.219 kB / 0.5273 GB, free: 25.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=64): time 0.002492/0.3442, allocations: 1.724 MB / 0.529 GB, free: 24.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.3442, allocations: 91.77 kB / 0.5291 GB, free: 24.21 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004612/0.3447, allocations: 0.541 MB / 0.5296 GB, free: 23.96 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.476e-05/0.3448, allocations: 36.55 kB / 0.5297 GB, free: 23.93 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001952/0.345, allocations: 439.9 kB / 0.5301 GB, free: 23.58 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/0.3451, allocations: 223.5 kB / 0.5303 GB, free: 23.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.403e-05/0.3451, allocations: 19.47 kB / 0.5303 GB, free: 23.39 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.463e-05/0.3452, allocations: 379 kB / 0.5307 GB, free: 23.05 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003992/0.3456, allocations: 284.5 kB / 0.5309 GB, free: 22.96 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000482/0.3461, allocations: 0.6042 MB / 0.5315 GB, free: 22.45 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009397/0.3471, allocations: 0.9644 MB / 0.5325 GB, free: 21.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.3471, allocations: 3.125 kB / 0.5325 GB, free: 21.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001723/0.3488, allocations: 1.168 MB / 0.5336 GB, free: 21.29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.3489, allocations: 10.81 kB / 0.5336 GB, free: 21.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001166/0.35, allocations: 0.7086 MB / 0.5343 GB, free: 21.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007085/0.3507, allocations: 220 kB / 0.5345 GB, free: 20.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006825/0.3514, allocations: 225.9 kB / 0.5347 GB, free: 20.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00339/0.3548, allocations: 4.909 MB / 0.5395 GB, free: 16.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005572/0.3554, allocations: 36.25 kB / 0.5396 GB, free: 16.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.714e-05/0.3555, allocations: 46.66 kB / 0.5396 GB, free: 16.57 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 33 (system.initime,phasor_ind.color_p[1],phasor_ind.color_p[3],phasor_ind.color_n[1],phasor_ind.color_n[3],phasor_cap.color_p[1],phasor_cap.color_p[3],phasor_cap.color_n[1],phasor_cap.color_n[3],phasor_cap.color2[3],phasor_cap.color2[2],phasor_cap.color2[1],phasor_cap.color1[3],phasor_cap.color1[2],phasor_cap.color1[1],phasor_cap.colorR[3],phasor_cap.colorR[2],phasor_cap.colorR[1],phasor_cap.colorL[3],phasor_cap.colorL[2],phasor_cap.colorL[1],phasor_ind.color2[3],phasor_ind.color2[2],phasor_ind.color2[1],phasor_ind.color1[3],phasor_ind.color1[2],phasor_ind.color1[1],phasor_ind.colorR[3],phasor_ind.colorR[2],phasor_ind.colorR[1],phasor_ind.colorL[3],phasor_ind.colorL[2],phasor_ind.colorL[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (2,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004273/0.3559, allocations: 348.8 kB / 0.54 GB, free: 16.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.806e-05/0.356, allocations: 67.31 kB / 0.54 GB, free: 16.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009482/0.357, allocations: 0.6591 MB / 0.5407 GB, free: 16.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.357, allocations: 6.688 kB / 0.5407 GB, free: 16.04 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.357, allocations: 0 / 0.5407 GB, free: 16.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.357, allocations: 6.484 kB / 0.5407 GB, free: 16.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002175/0.3592, allocations: 1.532 MB / 0.5422 GB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.3592, allocations: 0 / 0.5422 GB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007415/0.3599, allocations: 171.7 kB / 0.5423 GB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.415e-06/0.36, allocations: 2.969 kB / 0.5423 GB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.673e-05/0.36, allocations: 21.27 kB / 0.5424 GB, free: 15.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.471e-06/0.36, allocations: 9.438 kB / 0.5424 GB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.36, allocations: 6.844 kB / 0.5424 GB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/0.3612, allocations: 1.016 MB / 0.5434 GB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001961/0.3614, allocations: 179.4 kB / 0.5435 GB, free: 14.63 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.919e-05/0.3615, allocations: 17.3 kB / 0.5436 GB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002908/0.3618, allocations: 25.16 kB / 0.5436 GB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.3619, allocations: 50.25 kB / 0.5436 GB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-05/0.362, allocations: 18.88 kB / 0.5436 GB, free: 14.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003098/0.3623, allocations: 356.1 kB / 0.544 GB, free: 14.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3623, allocations: 4 kB / 0.544 GB, free: 14.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007961/0.3631, allocations: 219.8 kB / 0.5442 GB, free: 14.41 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (ind.i[1],ind.i[2],ind.i[3],cap.v[1],cap.v[2],cap.v[3]) * Number of discrete variables: 9 (system.initime,phasor_ind.color_p[1],phasor_ind.color_p[3],phasor_ind.color_n[1],phasor_ind.color_n[3],phasor_cap.color_p[1],phasor_cap.color_p[3],phasor_cap.color_n[1],phasor_cap.color_n[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001356/0.3632, allocations: 128.8 kB / 0.5443 GB, free: 14.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001492/0.3647, allocations: 1.101 MB / 0.5454 GB, free: 13.71 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3648, allocations: 3.938 kB / 0.5454 GB, free: 13.71 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003937/0.3652, allocations: 309 kB / 0.5457 GB, free: 13.62 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008304/0.366, allocations: 143.5 kB / 0.5458 GB, free: 13.57 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003075/0.3691, allocations: 2.394 MB / 0.5482 GB, free: 12.11 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005875/0.3697, allocations: 1.067 MB / 0.5492 GB, free: 11.37 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006327/0.3703, allocations: 231.5 kB / 0.5494 GB, free: 11.33 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001832/0.3705, allocations: 58.44 kB / 0.5495 GB, free: 11.32 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.3705, allocations: 0 / 0.5495 GB, free: 11.32 MB / 378.7 MB Notification: Performance of Templates: time 0.01668/0.3872, allocations: 7.839 MB / 0.5571 GB, free: 9.574 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Display.makefile (rm -f PowerSystems_PowerSystems.Examples.Introductory.Display.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Display.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Display.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Display.sim & ./PowerSystems_PowerSystems.Examples.Introductory.Display -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Display.pipe 2>&1)