Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.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.ReferenceSynchron,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron") translateModel(PowerSystems.Examples.Introductory.ReferenceSynchron,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 177.9 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.538/1.538, allocations: 225.7 MB / 243.2 MB, free: 8.477 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.0007492/0.0007494, allocations: 90.16 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.3029/0.3029, allocations: 38.13 MB / 383.6 MB, free: 40.34 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003851/0.0003851, allocations: 8 kB / 453.5 MB, free: 8.793 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3285, allocations: 59.14 MB / 0.5006 GB, free: 38.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceSynchron): time 0.005049/0.3336, allocations: 4.575 MB / 0.5051 GB, free: 38.35 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002741/0.3364, allocations: 2.387 MB / 0.5074 GB, free: 36.35 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003064/0.3367, allocations: 25.59 kB / 0.5074 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002336/0.3369, allocations: 58.23 kB / 0.5075 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006506/0.3376, allocations: 240.9 kB / 0.5077 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006559/0.3383, allocations: 222.6 kB / 0.5079 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009616/0.3392, allocations: 0.873 MB / 0.5088 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009362/0.3402, allocations: 0.7663 MB / 0.5095 GB, free: 35.2 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004152/0.3406, allocations: 214.1 kB / 0.5097 GB, free: 35.11 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005489/0.3412, allocations: 353.4 kB / 0.5101 GB, free: 35.01 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.725e-05/0.3412, allocations: 20.16 kB / 0.5101 GB, free: 35.01 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005639/0.3418, allocations: 230 kB / 0.5103 GB, free: 34.95 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002404/0.3421, allocations: 217 kB / 0.5105 GB, free: 34.89 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002599/0.3423, allocations: 263 kB / 0.5108 GB, free: 34.73 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006183/0.343, allocations: 0.631 MB / 0.5114 GB, free: 34.55 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.343, allocations: 0 / 0.5114 GB, free: 34.55 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.532e-06/0.343, allocations: 0 / 0.5114 GB, free: 34.55 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.343, allocations: 0 / 0.5114 GB, free: 34.55 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.001062/0.3441, allocations: 0.6933 MB / 0.512 GB, free: 34.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.3441, allocations: 8.438 kB / 0.5121 GB, free: 34.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004924/0.3446, allocations: 93.16 kB / 0.5121 GB, free: 33.99 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004928/0.3451, allocations: 400.6 kB / 0.5125 GB, free: 33.7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.724e-05/0.3451, allocations: 37.34 kB / 0.5126 GB, free: 33.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.3453, allocations: 50.3 kB / 0.5126 GB, free: 33.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000812/0.3461, allocations: 0.6726 MB / 0.5133 GB, free: 33.35 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.3461, allocations: 6.75 kB / 0.5133 GB, free: 33.35 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.255e-05/0.3462, allocations: 15.88 kB / 0.5133 GB, free: 33.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001493/0.3463, allocations: 48.41 kB / 0.5133 GB, free: 33.33 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008201/0.3471, allocations: 0.6679 MB / 0.514 GB, free: 33.13 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002858/0.35, allocations: 2.524 MB / 0.5165 GB, free: 31.46 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005365/0.3506, allocations: 340.9 kB / 0.5168 GB, free: 31.31 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002802/0.3509, allocations: 220.7 kB / 0.517 GB, free: 31.22 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.678e-05/0.3509, allocations: 16.3 kB / 0.517 GB, free: 31.21 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.3509, allocations: 44.41 kB / 0.517 GB, free: 31.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 2.355e-06/0.3509, allocations: 0 / 0.517 GB, free: 31.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.001939/0.3529, allocations: 1.345 MB / 0.5184 GB, free: 30.46 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.3529, allocations: 80.47 kB / 0.5184 GB, free: 30.36 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002661/0.3532, allocations: 302.8 kB / 0.5187 GB, free: 30.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.3532, allocations: 32.73 kB / 0.5188 GB, free: 30.17 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001375/0.3534, allocations: 258.3 kB / 0.519 GB, free: 29.95 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.311e-05/0.3535, allocations: 151.5 kB / 0.5191 GB, free: 29.83 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.046e-05/0.3535, allocations: 11.12 kB / 0.5192 GB, free: 29.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.12e-05/0.3536, allocations: 344.9 kB / 0.5195 GB, free: 29.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002399/0.3538, allocations: 199 kB / 0.5197 GB, free: 29.44 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003288/0.3542, allocations: 365.4 kB / 0.52 GB, free: 29.17 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005867/0.3548, allocations: 0.6052 MB / 0.5206 GB, free: 28.79 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3548, allocations: 2.938 kB / 0.5206 GB, free: 28.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0007483/0.3555, allocations: 0.6284 MB / 0.5212 GB, free: 28.54 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.3555, allocations: 9.844 kB / 0.5212 GB, free: 28.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.3556, allocations: 5.75 kB / 0.5212 GB, free: 28.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.3556, allocations: 8.656 kB / 0.5213 GB, free: 28.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004173/0.356, allocations: 116.7 kB / 0.5214 GB, free: 28.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.356, allocations: 5.312 kB / 0.5214 GB, free: 28.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002173/0.3563, allocations: 26.33 kB / 0.5214 GB, free: 28.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.48e-05/0.3563, allocations: 23.19 kB / 0.5214 GB, free: 28.52 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 55 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002004/0.3565, allocations: 211.2 kB / 0.5216 GB, free: 28.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.799e-05/0.3566, allocations: 44.23 kB / 0.5217 GB, free: 28.33 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006407/0.3572, allocations: 493 kB / 0.5221 GB, free: 28.13 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.141e-05/0.3573, allocations: 13.09 kB / 0.5221 GB, free: 28.13 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.3573, allocations: 2.875 kB / 0.5221 GB, free: 28.13 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.022e-05/0.3573, allocations: 3.188 kB / 0.5222 GB, free: 28.13 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001632/0.3589, allocations: 1.101 MB / 0.5232 GB, free: 27.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.359, allocations: 0 / 0.5232 GB, free: 27.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003368/0.3593, allocations: 72.06 kB / 0.5233 GB, free: 27.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.3593, allocations: 0 / 0.5233 GB, free: 27.54 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.882e-05/0.3594, allocations: 9.625 kB / 0.5233 GB, free: 27.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.3594, allocations: 6.844 kB / 0.5233 GB, free: 27.54 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.3594, allocations: 0 / 0.5233 GB, free: 27.54 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009316/0.3603, allocations: 0.8293 MB / 0.5241 GB, free: 27.12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.626e-05/0.3604, allocations: 113.2 kB / 0.5242 GB, free: 27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.391e-05/0.3605, allocations: 11.39 kB / 0.5242 GB, free: 26.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001877/0.3606, allocations: 19.56 kB / 0.5243 GB, free: 26.99 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.068e-05/0.3607, allocations: 27.77 kB / 0.5243 GB, free: 26.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-05/0.3608, allocations: 13.16 kB / 0.5243 GB, free: 26.97 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001826/0.3609, allocations: 213.2 kB / 0.5245 GB, free: 26.86 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.361, allocations: 0 / 0.5245 GB, free: 26.86 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005029/0.3615, allocations: 110.3 kB / 0.5246 GB, free: 26.84 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 (33): * Single equations (assignments): 30 * 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.0002182/0.3617, allocations: 144.1 kB / 0.5247 GB, free: 26.74 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005889/0.3623, allocations: 488.9 kB / 0.5252 GB, free: 26.6 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3623, allocations: 0 / 0.5252 GB, free: 26.6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000239/0.3625, allocations: 227.1 kB / 0.5254 GB, free: 26.53 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004975/0.363, allocations: 73.56 kB / 0.5255 GB, free: 26.49 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/0.3647, allocations: 1.382 MB / 0.5268 GB, free: 25.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.365, allocations: 0.869 MB / 0.5277 GB, free: 24.94 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000324/0.3653, allocations: 128.5 kB / 0.5278 GB, free: 24.93 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.793e-05/0.3654, allocations: 33.75 kB / 0.5279 GB, free: 24.92 MB / 378.7 MB Notification: Performance of SimCode: time 3.2e-07/0.3654, allocations: 0 / 0.5279 GB, free: 24.92 MB / 378.7 MB Notification: Performance of Templates: time 0.006932/0.3724, allocations: 3.59 MB / 0.5314 GB, free: 24.62 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.makefile (rm -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.sim & ./PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe 2>&1)