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: translateModel(PowerSystems.Examples.Wind.WindTurbine_IG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG") translateModel(PowerSystems.Examples.Wind.WindTurbine_IG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 107.8 kB / 16.92 MB, free: 6.145 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.001884/0.001884, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.458/1.458, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1736/0.1736, allocations: 38.04 MB / 329.7 MB, free: 8.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 62.42 kB / 398.8 MB, free: 34.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09432/0.09556, allocations: 58.07 MB / 456.8 MB, free: 8.066 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.01012/0.1057, allocations: 8.077 MB / 464.9 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008136/0.1139, allocations: 5.497 MB / 470.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004638/0.1144, allocations: 27.88 kB / 470.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01008/0.1245, allocations: 5.227 MB / 475.7 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001713/0.1262, allocations: 0.8441 MB / 476.5 MB, free: 4.324 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001286/0.1275, allocations: 499 kB / 477 MB, free: 3.836 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002944/0.1305, allocations: 2.522 MB / 479.5 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009282/0.1314, allocations: 0.6299 MB / 480.2 MB, free: 0.668 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001137/0.1326, allocations: 0.759 MB / 480.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00149/0.1341, allocations: 1.032 MB / 482 MB, free: 14.87 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002835/0.1344, allocations: 108 kB / 482.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007658/0.1351, allocations: 363.6 kB / 482.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006639/0.1358, allocations: 0.6547 MB / 483.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009064/0.1367, allocations: 0.692 MB / 483.8 MB, free: 13.06 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001754/0.1385, allocations: 1.702 MB / 485.5 MB, free: 11.35 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1385, allocations: 0 / 485.5 MB, free: 11.35 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1385, allocations: 0 / 485.5 MB, free: 11.35 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.206e-05/0.1386, allocations: 0 / 485.5 MB, free: 11.35 MB / 366.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.003264/0.1418, allocations: 1.589 MB / 487 MB, free: 9.707 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.1419, allocations: 11.89 kB / 487.1 MB, free: 9.695 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00129/0.1432, allocations: 219.1 kB / 487.3 MB, free: 9.48 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00195/0.1451, allocations: 0.9217 MB / 488.2 MB, free: 8.516 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.748e-05/0.1452, allocations: 73.97 kB / 488.3 MB, free: 8.445 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004549/0.1457, allocations: 179.8 kB / 488.4 MB, free: 8.27 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002383/0.1481, allocations: 1.567 MB / 490 MB, free: 6.621 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.753e-05/0.1481, allocations: 11.91 kB / 490 MB, free: 6.609 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001203/0.1482, allocations: 43.97 kB / 490.1 MB, free: 6.566 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006264/0.1489, allocations: 149.9 kB / 490.2 MB, free: 6.418 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002164/0.1511, allocations: 1.249 MB / 491.5 MB, free: 5.16 MB / 366.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.008351/0.1594, allocations: 6.493 MB / 498 MB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001613/0.161, allocations: 0.9088 MB / 498.9 MB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009796/0.162, allocations: 0.5122 MB / 499.4 MB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.615e-05/0.1621, allocations: 12.98 kB / 499.4 MB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.1622, allocations: 43.56 kB / 499.4 MB, free: 12.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=91): time 2.595e-06/0.1622, allocations: 0 / 499.4 MB, free: 12.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=96): time 0.006525/0.1687, allocations: 3.667 MB / 0.4913 GB, free: 8.965 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.443e-05/0.1688, allocations: 102 kB / 0.4914 GB, free: 8.848 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008411/0.1696, allocations: 0.7272 MB / 0.4921 GB, free: 8.109 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.553e-05/0.1697, allocations: 41.7 kB / 0.4922 GB, free: 8.062 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003658/0.1701, allocations: 0.5535 MB / 0.4927 GB, free: 7.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000284/0.1704, allocations: 362.8 kB / 0.493 GB, free: 7.141 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003363/0.1707, allocations: 238.8 kB / 0.4933 GB, free: 6.902 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.1709, allocations: 414.7 kB / 0.4937 GB, free: 6.488 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008879/0.1718, allocations: 0.5686 MB / 0.4942 GB, free: 5.918 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001068/0.1729, allocations: 0.8815 MB / 0.4951 GB, free: 4.906 MB / 382.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.00819/0.1811, allocations: 3.251 MB / 0.4983 GB, free: 1.531 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/0.1811, allocations: 0 / 0.4983 GB, free: 1.531 MB / 382.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.2031/0.3842, allocations: 2.729 MB / 0.5009 GB, free: 55.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.088e-05/0.3843, allocations: 9.625 kB / 0.5009 GB, free: 55.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.199e-05/0.3843, allocations: 12.16 kB / 0.5009 GB, free: 55.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003432/0.3878, allocations: 1.164 MB / 0.5021 GB, free: 55.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009664/0.3887, allocations: 204.4 kB / 0.5023 GB, free: 55.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01764/0.4064, allocations: 12.28 MB / 0.5143 GB, free: 50.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008803/0.4073, allocations: 53.58 kB / 0.5143 GB, free: 50.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001173/0.4074, allocations: 67.3 kB / 0.5144 GB, free: 50.05 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 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.0006588/0.4081, allocations: 397.6 kB / 0.5148 GB, free: 49.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/0.4082, allocations: 102.3 kB / 0.5149 GB, free: 49.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002051/0.4103, allocations: 1.406 MB / 0.5162 GB, free: 49.13 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.587e-06/0.4103, allocations: 10.59 kB / 0.5162 GB, free: 49.13 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.4103, allocations: 2.078 kB / 0.5162 GB, free: 49.13 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/0.4103, allocations: 12.95 kB / 0.5163 GB, free: 49.12 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003714/0.4141, allocations: 2.668 MB / 0.5189 GB, free: 47.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.4141, allocations: 3.969 kB / 0.5189 GB, free: 47.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001399/0.4155, allocations: 271.6 kB / 0.5191 GB, free: 47.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001462/0.4156, allocations: 56.41 kB / 0.5192 GB, free: 47.88 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.435e-05/0.4157, allocations: 40.41 kB / 0.5192 GB, free: 47.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00134/0.4171, allocations: 2.833 MB / 0.522 GB, free: 45.05 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.4171, allocations: 6.969 kB / 0.522 GB, free: 45.05 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002337/0.4194, allocations: 1.887 MB / 0.5238 GB, free: 44.1 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003324/0.4198, allocations: 258.9 kB / 0.5241 GB, free: 43.9 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001356/0.4199, allocations: 50.55 kB / 0.5241 GB, free: 43.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005492/0.4205, allocations: 35.56 kB / 0.5242 GB, free: 43.86 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/0.4206, allocations: 64.06 kB / 0.5242 GB, free: 43.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.455e-05/0.4207, allocations: 28.86 kB / 0.5242 GB, free: 43.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004499/0.4211, allocations: 499.7 kB / 0.5247 GB, free: 43.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4212, allocations: 3.844 kB / 0.5247 GB, free: 43.54 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001117/0.4223, allocations: 377.2 kB / 0.5251 GB, free: 43.5 MB / 382.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.0001507/0.4224, allocations: 146.3 kB / 0.5252 GB, free: 43.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003801/0.4262, allocations: 2.57 MB / 0.5277 GB, free: 42.22 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.4263, allocations: 0 / 0.5277 GB, free: 42.22 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008815/0.4271, allocations: 0.7632 MB / 0.5285 GB, free: 41.72 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009111/0.4281, allocations: 225.5 kB / 0.5287 GB, free: 41.51 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004915/0.433, allocations: 4.074 MB / 0.5327 GB, free: 37.49 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006292/0.4336, allocations: 1.298 MB / 0.5339 GB, free: 36.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007985/0.4344, allocations: 316 kB / 0.5342 GB, free: 35.85 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002327/0.4347, allocations: 67.44 kB / 0.5343 GB, free: 35.79 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4347, allocations: 0 / 0.5343 GB, free: 35.79 MB / 382.1 MB Notification: Performance of Templates: time 0.02473/0.4594, allocations: 19.12 MB / 0.553 GB, free: 16.8 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.makefile (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 & ./PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe 2>&1)