Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.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_IG,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_WindTurbine_IG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_IG,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_WindTurbine_IG",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.001313/0.001313, allocations: 105.5 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.001385/0.001385, allocations: 192 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.384/1.384, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1809/0.1809, allocations: 38.03 MB / 329.9 MB, free: 8.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 67.89 kB / 457.6 MB, free: 7.344 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3299, allocations: 58.05 MB / 0.5036 GB, free: 7.523 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.00846/0.3384, allocations: 8.098 MB / 0.5115 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009142/0.3476, allocations: 5.478 MB / 0.5169 GB, free: 14.06 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001121/0.3488, allocations: 29.94 kB / 0.5169 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01229/0.3611, allocations: 5.232 MB / 0.522 GB, free: 12.42 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002664/0.3638, allocations: 0.8384 MB / 0.5228 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001437/0.3652, allocations: 498.5 kB / 0.5233 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004042/0.3693, allocations: 2.524 MB / 0.5258 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001059/0.3704, allocations: 0.6332 MB / 0.5264 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00149/0.3719, allocations: 0.7701 MB / 0.5271 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001657/0.3735, allocations: 1.024 MB / 0.5281 GB, free: 9.77 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002217/0.3738, allocations: 103.6 kB / 0.5282 GB, free: 9.77 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008775/0.3747, allocations: 377.1 kB / 0.5286 GB, free: 9.625 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006947/0.3754, allocations: 0.6595 MB / 0.5292 GB, free: 9.207 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008378/0.3762, allocations: 0.6853 MB / 0.5299 GB, free: 8.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002288/0.3785, allocations: 1.733 MB / 0.5316 GB, free: 7.609 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3785, allocations: 0 / 0.5316 GB, free: 7.609 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3785, allocations: 1.062 kB / 0.5316 GB, free: 7.609 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.303e-05/0.3786, allocations: 0 / 0.5316 GB, free: 7.609 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.003371/0.3819, allocations: 1.625 MB / 0.5332 GB, free: 6.406 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.382, allocations: 17.83 kB / 0.5332 GB, free: 6.398 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000235/0.3822, allocations: 166.4 kB / 0.5334 GB, free: 6.266 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001266/0.3835, allocations: 223.8 kB / 0.5336 GB, free: 6.156 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001998/0.3855, allocations: 0.9661 MB / 0.5345 GB, free: 5.453 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.446e-05/0.3856, allocations: 67.58 kB / 0.5346 GB, free: 5.422 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004437/0.3861, allocations: 183.8 kB / 0.5348 GB, free: 5.359 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002489/0.3886, allocations: 1.564 MB / 0.5363 GB, free: 4.391 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.042e-05/0.3886, allocations: 7.297 kB / 0.5363 GB, free: 4.387 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/0.3887, allocations: 40.8 kB / 0.5363 GB, free: 4.355 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006223/0.3894, allocations: 151.6 kB / 0.5365 GB, free: 4.305 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002185/0.3916, allocations: 1.249 MB / 0.5377 GB, free: 3.711 MB / 398.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.009274/0.4008, allocations: 6.468 MB / 0.544 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001654/0.4025, allocations: 0.911 MB / 0.5449 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008729/0.4034, allocations: 0.5044 MB / 0.5454 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.575e-05/0.4035, allocations: 13 kB / 0.5454 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.397e-05/0.4036, allocations: 51.5 kB / 0.5455 GB, free: 13.2 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 3.747e-06/0.4036, allocations: 0 / 0.5455 GB, free: 13.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=96): time 0.007426/0.411, allocations: 3.698 MB / 0.5491 GB, free: 9.363 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.449e-05/0.4111, allocations: 98.08 kB / 0.5492 GB, free: 9.246 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009642/0.4121, allocations: 0.7273 MB / 0.5499 GB, free: 8.512 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001037/0.4122, allocations: 49.64 kB / 0.5499 GB, free: 8.457 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004364/0.4126, allocations: 0.5705 MB / 0.5505 GB, free: 7.879 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003537/0.413, allocations: 384.8 kB / 0.5508 GB, free: 7.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003857/0.4134, allocations: 234.8 kB / 0.5511 GB, free: 7.266 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002268/0.4136, allocations: 414.7 kB / 0.5515 GB, free: 6.852 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009713/0.4146, allocations: 0.5647 MB / 0.552 GB, free: 6.285 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001179/0.4158, allocations: 0.8815 MB / 0.5529 GB, free: 5.273 MB / 414.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.008648/0.4245, allocations: 3.228 MB / 0.556 GB, free: 1.922 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/0.4245, allocations: 4 kB / 0.556 GB, free: 1.918 MB / 414.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.006225/0.4307, allocations: 2.749 MB / 0.5587 GB, free: 15.15 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.684e-05/0.4308, allocations: 12 kB / 0.5587 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.978e-05/0.4308, allocations: 8 kB / 0.5587 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002992/0.4338, allocations: 1.156 MB / 0.5599 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008885/0.4347, allocations: 199.7 kB / 0.56 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01895/0.4537, allocations: 12.3 MB / 0.5721 GB, free: 1.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/0.4548, allocations: 55.91 kB / 0.5721 GB, free: 1.125 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00017/0.455, allocations: 55.98 kB / 0.5722 GB, free: 1.07 MB / 430.1 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: $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: 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.0007916/0.4558, allocations: 401.3 kB / 0.5725 GB, free: 0.668 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002197/0.456, allocations: 107.3 kB / 0.5726 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002504/0.4585, allocations: 1.404 MB / 0.574 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/0.4585, allocations: 8 kB / 0.574 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.4585, allocations: 4 kB / 0.574 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.4586, allocations: 3.984 kB / 0.574 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004718/0.4633, allocations: 2.668 MB / 0.5766 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.4633, allocations: 4 kB / 0.5766 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001527/0.4648, allocations: 275.6 kB / 0.5769 GB, free: 12.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001757/0.465, allocations: 61.86 kB / 0.577 GB, free: 11.96 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.772e-05/0.4651, allocations: 35.98 kB / 0.577 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002236/0.4674, allocations: 2.847 MB / 0.5798 GB, free: 8.801 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.4674, allocations: 4 kB / 0.5798 GB, free: 8.797 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003035/0.4705, allocations: 1.897 MB / 0.5816 GB, free: 6.816 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005358/0.471, allocations: 264.4 kB / 0.5819 GB, free: 6.539 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001536/0.4712, allocations: 35.98 kB / 0.5819 GB, free: 6.504 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005638/0.4717, allocations: 39.95 kB / 0.582 GB, free: 6.465 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001657/0.4719, allocations: 72.78 kB / 0.582 GB, free: 6.395 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.869e-05/0.472, allocations: 28 kB / 0.5821 GB, free: 6.367 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007083/0.4727, allocations: 0.4912 MB / 0.5825 GB, free: 5.879 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4727, allocations: 3.938 kB / 0.5825 GB, free: 5.875 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001361/0.4741, allocations: 376 kB / 0.5829 GB, free: 5.508 MB / 446.1 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.003301/0.4774, allocations: 2.482 MB / 0.5853 GB, free: 2.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004053/0.4815, allocations: 2.12 MB / 0.5874 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.4815, allocations: 4 kB / 0.5874 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001244/0.4827, allocations: 0.7527 MB / 0.5881 GB, free: 15.99 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/0.484, allocations: 222.1 kB / 0.5883 GB, free: 15.79 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02434/0.5083, allocations: 14.01 MB / 0.602 GB, free: 1.32 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001147/0.5095, allocations: 1.306 MB / 0.6033 GB, free: 15.98 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009028/0.5104, allocations: 316 kB / 0.6036 GB, free: 15.67 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000676/0.5111, allocations: 451.3 kB / 0.604 GB, free: 15.23 MB / 478.1 MB Notification: Performance of SimCode: time 6.42e-07/0.5111, allocations: 0 / 0.604 GB, free: 15.23 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07197/0.5831, allocations: 30.25 MB / 0.6336 GB, free: 1.172 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.67/14.25, allocations: 6.359 kB / 0.6336 GB, free: 1.168 MB / 494.1 MB (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Wind_WindTurbine_IG_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Wind_WindTurbine_IG.fmu > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe 2>&1)