Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_DFIG,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_WindTurbine_DFIG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_DFIG,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_WindTurbine_DFIG",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 109.8 kB / 17.06 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 189.4 kB / 18 MB, free: 5.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1828/0.1828, allocations: 38.03 MB / 329.9 MB, free: 8.723 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 71.88 kB / 457.6 MB, free: 7.355 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3254, allocations: 58.05 MB / 0.5036 GB, free: 7.512 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.009654/0.335, allocations: 10.61 MB / 0.514 GB, free: 92 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01106/0.3461, allocations: 6.23 MB / 0.5201 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001444/0.3476, allocations: 48.34 kB / 0.5201 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01306/0.3607, allocations: 5.502 MB / 0.5255 GB, free: 9.934 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003559/0.3643, allocations: 1.078 MB / 0.5265 GB, free: 9.336 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002099/0.3664, allocations: 0.6366 MB / 0.5271 GB, free: 9.051 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005722/0.3721, allocations: 3.224 MB / 0.5303 GB, free: 7.656 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001898/0.374, allocations: 1.003 MB / 0.5313 GB, free: 7.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00232/0.3764, allocations: 1.074 MB / 0.5323 GB, free: 6.465 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002233/0.3786, allocations: 1.334 MB / 0.5336 GB, free: 5.691 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003094/0.379, allocations: 144.8 kB / 0.5338 GB, free: 5.691 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001067/0.38, allocations: 428.9 kB / 0.5342 GB, free: 5.539 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008964/0.381, allocations: 0.8465 MB / 0.535 GB, free: 5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001319/0.3823, allocations: 0.9319 MB / 0.5359 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003339/0.3856, allocations: 2.273 MB / 0.5381 GB, free: 2.863 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3857, allocations: 0 / 0.5381 GB, free: 2.863 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3857, allocations: 0 / 0.5381 GB, free: 2.863 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.092e-05/0.3857, allocations: 1.156 kB / 0.5381 GB, free: 2.863 MB / 398.1 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.004812/0.3905, allocations: 2.106 MB / 0.5402 GB, free: 1.352 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.3906, allocations: 14.25 kB / 0.5402 GB, free: 1.348 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003323/0.3909, allocations: 226.3 kB / 0.5404 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00166/0.3926, allocations: 287.1 kB / 0.5407 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002965/0.3956, allocations: 1.209 MB / 0.5419 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.801e-05/0.3957, allocations: 109.2 kB / 0.542 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006613/0.3964, allocations: 225 kB / 0.5422 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003736/0.4001, allocations: 2.105 MB / 0.5442 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.544e-05/0.4002, allocations: 11.61 kB / 0.5443 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001554/0.4004, allocations: 61.34 kB / 0.5443 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006772/0.4011, allocations: 188.9 kB / 0.5445 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003205/0.4043, allocations: 1.705 MB / 0.5462 GB, free: 12.84 MB / 414.1 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.0124/0.4167, allocations: 7.912 MB / 0.5539 GB, free: 4.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002526/0.4192, allocations: 1.638 MB / 0.5555 GB, free: 2.863 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001078/0.4203, allocations: 0.6567 MB / 0.5561 GB, free: 2.203 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.464e-05/0.4205, allocations: 20.98 kB / 0.5562 GB, free: 2.184 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.048e-05/0.4205, allocations: 47.5 kB / 0.5562 GB, free: 2.125 MB / 414.1 MB Notification: Performance of pre-optimization done (n=127): time 3.477e-06/0.4205, allocations: 0 / 0.5562 GB, free: 2.125 MB / 414.1 MB Notification: Performance of matching and sorting (n=138): time 0.01002/0.4305, allocations: 5.132 MB / 0.5612 GB, free: 12.8 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.947e-05/0.4306, allocations: 90.42 kB / 0.5613 GB, free: 12.7 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001287/0.4319, allocations: 0.9387 MB / 0.5622 GB, free: 11.74 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001721/0.4321, allocations: 53.7 kB / 0.5623 GB, free: 11.68 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005738/0.4327, allocations: 0.7348 MB / 0.563 GB, free: 10.93 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005323/0.4333, allocations: 0.5229 MB / 0.5635 GB, free: 10.41 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004881/0.4338, allocations: 311.4 kB / 0.5638 GB, free: 10.09 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.4339, allocations: 301.1 kB / 0.5641 GB, free: 9.797 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001224/0.4351, allocations: 0.7066 MB / 0.5648 GB, free: 9.09 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001553/0.4367, allocations: 1.155 MB / 0.5659 GB, free: 7.75 MB / 430.1 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.0101/0.4468, allocations: 4.078 MB / 0.5699 GB, free: 3.504 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.125e-05/0.4468, allocations: 7.938 kB / 0.5699 GB, free: 3.496 MB / 430.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.006986/0.4538, allocations: 3.359 MB / 0.5732 GB, free: 96 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.489e-05/0.4539, allocations: 19.92 kB / 0.5732 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.501e-05/0.4539, allocations: 12.72 kB / 0.5732 GB, free: 64 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003075/0.457, allocations: 1.199 MB / 0.5744 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/0.4582, allocations: 291.6 kB / 0.5746 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02092/0.4792, allocations: 15.16 MB / 0.5894 GB, free: 14.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/0.4806, allocations: 83.89 kB / 0.5895 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002126/0.4809, allocations: 68 kB / 0.5896 GB, free: 14.69 MB / 462.1 MB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization system: inverter2.switch_dq0[1] = 1.224744871391589 * cos(select2.alpha0) * select2.v0 $DER.inertia.w = 0.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.001051/0.4819, allocations: 0.4932 MB / 0.5901 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002934/0.4822, allocations: 143.1 kB / 0.5902 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003541/0.4858, allocations: 2.014 MB / 0.5922 GB, free: 11.95 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.717e-05/0.4858, allocations: 16 kB / 0.5922 GB, free: 11.93 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.4858, allocations: 0 / 0.5922 GB, free: 11.93 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.787e-05/0.4859, allocations: 7.969 kB / 0.5922 GB, free: 11.93 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006785/0.4927, allocations: 3.76 MB / 0.5959 GB, free: 7.984 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-05/0.4927, allocations: 4.438 kB / 0.5959 GB, free: 7.98 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001685/0.4944, allocations: 327.5 kB / 0.5962 GB, free: 7.66 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005591/0.495, allocations: 187.3 kB / 0.5964 GB, free: 7.465 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001711/0.4952, allocations: 47.98 kB / 0.5964 GB, free: 7.418 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005965/0.5011, allocations: 6.669 MB / 0.6029 GB, free: 192 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/0.5012, allocations: 8.172 kB / 0.6029 GB, free: 184 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004464/0.5056, allocations: 2.722 MB / 0.6056 GB, free: 13.33 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000747/0.5064, allocations: 328 kB / 0.6059 GB, free: 12.99 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002316/0.5067, allocations: 51.94 kB / 0.606 GB, free: 12.94 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007304/0.5074, allocations: 59.89 kB / 0.606 GB, free: 12.88 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002379/0.5077, allocations: 101 kB / 0.6061 GB, free: 12.79 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.755e-05/0.5077, allocations: 36 kB / 0.6061 GB, free: 12.75 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0008997/0.5087, allocations: 0.6322 MB / 0.6068 GB, free: 12.11 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.933e-06/0.5087, allocations: 0 / 0.6068 GB, free: 12.11 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001806/0.5105, allocations: 487.9 kB / 0.6072 GB, free: 11.63 MB / 478.1 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.004618/0.5151, allocations: 3.319 MB / 0.6105 GB, free: 8.172 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004992/0.5201, allocations: 2.736 MB / 0.6131 GB, free: 5.387 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.5202, allocations: 0 / 0.6131 GB, free: 5.387 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002162/0.5223, allocations: 1.249 MB / 0.6144 GB, free: 4.09 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001787/0.5242, allocations: 323.2 kB / 0.6147 GB, free: 3.777 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03028/0.5545, allocations: 17.34 MB / 0.6316 GB, free: 1.773 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001385/0.5559, allocations: 1.521 MB / 0.6331 GB, free: 224 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001201/0.5571, allocations: 403.6 kB / 0.6335 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009081/0.558, allocations: 0.6165 MB / 0.6341 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of SimCode: time 8.72e-07/0.558, allocations: 0 / 0.6341 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09148/0.6495, allocations: 39.15 MB / 0.6723 GB, free: 8.293 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.52/15.17, allocations: 15.84 kB / 0.6723 GB, free: 8.281 MB / 0.5294 GB (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Wind_WindTurbine_DFIG_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Wind_WindTurbine_DFIG.fmu > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe 2>&1)