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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.0007373/0.0007374, allocations: 91.06 kB / 16.65 MB, free: 6.59 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.0007377/0.0007377, allocations: 184.7 kB / 17.56 MB, free: 6.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.153/1.153, allocations: 205.4 MB / 223.7 MB, free: 13 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1624/0.1624, allocations: 38.06 MB / 310.1 MB, free: 5.887 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004741/0.0004741, allocations: 12 kB / 377.3 MB, free: 2.602 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.1843, allocations: 56.33 MB / 433.6 MB, free: 18.65 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.006184/0.1905, allocations: 8.838 MB / 442.4 MB, free: 9.773 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006391/0.1969, allocations: 5.972 MB / 448.4 MB, free: 3.781 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007049/0.1977, allocations: 47.62 kB / 448.4 MB, free: 3.734 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005872/0.2036, allocations: 4.742 MB / 453.2 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001352/0.2049, allocations: 0.7978 MB / 454 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008837/0.2058, allocations: 451.2 kB / 454.4 MB, free: 13.74 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003215/0.209, allocations: 3.755 MB / 458.2 MB, free: 9.977 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001173/0.2102, allocations: 0.9072 MB / 459.1 MB, free: 9.023 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006476/0.2109, allocations: 0.6145 MB / 459.7 MB, free: 8.406 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001122/0.212, allocations: 1.063 MB / 460.8 MB, free: 7.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001139/0.2121, allocations: 52 kB / 460.8 MB, free: 7.289 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000516/0.2127, allocations: 331.5 kB / 461.1 MB, free: 6.965 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000503/0.2132, allocations: 0.6077 MB / 461.7 MB, free: 6.355 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005469/0.2137, allocations: 0.6429 MB / 462.4 MB, free: 5.703 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001296/0.215, allocations: 1.639 MB / 464 MB, free: 4.059 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.2151, allocations: 0 / 464 MB, free: 4.059 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2151, allocations: 0 / 464 MB, free: 4.059 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.058e-05/0.2151, allocations: 0 / 464 MB, free: 4.059 MB / 334.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.002461/0.2175, allocations: 1.367 MB / 465.4 MB, free: 2.637 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.2176, allocations: 8.031 kB / 465.4 MB, free: 2.629 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001961/0.2178, allocations: 165.2 kB / 465.6 MB, free: 2.457 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/0.2189, allocations: 219 kB / 465.8 MB, free: 2.242 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001533/0.2205, allocations: 0.9216 MB / 466.7 MB, free: 1.277 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.76e-05/0.2205, allocations: 65.98 kB / 466.8 MB, free: 1.215 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004115/0.2209, allocations: 191.7 kB / 467 MB, free: 1.027 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002117/0.2231, allocations: 1.571 MB / 468.5 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.288e-05/0.2231, allocations: 3.938 kB / 468.5 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/0.2232, allocations: 47.92 kB / 468.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005798/0.2238, allocations: 145.9 kB / 468.7 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001919/0.2257, allocations: 1.265 MB / 470 MB, free: 13.91 MB / 350.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.007128/0.2329, allocations: 6.505 MB / 476.5 MB, free: 7.031 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001407/0.2343, allocations: 0.9203 MB / 477.4 MB, free: 6.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000757/0.2351, allocations: 0.5083 MB / 477.9 MB, free: 5.574 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.86e-05/0.2351, allocations: 20.98 kB / 477.9 MB, free: 5.555 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.2352, allocations: 39.56 kB / 478 MB, free: 5.504 MB / 350.1 MB Notification: Performance of pre-optimization done (n=91): time 2.244e-06/0.2352, allocations: 0 / 478 MB, free: 5.504 MB / 350.1 MB Notification: Performance of matching and sorting (n=96): time 0.005904/0.2411, allocations: 3.71 MB / 481.7 MB, free: 1.652 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.2412, allocations: 86.11 kB / 481.8 MB, free: 1.551 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007224/0.2419, allocations: 0.7273 MB / 482.5 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.436e-05/0.242, allocations: 41.7 kB / 482.5 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003461/0.2423, allocations: 0.5574 MB / 483.1 MB, free: 204 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000278/0.2426, allocations: 367 kB / 483.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001467/0.2428, allocations: 117.6 kB / 483.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001955/0.243, allocations: 414.7 kB / 484 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000866/0.2438, allocations: 0.5686 MB / 484.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001042/0.2449, allocations: 0.8892 MB / 485.4 MB, free: 13.7 MB / 366.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.007847/0.2527, allocations: 3.267 MB / 488.7 MB, free: 10.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.2528, allocations: 4 kB / 488.7 MB, free: 10.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.005417/0.2582, allocations: 2.749 MB / 491.4 MB, free: 7.543 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.2582, allocations: 8 kB / 491.5 MB, free: 7.535 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/0.2582, allocations: 12 kB / 491.5 MB, free: 7.523 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002695/0.2609, allocations: 1.156 MB / 492.6 MB, free: 6.363 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007218/0.2617, allocations: 203.7 kB / 492.8 MB, free: 6.164 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0154/0.2771, allocations: 11.25 MB / 0.4923 GB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006291/0.2777, allocations: 51.97 kB / 0.4923 GB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.637e-05/0.2778, allocations: 59.98 kB / 0.4924 GB, free: 10.53 MB / 382.1 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: $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.0005094/0.2783, allocations: 405.4 kB / 0.4927 GB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.2785, allocations: 94.78 kB / 0.4928 GB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002151/0.2806, allocations: 1.416 MB / 0.4942 GB, free: 8.566 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.2807, allocations: 8 kB / 0.4942 GB, free: 8.559 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.2807, allocations: 0 / 0.4942 GB, free: 8.559 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/0.2807, allocations: 15.91 kB / 0.4942 GB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003943/0.2846, allocations: 2.684 MB / 0.4969 GB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.2846, allocations: 4 kB / 0.4969 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001403/0.2861, allocations: 275.9 kB / 0.4971 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001385/0.2862, allocations: 57.67 kB / 0.4972 GB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.603e-05/0.2863, allocations: 35.98 kB / 0.4972 GB, free: 5.363 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001708/0.288, allocations: 2.646 MB / 0.4998 GB, free: 2.453 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.288, allocations: 7.938 kB / 0.4998 GB, free: 2.445 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002529/0.2906, allocations: 1.91 MB / 0.5017 GB, free: 464 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003272/0.2909, allocations: 255.8 kB / 0.5019 GB, free: 188 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/0.291, allocations: 35.98 kB / 0.502 GB, free: 152 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005236/0.2916, allocations: 47.95 kB / 0.502 GB, free: 104 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/0.2917, allocations: 64.84 kB / 0.5021 GB, free: 40 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.646e-05/0.2918, allocations: 24 kB / 0.5021 GB, free: 16 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005709/0.2924, allocations: 0.4912 MB / 0.5026 GB, free: 15.53 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2924, allocations: 0 / 0.5026 GB, free: 15.53 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009543/0.2933, allocations: 376 kB / 0.5029 GB, free: 15.16 MB / 398.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.002858/0.2962, allocations: 2.494 MB / 0.5054 GB, free: 12.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003291/0.2995, allocations: 2.076 MB / 0.5074 GB, free: 10.46 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.2995, allocations: 4.062 kB / 0.5074 GB, free: 10.46 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001023/0.3005, allocations: 0.7608 MB / 0.5081 GB, free: 9.68 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.3016, allocations: 215.8 kB / 0.5083 GB, free: 9.473 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1682/0.4698, allocations: 15.15 MB / 0.5231 GB, free: 83.89 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006933/0.4705, allocations: 1.3 MB / 0.5244 GB, free: 83.18 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0008521/0.4714, allocations: 313.1 kB / 0.5247 GB, free: 83.16 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005127/0.4719, allocations: 457.5 kB / 0.5251 GB, free: 82.84 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4719, allocations: 0 / 0.5251 GB, free: 82.84 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03592/0.5079, allocations: 28.31 MB / 0.5528 GB, free: 61.68 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001449/0.508, allocations: 224.2 kB / 0.553 GB, free: 61.42 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.183/2.691, allocations: 0 / 0.553 GB, free: 61.42 MB / 398.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)