Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.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.InitialSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState") translateModel(PowerSystems.Examples.Introductory.InitialSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 183.3 kB / 16.71 MB, free: 4.969 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.301/1.301, allocations: 225.7 MB / 243.2 MB, free: 8.512 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.0009652/0.0009653, allocations: 91.73 kB / 294.4 MB, free: 9.512 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.3018/0.3018, allocations: 38.12 MB / 383.6 MB, free: 40.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003444/0.0003444, allocations: 12 kB / 453.5 MB, free: 8.793 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3097, allocations: 59.13 MB / 0.5006 GB, free: 38.99 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.005021/0.3148, allocations: 4.578 MB / 0.5051 GB, free: 38.49 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00271/0.3175, allocations: 2.386 MB / 0.5074 GB, free: 36.49 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002689/0.3178, allocations: 27.03 kB / 0.5074 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002242/0.3181, allocations: 62.44 kB / 0.5075 GB, free: 36.44 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00061/0.3187, allocations: 232.7 kB / 0.5077 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005982/0.3193, allocations: 222.5 kB / 0.5079 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009155/0.3202, allocations: 0.8757 MB / 0.5088 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000896/0.3211, allocations: 0.7648 MB / 0.5095 GB, free: 35.34 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004086/0.3215, allocations: 211.6 kB / 0.5097 GB, free: 35.26 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007519/0.3223, allocations: 353.2 kB / 0.5101 GB, free: 35.16 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.978e-05/0.3224, allocations: 24.09 kB / 0.5101 GB, free: 35.15 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005927/0.323, allocations: 229.3 kB / 0.5103 GB, free: 35.09 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003124/0.3233, allocations: 216.1 kB / 0.5105 GB, free: 35.03 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003034/0.3236, allocations: 257 kB / 0.5107 GB, free: 34.88 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007457/0.3244, allocations: 0.6344 MB / 0.5114 GB, free: 34.69 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.3244, allocations: 1.188 kB / 0.5114 GB, free: 34.69 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3244, allocations: 5.281 kB / 0.5114 GB, free: 34.69 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.3244, allocations: 0 / 0.5114 GB, free: 34.69 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001098/0.3255, allocations: 0.6904 MB / 0.512 GB, free: 34.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.3256, allocations: 11.91 kB / 0.5121 GB, free: 34.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005097/0.3261, allocations: 89.97 kB / 0.5121 GB, free: 34.13 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005115/0.3266, allocations: 406.4 kB / 0.5125 GB, free: 33.84 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.323e-05/0.3266, allocations: 29.78 kB / 0.5126 GB, free: 33.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001341/0.3268, allocations: 53.98 kB / 0.5126 GB, free: 33.8 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009122/0.3277, allocations: 0.6805 MB / 0.5133 GB, free: 33.49 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.3277, allocations: 0 / 0.5133 GB, free: 33.49 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.895e-05/0.3278, allocations: 22.39 kB / 0.5133 GB, free: 33.47 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001509/0.3279, allocations: 50.83 kB / 0.5133 GB, free: 33.46 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008374/0.3288, allocations: 0.6627 MB / 0.514 GB, free: 33.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002709/0.3315, allocations: 2.442 MB / 0.5164 GB, free: 31.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005323/0.3321, allocations: 355.8 kB / 0.5167 GB, free: 31.5 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003401/0.3324, allocations: 255.6 kB / 0.517 GB, free: 31.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.687e-05/0.3325, allocations: 4.938 kB / 0.517 GB, free: 31.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.3325, allocations: 37.09 kB / 0.517 GB, free: 31.36 MB / 378.7 MB Notification: Performance of pre-optimization done (n=45): time 2.405e-06/0.3325, allocations: 0 / 0.517 GB, free: 31.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=46): time 0.002259/0.3348, allocations: 1.472 MB / 0.5184 GB, free: 30.61 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/0.3348, allocations: 82.89 kB / 0.5185 GB, free: 30.52 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002493/0.3351, allocations: 279.2 kB / 0.5188 GB, free: 30.36 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.3351, allocations: 32.61 kB / 0.5188 GB, free: 30.33 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.3352, allocations: 251.4 kB / 0.5191 GB, free: 30.12 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.074e-05/0.3353, allocations: 162.1 kB / 0.5192 GB, free: 29.99 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.289e-05/0.3354, allocations: 10.88 kB / 0.5192 GB, free: 29.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.054e-05/0.3354, allocations: 345.3 kB / 0.5195 GB, free: 29.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002732/0.3357, allocations: 222.6 kB / 0.5198 GB, free: 29.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003346/0.336, allocations: 360.8 kB / 0.5201 GB, free: 29.35 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006345/0.3367, allocations: 0.6247 MB / 0.5207 GB, free: 28.99 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3367, allocations: 3.938 kB / 0.5207 GB, free: 28.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001073/0.3378, allocations: 0.708 MB / 0.5214 GB, free: 28.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.3378, allocations: 9.906 kB / 0.5214 GB, free: 28.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007353/0.3386, allocations: 0.5282 MB / 0.5219 GB, free: 28.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003054/0.3389, allocations: 71.83 kB / 0.522 GB, free: 28.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003638/0.3392, allocations: 102.8 kB / 0.5221 GB, free: 28.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00121/0.3405, allocations: 1.601 MB / 0.5237 GB, free: 27.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002995/0.3408, allocations: 36.69 kB / 0.5237 GB, free: 27.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-05/0.3409, allocations: 21.19 kB / 0.5237 GB, free: 27.07 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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): 51 * Array equations: 2 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002498/0.3411, allocations: 219.8 kB / 0.5239 GB, free: 26.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.751e-05/0.3412, allocations: 35.84 kB / 0.524 GB, free: 26.89 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007531/0.342, allocations: 0.5528 MB / 0.5245 GB, free: 26.67 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.085e-05/0.342, allocations: 12.81 kB / 0.5245 GB, free: 26.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.342, allocations: 6.781 kB / 0.5245 GB, free: 26.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.342, allocations: 3.328 kB / 0.5245 GB, free: 26.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001552/0.3436, allocations: 1.196 MB / 0.5257 GB, free: 26.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.3436, allocations: 0 / 0.5257 GB, free: 26.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003701/0.344, allocations: 83 kB / 0.5258 GB, free: 26.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.344, allocations: 3.312 kB / 0.5258 GB, free: 26.04 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.869e-05/0.344, allocations: 7.219 kB / 0.5258 GB, free: 26.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.344, allocations: 3.219 kB / 0.5258 GB, free: 26.04 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.624e-06/0.344, allocations: 3.938 kB / 0.5258 GB, free: 26.03 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009897/0.345, allocations: 0.925 MB / 0.5267 GB, free: 25.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.507e-05/0.3451, allocations: 108.8 kB / 0.5268 GB, free: 25.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.962e-05/0.3451, allocations: 13.86 kB / 0.5268 GB, free: 25.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002079/0.3454, allocations: 23.33 kB / 0.5268 GB, free: 25.46 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.298e-05/0.3454, allocations: 29.72 kB / 0.5269 GB, free: 25.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-05/0.3455, allocations: 12.75 kB / 0.5269 GB, free: 25.45 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001416/0.3456, allocations: 193.7 kB / 0.5271 GB, free: 25.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3456, allocations: 0 / 0.5271 GB, free: 25.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004751/0.3461, allocations: 125.4 kB / 0.5272 GB, free: 25.32 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.i[3]) * 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: 2 * 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.0002168/0.3463, allocations: 134.5 kB / 0.5273 GB, free: 25.22 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008613/0.3472, allocations: 0.662 MB / 0.528 GB, free: 24.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3472, allocations: 0 / 0.528 GB, free: 24.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002763/0.3475, allocations: 263.8 kB / 0.5282 GB, free: 24.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004942/0.348, allocations: 81.81 kB / 0.5283 GB, free: 24.81 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001542/0.3495, allocations: 1.442 MB / 0.5297 GB, free: 23.95 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002738/0.3498, allocations: 0.8705 MB / 0.5305 GB, free: 23.24 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003101/0.3502, allocations: 124 kB / 0.5307 GB, free: 23.22 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.3503, allocations: 41.31 kB / 0.5307 GB, free: 23.21 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3503, allocations: 4 kB / 0.5307 GB, free: 23.21 MB / 378.7 MB Notification: Performance of Templates: time 0.00721/0.3575, allocations: 4.185 MB / 0.5348 GB, free: 22.9 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.makefile (rm -f PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.sim & ./PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe 2>&1)