Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.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.TurbineGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 183.2 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.401/1.401, 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.000822/0.0008219, allocations: 99.09 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.329/0.329, allocations: 38.12 MB / 383.6 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005134/0.0005135, allocations: 8.219 kB / 453.5 MB, free: 8.793 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3343, allocations: 59.15 MB / 0.5006 GB, free: 39.05 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.008291/0.3426, allocations: 7.97 MB / 0.5084 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.006092/0.3487, allocations: 4.598 MB / 0.5129 GB, free: 32.29 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001331/0.3501, allocations: 47.66 kB / 0.5129 GB, free: 32.27 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007581/0.3509, allocations: 179.8 kB / 0.5131 GB, free: 32.19 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002336/0.3532, allocations: 0.6382 MB / 0.5137 GB, free: 31.86 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.3544, allocations: 336.4 kB / 0.514 GB, free: 31.7 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002546/0.3569, allocations: 2.007 MB / 0.516 GB, free: 31.05 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001801/0.3588, allocations: 1.398 MB / 0.5174 GB, free: 30.03 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008888/0.3597, allocations: 462.4 kB / 0.5178 GB, free: 29.84 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009618/0.3606, allocations: 0.6138 MB / 0.5184 GB, free: 29.63 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.23e-05/0.3607, allocations: 38.44 kB / 0.5184 GB, free: 29.63 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000939/0.3617, allocations: 453.7 kB / 0.5189 GB, free: 29.5 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004118/0.3621, allocations: 402.7 kB / 0.5193 GB, free: 29.38 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005154/0.3626, allocations: 492.1 kB / 0.5197 GB, free: 29.09 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00165/0.3643, allocations: 1.353 MB / 0.521 GB, free: 28.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.3643, allocations: 2.875 kB / 0.521 GB, free: 28.71 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.135e-06/0.3643, allocations: 0 / 0.521 GB, free: 28.71 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.211e-05/0.3644, allocations: 3.938 kB / 0.5211 GB, free: 28.7 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002/0.3664, allocations: 1.092 MB / 0.5221 GB, free: 27.96 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.3664, allocations: 14.45 kB / 0.5221 GB, free: 27.96 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001087/0.3675, allocations: 205.1 kB / 0.5223 GB, free: 27.9 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001289/0.3688, allocations: 0.7119 MB / 0.523 GB, free: 27.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.277e-05/0.3689, allocations: 57.62 kB / 0.5231 GB, free: 27.45 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002032/0.3691, allocations: 108.7 kB / 0.5232 GB, free: 27.41 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001378/0.3705, allocations: 1.089 MB / 0.5242 GB, free: 26.92 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.702e-05/0.3705, allocations: 2.906 kB / 0.5242 GB, free: 26.92 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.766e-05/0.3706, allocations: 33.92 kB / 0.5243 GB, free: 26.89 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001429/0.3707, allocations: 74.88 kB / 0.5243 GB, free: 26.89 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001119/0.3718, allocations: 0.8661 MB / 0.5252 GB, free: 26.61 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004215/0.3761, allocations: 4.005 MB / 0.5291 GB, free: 23.96 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005392/0.3766, allocations: 434.7 kB / 0.5295 GB, free: 23.71 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003129/0.377, allocations: 277.2 kB / 0.5298 GB, free: 23.61 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.533e-05/0.377, allocations: 3.281 kB / 0.5298 GB, free: 23.61 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.377, allocations: 38.44 kB / 0.5298 GB, free: 23.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=48): time 2.594e-06/0.377, allocations: 0 / 0.5298 GB, free: 23.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=52): time 0.00269/0.3797, allocations: 1.782 MB / 0.5316 GB, free: 22.63 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.3798, allocations: 83.58 kB / 0.5316 GB, free: 22.54 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006021/0.3804, allocations: 0.5828 MB / 0.5322 GB, free: 22.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.189e-05/0.3804, allocations: 33.7 kB / 0.5322 GB, free: 22.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002056/0.3807, allocations: 463.5 kB / 0.5327 GB, free: 21.87 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/0.3808, allocations: 195 kB / 0.5329 GB, free: 21.71 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-05/0.3808, allocations: 23.2 kB / 0.5329 GB, free: 21.7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.699e-05/0.3809, allocations: 383.2 kB / 0.5333 GB, free: 21.35 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003128/0.3812, allocations: 248.5 kB / 0.5335 GB, free: 21.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003797/0.3816, allocations: 476.9 kB / 0.534 GB, free: 20.92 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007541/0.3824, allocations: 0.7672 MB / 0.5347 GB, free: 20.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.3824, allocations: 3.219 kB / 0.5347 GB, free: 20.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001826/0.3842, allocations: 1.105 MB / 0.5358 GB, free: 19.9 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/0.3842, allocations: 13.56 kB / 0.5358 GB, free: 19.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001193/0.3854, allocations: 0.7961 MB / 0.5366 GB, free: 19.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006893/0.3862, allocations: 218.6 kB / 0.5368 GB, free: 19.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005153/0.3867, allocations: 158.6 kB / 0.5369 GB, free: 19.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00416/0.3909, allocations: 5.228 MB / 0.542 GB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006826/0.3916, allocations: 35.92 kB / 0.5421 GB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.813e-05/0.3916, allocations: 36.53 kB / 0.5421 GB, free: 15.02 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (81): * Single equations (assignments): 78 * 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): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0005024/0.3921, allocations: 307.8 kB / 0.5424 GB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.049e-05/0.3922, allocations: 65.72 kB / 0.5425 GB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008149/0.393, allocations: 0.615 MB / 0.5431 GB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.056e-06/0.3931, allocations: 5.906 kB / 0.5431 GB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.3931, allocations: 0 / 0.5431 GB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.3931, allocations: 8.641 kB / 0.5431 GB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00202/0.3951, allocations: 1.511 MB / 0.5446 GB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.3951, allocations: 0 / 0.5446 GB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000569/0.3957, allocations: 129.2 kB / 0.5447 GB, free: 13.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.3957, allocations: 3.156 kB / 0.5447 GB, free: 13.76 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.635e-05/0.3958, allocations: 14.53 kB / 0.5447 GB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/0.3958, allocations: 7.188 kB / 0.5447 GB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.3958, allocations: 3.938 kB / 0.5447 GB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/0.3968, allocations: 0.9406 MB / 0.5456 GB, free: 13.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002098/0.3971, allocations: 187.1 kB / 0.5458 GB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.394e-05/0.3971, allocations: 17.3 kB / 0.5458 GB, free: 13.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003114/0.3975, allocations: 24.38 kB / 0.5458 GB, free: 13.1 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.16e-05/0.3975, allocations: 37.44 kB / 0.5459 GB, free: 13.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.89e-05/0.3976, allocations: 23.16 kB / 0.5459 GB, free: 13.07 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004077/0.398, allocations: 412 kB / 0.5463 GB, free: 12.89 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.398, allocations: 0 / 0.5463 GB, free: 12.89 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008111/0.3988, allocations: 235 kB / 0.5465 GB, free: 12.87 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (55): * Single equations (assignments): 54 * 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.000269/0.3991, allocations: 148.6 kB / 0.5467 GB, free: 12.76 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001416/0.4005, allocations: 1.025 MB / 0.5477 GB, free: 12.19 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.4005, allocations: 1.344 kB / 0.5477 GB, free: 12.19 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003656/0.4009, allocations: 265.2 kB / 0.5479 GB, free: 12.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008658/0.4018, allocations: 142.5 kB / 0.5481 GB, free: 12.05 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002801/0.4046, allocations: 2.57 MB / 0.5506 GB, free: 10.45 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006302/0.4052, allocations: 1.08 MB / 0.5516 GB, free: 9.699 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000684/0.4059, allocations: 194.4 kB / 0.5518 GB, free: 9.664 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001898/0.4061, allocations: 61.22 kB / 0.5519 GB, free: 9.652 MB / 378.7 MB Notification: Performance of SimCode: time 5.91e-07/0.4061, allocations: 0 / 0.5519 GB, free: 9.652 MB / 378.7 MB Notification: Performance of Templates: time 0.01801/0.4242, allocations: 8.731 MB / 0.5604 GB, free: 7.211 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe 2>&1)