Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.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.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/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.Wind.WindTurbine_IG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG") translateModel(PowerSystems.Examples.Wind.WindTurbine_IG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001373/0.001373, 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.235/1.235, allocations: 225.7 MB / 243.2 MB, free: 8.52 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.0007598/0.0007601, allocations: 94.19 kB / 294.4 MB, free: 9.52 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.269/0.269, allocations: 38.17 MB / 383.7 MB, free: 40.34 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002689/0.0002689, allocations: 8.219 kB / 453.5 MB, free: 8.758 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2548, allocations: 59.15 MB / 0.5007 GB, free: 39.05 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.006905/0.2617, allocations: 8.489 MB / 0.509 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.007319/0.269, allocations: 8.726 MB / 0.5175 GB, free: 28.34 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000756/0.2698, allocations: 45.75 kB / 0.5175 GB, free: 28.32 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006529/0.2764, allocations: 4.749 MB / 0.5222 GB, free: 27.12 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001536/0.2779, allocations: 0.7896 MB / 0.5229 GB, free: 26.71 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009688/0.2789, allocations: 452.6 kB / 0.5234 GB, free: 26.51 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002505/0.2814, allocations: 3.766 MB / 0.527 GB, free: 25.46 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001099/0.2825, allocations: 1.278 MB / 0.5283 GB, free: 24.48 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000609/0.2831, allocations: 0.6509 MB / 0.5289 GB, free: 24.23 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009208/0.2841, allocations: 1.052 MB / 0.53 GB, free: 23.91 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001144/0.2842, allocations: 51.97 kB / 0.53 GB, free: 23.91 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005245/0.2847, allocations: 316 kB / 0.5303 GB, free: 23.84 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003765/0.2851, allocations: 0.5991 MB / 0.5309 GB, free: 23.68 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004528/0.2856, allocations: 0.6468 MB / 0.5315 GB, free: 23.3 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001017/0.2866, allocations: 1.642 MB / 0.5331 GB, free: 22.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2866, allocations: 0 / 0.5331 GB, free: 22.82 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2866, allocations: 4 kB / 0.5331 GB, free: 22.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.291e-05/0.2866, allocations: 0 / 0.5331 GB, free: 22.82 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.002137/0.2888, allocations: 1.353 MB / 0.5345 GB, free: 21.95 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.2888, allocations: 17.38 kB / 0.5345 GB, free: 21.94 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009586/0.2898, allocations: 213.9 kB / 0.5347 GB, free: 21.87 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001348/0.2911, allocations: 0.9245 MB / 0.5356 GB, free: 21.35 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.916e-05/0.2912, allocations: 77.23 kB / 0.5356 GB, free: 21.31 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003439/0.2915, allocations: 179.7 kB / 0.5358 GB, free: 21.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001732/0.2933, allocations: 1.561 MB / 0.5373 GB, free: 20.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.778e-05/0.2933, allocations: 7.312 kB / 0.5374 GB, free: 20.58 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-05/0.2934, allocations: 44.72 kB / 0.5374 GB, free: 20.55 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004686/0.2939, allocations: 148 kB / 0.5375 GB, free: 20.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001654/0.2956, allocations: 1.266 MB / 0.5388 GB, free: 20.13 MB / 378.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006128/0.3017, allocations: 6.506 MB / 0.5451 GB, free: 15.74 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001269/0.303, allocations: 0.9097 MB / 0.546 GB, free: 15.39 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000708/0.3037, allocations: 0.5072 MB / 0.5465 GB, free: 15.21 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.156e-05/0.3038, allocations: 20.84 kB / 0.5465 GB, free: 15.2 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.3038, allocations: 47.94 kB / 0.5466 GB, free: 15.14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=91): time 3.006e-06/0.3038, allocations: 0 / 0.5466 GB, free: 15.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=96): time 0.005474/0.3093, allocations: 3.695 MB / 0.5502 GB, free: 13.21 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.3093, allocations: 97.19 kB / 0.5503 GB, free: 13.11 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007353/0.3101, allocations: 0.7201 MB / 0.551 GB, free: 12.81 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.213e-05/0.3101, allocations: 40.8 kB / 0.551 GB, free: 12.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000287/0.3104, allocations: 0.5593 MB / 0.5516 GB, free: 12.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002066/0.3106, allocations: 361.4 kB / 0.5519 GB, free: 12.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.67e-05/0.3107, allocations: 24.81 kB / 0.5519 GB, free: 12.03 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.3108, allocations: 415 kB / 0.5523 GB, free: 11.67 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008472/0.3117, allocations: 0.5669 MB / 0.5529 GB, free: 11.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009475/0.3126, allocations: 0.8819 MB / 0.5537 GB, free: 10.94 MB / 378.7 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.008619/0.3213, allocations: 3.91 MB / 0.5576 GB, free: 9.293 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/0.3213, allocations: 3.188 kB / 0.5576 GB, free: 9.293 MB / 378.7 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.004852/0.3261, allocations: 2.732 MB / 0.5602 GB, free: 7.859 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.3262, allocations: 12.41 kB / 0.5602 GB, free: 7.855 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/0.3262, allocations: 10.81 kB / 0.5603 GB, free: 7.855 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00262/0.3288, allocations: 1.15 MB / 0.5614 GB, free: 7.434 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007329/0.3296, allocations: 203.3 kB / 0.5616 GB, free: 7.387 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01335/0.3429, allocations: 11.22 MB / 0.5725 GB, free: 12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008348/0.3438, allocations: 63.94 kB / 0.5726 GB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.3439, allocations: 59.92 kB / 0.5726 GB, free: 11.88 MB / 394.7 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: rotor.A = 3.141592653589793 * rotor.R ^ 2.0 infBus.V = 15000.0 * infBus.v0 line.omega[1] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0006523/0.3446, allocations: 410 kB / 0.573 GB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/0.3447, allocations: 90.88 kB / 0.5731 GB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002068/0.3468, allocations: 1.416 MB / 0.5745 GB, free: 9.918 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.3468, allocations: 12 kB / 0.5745 GB, free: 9.906 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.3468, allocations: 0 / 0.5745 GB, free: 9.906 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/0.3468, allocations: 15.84 kB / 0.5745 GB, free: 9.891 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003997/0.3508, allocations: 2.68 MB / 0.5771 GB, free: 7.094 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.3509, allocations: 0 / 0.5771 GB, free: 7.094 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001399/0.3523, allocations: 279.6 kB / 0.5774 GB, free: 6.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001444/0.3524, allocations: 57.73 kB / 0.5775 GB, free: 6.758 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.143e-05/0.3525, allocations: 43.97 kB / 0.5775 GB, free: 6.715 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00163/0.3541, allocations: 2.632 MB / 0.5801 GB, free: 3.816 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.3542, allocations: 4 kB / 0.5801 GB, free: 3.812 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002447/0.3566, allocations: 1.902 MB / 0.5819 GB, free: 1.828 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003571/0.357, allocations: 259.8 kB / 0.5822 GB, free: 1.555 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001313/0.3571, allocations: 35.98 kB / 0.5822 GB, free: 1.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000501/0.3576, allocations: 43.95 kB / 0.5823 GB, free: 1.477 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001512/0.3578, allocations: 72.8 kB / 0.5823 GB, free: 1.406 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.309e-05/0.3579, allocations: 31.97 kB / 0.5824 GB, free: 1.375 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005374/0.3584, allocations: 487 kB / 0.5828 GB, free: 0.9023 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3584, allocations: 4 kB / 0.5828 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001088/0.3595, allocations: 376 kB / 0.5832 GB, free: 0.5312 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 25 (generator.i[3],generator.psi_s[1],generator.psi_s[2],generator.psi_rd[1],generator.psi_rq[1],line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[2,1],line.i[2,2],line.i[2,3],line.i[3,1],line.i[3,2],line.i[3,3],inertia.phi,inertia.w) * 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 (95): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001725/0.3597, allocations: 147.1 kB / 0.5833 GB, free: 388 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003291/0.363, allocations: 2.082 MB / 0.5854 GB, free: 14.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.363, allocations: 0 / 0.5854 GB, free: 14.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000983/0.364, allocations: 0.7584 MB / 0.5861 GB, free: 13.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/0.3651, allocations: 201.4 kB / 0.5863 GB, free: 13.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005838/0.3709, allocations: 4.94 MB / 0.5911 GB, free: 8.289 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008195/0.3717, allocations: 1.302 MB / 0.5924 GB, free: 6.953 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008502/0.3726, allocations: 324 kB / 0.5927 GB, free: 6.633 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002439/0.3728, allocations: 71.42 kB / 0.5928 GB, free: 6.562 MB / 410.7 MB Notification: Performance of SimCode: time 6.61e-07/0.3729, allocations: 0 / 0.5928 GB, free: 6.562 MB / 410.7 MB Notification: Performance of Templates: time 0.02774/0.4006, allocations: 17.99 MB / 0.6103 GB, free: 4.598 MB / 426.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.sim & ./PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe 2>&1)