Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.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_DFIG,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_DFIG") translateModel(PowerSystems.Examples.Wind.WindTurbine_DFIG,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_DFIG") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008708/0.000871, allocations: 177 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.277/1.277, allocations: 225.7 MB / 243.2 MB, free: 8.449 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.0007909/0.0007908, allocations: 96.02 kB / 294.4 MB, free: 9.496 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.2676/0.2676, allocations: 38.18 MB / 383.7 MB, free: 40.29 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002826/0.0002827, allocations: 12 kB / 453.5 MB, free: 8.781 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2541, allocations: 59.16 MB / 0.5007 GB, free: 39.08 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.009317/0.2635, allocations: 11.51 MB / 0.5119 GB, free: 33.72 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.009206/0.2727, allocations: 10.01 MB / 0.5217 GB, free: 25.12 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001654/0.2744, allocations: 85.03 kB / 0.5218 GB, free: 25.09 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007279/0.2817, allocations: 4.88 MB / 0.5265 GB, free: 23.8 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00221/0.2839, allocations: 1.011 MB / 0.5275 GB, free: 23.27 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00124/0.2852, allocations: 0.5787 MB / 0.5281 GB, free: 22.99 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003345/0.2885, allocations: 4.712 MB / 0.5327 GB, free: 21.63 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001703/0.2903, allocations: 1.85 MB / 0.5345 GB, free: 20.25 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001087/0.2914, allocations: 0.9037 MB / 0.5354 GB, free: 19.9 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001178/0.2925, allocations: 1.343 MB / 0.5367 GB, free: 19.48 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001497/0.2927, allocations: 77.69 kB / 0.5368 GB, free: 19.48 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006591/0.2934, allocations: 357.4 kB / 0.5371 GB, free: 19.39 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004558/0.2938, allocations: 0.7672 MB / 0.5379 GB, free: 19.17 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005686/0.2944, allocations: 0.8537 MB / 0.5387 GB, free: 18.68 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001274/0.2957, allocations: 2.151 MB / 0.5408 GB, free: 18.04 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.2957, allocations: 0.9375 kB / 0.5408 GB, free: 18.04 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2957, allocations: 0 / 0.5408 GB, free: 18.04 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.777e-05/0.2957, allocations: 0 / 0.5408 GB, free: 18.04 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.002774/0.2985, allocations: 1.735 MB / 0.5425 GB, free: 16.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.2986, allocations: 9.594 kB / 0.5425 GB, free: 16.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001199/0.2998, allocations: 278.8 kB / 0.5428 GB, free: 16.88 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001837/0.3016, allocations: 1.156 MB / 0.5439 GB, free: 16.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.815e-05/0.3017, allocations: 99.06 kB / 0.544 GB, free: 16.22 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004155/0.3021, allocations: 229.8 kB / 0.5442 GB, free: 16.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002615/0.3047, allocations: 2.1 MB / 0.5463 GB, free: 15.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.459e-05/0.3048, allocations: 7.797 kB / 0.5463 GB, free: 15.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001191/0.3049, allocations: 55.42 kB / 0.5463 GB, free: 15.21 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005568/0.3055, allocations: 182.9 kB / 0.5465 GB, free: 15.19 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002576/0.308, allocations: 1.719 MB / 0.5482 GB, free: 14.64 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.008923/0.317, allocations: 7.985 MB / 0.556 GB, free: 9.352 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001994/0.319, allocations: 1.62 MB / 0.5576 GB, free: 8.316 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008622/0.3199, allocations: 0.664 MB / 0.5582 GB, free: 7.988 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.253e-05/0.32, allocations: 14.41 kB / 0.5582 GB, free: 7.988 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.32, allocations: 48.84 kB / 0.5583 GB, free: 7.938 MB / 378.7 MB Notification: Performance of pre-optimization done (n=127): time 3.266e-06/0.32, allocations: 0 / 0.5583 GB, free: 7.938 MB / 378.7 MB Notification: Performance of matching and sorting (n=138): time 0.007717/0.3277, allocations: 5.106 MB / 0.5633 GB, free: 4.809 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/0.3278, allocations: 100.1 kB / 0.5633 GB, free: 4.707 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008972/0.3287, allocations: 0.9257 MB / 0.5643 GB, free: 4.184 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.81e-05/0.3287, allocations: 51.3 kB / 0.5643 GB, free: 4.133 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000347/0.3291, allocations: 0.7163 MB / 0.565 GB, free: 3.492 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002599/0.3294, allocations: 0.5054 MB / 0.5655 GB, free: 3.043 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.359e-05/0.3295, allocations: 31.47 kB / 0.5655 GB, free: 3.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.088e-05/0.3295, allocations: 374.2 kB / 0.5659 GB, free: 2.668 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001007/0.3306, allocations: 0.7088 MB / 0.5666 GB, free: 2.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001032/0.3316, allocations: 1.15 MB / 0.5677 GB, free: 1.098 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.008923/0.3405, allocations: 4.094 MB / 0.5717 GB, free: 12.83 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/0.3405, allocations: 4 kB / 0.5717 GB, free: 12.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.006219/0.3468, allocations: 3.347 MB / 0.575 GB, free: 9.434 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.3468, allocations: 8 kB / 0.575 GB, free: 9.426 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.076e-05/0.3468, allocations: 16 kB / 0.575 GB, free: 9.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002785/0.3496, allocations: 1.184 MB / 0.5761 GB, free: 8.215 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/0.3508, allocations: 311.5 kB / 0.5764 GB, free: 7.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01658/0.3674, allocations: 13.79 MB / 0.5899 GB, free: 9.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001146/0.3685, allocations: 83.86 kB / 0.59 GB, free: 9.488 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001336/0.3687, allocations: 71.98 kB / 0.5901 GB, free: 9.418 MB / 410.7 MB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization sytem: inverter2.switch_dq0[1] = 1.224744871391589 * cos(select2.alpha0) * select2.v0 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: 60 * 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 (146): * Single equations (assignments): 142 * 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): 2 systems {(1,1,100.0%), (1,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,15), (21,20)} Notification: Performance of prepare postOptimizeDAE: time 0.000882/0.3696, allocations: 0.5018 MB / 0.5905 GB, free: 8.906 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002063/0.3698, allocations: 126.4 kB / 0.5907 GB, free: 8.781 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003003/0.3728, allocations: 2.022 MB / 0.5926 GB, free: 6.676 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.3728, allocations: 12 kB / 0.5927 GB, free: 6.664 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3728, allocations: 4 kB / 0.5927 GB, free: 6.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.352e-05/0.3729, allocations: 7.969 kB / 0.5927 GB, free: 6.652 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005851/0.3787, allocations: 3.79 MB / 0.5964 GB, free: 2.684 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.3787, allocations: 4 kB / 0.5964 GB, free: 2.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001554/0.3803, allocations: 323.5 kB / 0.5967 GB, free: 2.363 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004837/0.3808, allocations: 187.4 kB / 0.5969 GB, free: 2.168 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001097/0.3809, allocations: 59.91 kB / 0.5969 GB, free: 2.109 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004565/0.3855, allocations: 6.137 MB / 0.6029 GB, free: 11.44 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/0.3855, allocations: 7.938 kB / 0.6029 GB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003704/0.3892, allocations: 2.723 MB / 0.6056 GB, free: 8.586 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005564/0.3898, allocations: 323.3 kB / 0.6059 GB, free: 8.25 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001734/0.39, allocations: 47.92 kB / 0.6059 GB, free: 8.203 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006667/0.3907, allocations: 63.94 kB / 0.606 GB, free: 8.141 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002065/0.3909, allocations: 97.06 kB / 0.6061 GB, free: 8.043 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.019e-05/0.391, allocations: 47.98 kB / 0.6061 GB, free: 7.996 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007296/0.3917, allocations: 0.6166 MB / 0.6067 GB, free: 7.371 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.3917, allocations: 0 / 0.6067 GB, free: 7.371 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001517/0.3932, allocations: 484 kB / 0.6072 GB, free: 6.898 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 26 (generator.i[3],generator.psi_s[1],generator.psi_s[2],generator.psi_rd[1],generator.psi_rq[1],generator.phiRotor,line.v[1,2],line.v[1,3],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,meterDC.pav,inverter2.vDC1) * 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 (129): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 4 systems {(1,10,100.0%), (1,1,100.0%), (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.0001954/0.3934, allocations: 163 kB / 0.6074 GB, free: 6.73 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00403/0.3975, allocations: 2.678 MB / 0.61 GB, free: 4.004 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3975, allocations: 4 kB / 0.61 GB, free: 4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001645/0.3991, allocations: 1.245 MB / 0.6112 GB, free: 2.707 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001669/0.4008, allocations: 303.8 kB / 0.6115 GB, free: 2.41 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007064/0.4079, allocations: 5.975 MB / 0.6173 GB, free: 12.35 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001087/0.409, allocations: 1.517 MB / 0.6188 GB, free: 10.8 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001213/0.4102, allocations: 399.5 kB / 0.6192 GB, free: 10.41 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003116/0.4105, allocations: 103.4 kB / 0.6193 GB, free: 10.3 MB / 442.7 MB Notification: Performance of SimCode: time 1.102e-06/0.4105, allocations: 0 / 0.6193 GB, free: 10.3 MB / 442.7 MB Notification: Performance of Templates: time 0.03479/0.4453, allocations: 23.35 MB / 0.6421 GB, free: 3.004 MB / 458.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.sim & ./PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe 2>&1)