Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.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.Generation.TurbineGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 183.7 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.305/1.305, allocations: 225.7 MB / 243.2 MB, free: 10.23 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.0008491/0.0008492, allocations: 100.5 kB / 294.4 MB, free: 9.754 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.3374/0.3374, allocations: 38.12 MB / 383.6 MB, free: 40.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003327/0.0003327, allocations: 15.98 kB / 453.5 MB, free: 8.844 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3064, allocations: 59.13 MB / 0.5006 GB, free: 38.93 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.01235/0.3188, allocations: 10.2 MB / 0.5106 GB, free: 34.57 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00754/0.3264, allocations: 5.578 MB / 0.516 GB, free: 29.8 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001335/0.3278, allocations: 69.59 kB / 0.5161 GB, free: 29.77 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008223/0.3286, allocations: 281.5 kB / 0.5163 GB, free: 29.62 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002052/0.3307, allocations: 0.8243 MB / 0.5171 GB, free: 29.2 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001106/0.3318, allocations: 432.7 kB / 0.5176 GB, free: 28.99 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00251/0.3343, allocations: 2.774 MB / 0.5203 GB, free: 28.12 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002297/0.3366, allocations: 2.105 MB / 0.5223 GB, free: 26.51 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001257/0.3379, allocations: 0.6296 MB / 0.5229 GB, free: 26.25 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001185/0.3391, allocations: 0.8651 MB / 0.5238 GB, free: 25.97 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001188/0.3392, allocations: 54.59 kB / 0.5238 GB, free: 25.97 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008982/0.3401, allocations: 0.4905 MB / 0.5243 GB, free: 25.83 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000391/0.3405, allocations: 0.5788 MB / 0.5249 GB, free: 25.66 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005055/0.341, allocations: 0.6465 MB / 0.5255 GB, free: 25.28 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001503/0.3426, allocations: 1.803 MB / 0.5273 GB, free: 24.77 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.3426, allocations: 2.906 kB / 0.5273 GB, free: 24.77 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3426, allocations: 0 / 0.5273 GB, free: 24.77 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.557e-05/0.3426, allocations: 0 / 0.5273 GB, free: 24.77 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: 298 * Number of variables: 298 Notification: Performance of Generate backend data structure: time 0.002211/0.3448, allocations: 1.39 MB / 0.5286 GB, free: 23.87 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.3449, allocations: 12.91 kB / 0.5286 GB, free: 23.87 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001353/0.3462, allocations: 272.2 kB / 0.5289 GB, free: 23.79 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001456/0.3477, allocations: 0.9035 MB / 0.5298 GB, free: 23.28 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.172e-05/0.3478, allocations: 82.09 kB / 0.5299 GB, free: 23.24 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002689/0.3481, allocations: 134.9 kB / 0.53 GB, free: 23.2 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00181/0.3499, allocations: 1.478 MB / 0.5314 GB, free: 22.56 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.267e-05/0.3499, allocations: 5.172 kB / 0.5314 GB, free: 22.56 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.849e-05/0.35, allocations: 44.98 kB / 0.5315 GB, free: 22.53 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002482/0.3503, allocations: 100.6 kB / 0.5316 GB, free: 22.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001585/0.3519, allocations: 1.257 MB / 0.5328 GB, free: 22.11 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005669/0.3575, allocations: 5.677 MB / 0.5384 GB, free: 18.38 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007007/0.3583, allocations: 0.5889 MB / 0.5389 GB, free: 18.13 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000448/0.3587, allocations: 397.3 kB / 0.5393 GB, free: 17.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.652e-05/0.3588, allocations: 10.97 kB / 0.5393 GB, free: 17.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.3588, allocations: 38.16 kB / 0.5394 GB, free: 17.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=67): time 2.514e-06/0.3588, allocations: 0 / 0.5394 GB, free: 17.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=75): time 0.006682/0.3655, allocations: 3.734 MB / 0.543 GB, free: 16.03 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.3656, allocations: 83.7 kB / 0.5431 GB, free: 15.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007315/0.3663, allocations: 0.7246 MB / 0.5438 GB, free: 15.63 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.09e-05/0.3664, allocations: 44.86 kB / 0.5438 GB, free: 15.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002656/0.3666, allocations: 0.5915 MB / 0.5444 GB, free: 15.12 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001481/0.3668, allocations: 273.6 kB / 0.5447 GB, free: 14.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.141e-05/0.3668, allocations: 23.22 kB / 0.5447 GB, free: 14.89 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.367, allocations: 404.4 kB / 0.5451 GB, free: 14.54 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005219/0.3675, allocations: 383.6 kB / 0.5454 GB, free: 14.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006586/0.3682, allocations: 0.6622 MB / 0.5461 GB, free: 13.94 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/0.3693, allocations: 1.132 MB / 0.5472 GB, free: 13.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.3694, allocations: 3.156 kB / 0.5472 GB, free: 13.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003312/0.3727, allocations: 1.711 MB / 0.5489 GB, free: 12.58 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.3727, allocations: 8.906 kB / 0.5489 GB, free: 12.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002641/0.3754, allocations: 1.31 MB / 0.5502 GB, free: 12.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001913/0.3773, allocations: 0.5726 MB / 0.5507 GB, free: 11.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006055/0.3779, allocations: 172.6 kB / 0.5509 GB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01065/0.3886, allocations: 9.468 MB / 0.5601 GB, free: 4.949 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008419/0.3894, allocations: 47.94 kB / 0.5602 GB, free: 4.934 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.7e-05/0.3895, allocations: 37.88 kB / 0.5602 GB, free: 4.93 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (94): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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,4,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0006496/0.3902, allocations: 394.6 kB / 0.5606 GB, free: 4.688 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.3903, allocations: 88.72 kB / 0.5607 GB, free: 4.641 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002267/0.3926, allocations: 1.254 MB / 0.5619 GB, free: 4.117 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.776e-06/0.3926, allocations: 8.062 kB / 0.5619 GB, free: 4.117 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.3926, allocations: 4.375 kB / 0.5619 GB, free: 4.117 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/0.3926, allocations: 4.078 kB / 0.5619 GB, free: 4.117 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003882/0.3965, allocations: 2.416 MB / 0.5643 GB, free: 2.633 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.3965, allocations: 2.25 kB / 0.5643 GB, free: 2.633 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004577/0.397, allocations: 105.5 kB / 0.5644 GB, free: 2.609 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009996/0.398, allocations: 379.9 kB / 0.5647 GB, free: 2.395 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.803e-05/0.3981, allocations: 29.55 kB / 0.5648 GB, free: 2.375 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007154/0.4052, allocations: 8.488 MB / 0.5731 GB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.4053, allocations: 2.062 kB / 0.5731 GB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002757/0.408, allocations: 1.68 MB / 0.5747 GB, free: 8.855 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004586/0.4085, allocations: 231.9 kB / 0.5749 GB, free: 8.609 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001233/0.4086, allocations: 32.06 kB / 0.5749 GB, free: 8.578 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004307/0.4091, allocations: 27.98 kB / 0.575 GB, free: 8.551 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001466/0.4092, allocations: 68.39 kB / 0.575 GB, free: 8.484 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.674e-05/0.4093, allocations: 24 kB / 0.5751 GB, free: 8.461 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007251/0.41, allocations: 0.4951 MB / 0.5755 GB, free: 7.973 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.41, allocations: 0 / 0.5755 GB, free: 7.973 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001469/0.4115, allocations: 368 kB / 0.5759 GB, free: 7.613 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 8 (turboGrp.phi,turboGrp.w,generator.i_s[1],generator.i_s[2],generator.i_s[3],RLgen1.i[1],RLgen1.i[2],RLgen1.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 (58): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,10,100.0%), (1,3,100.0%), (1,3,100.0%), (1,1,100.0%), (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.0003556/0.4119, allocations: 155.3 kB / 0.576 GB, free: 7.453 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002576/0.4144, allocations: 1.581 MB / 0.5776 GB, free: 5.824 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.4145, allocations: 0 / 0.5776 GB, free: 5.824 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001561/0.416, allocations: 1.102 MB / 0.5787 GB, free: 4.656 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/0.4172, allocations: 189.2 kB / 0.5788 GB, free: 4.473 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004831/0.422, allocations: 3.372 MB / 0.5821 GB, free: 1.047 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001277/0.4233, allocations: 1.254 MB / 0.5834 GB, free: 15.76 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000694/0.424, allocations: 215.6 kB / 0.5836 GB, free: 15.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001876/0.4242, allocations: 75.42 kB / 0.5836 GB, free: 15.47 MB / 410.7 MB Notification: Performance of SimCode: time 7.32e-07/0.4242, allocations: 0 / 0.5836 GB, free: 15.47 MB / 410.7 MB Notification: Performance of Templates: time 0.02694/0.4512, allocations: 14.45 MB / 0.5978 GB, free: 1.051 MB / 410.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe 2>&1)