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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001059/0.001059, allocations: 189.5 kB / 17.27 MB, free: 4.5 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.189/1.189, allocations: 194.2 MB / 212.2 MB, free: 2.367 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001698/0.001698, allocations: 120.5 kB / 256.6 MB, free: 4.324 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1612/0.1612, allocations: 37.94 MB / 338.8 MB, free: 2.219 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 67.89 kB / 401.8 MB, free: 68.76 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07678/0.07796, allocations: 52.19 MB / 454 MB, free: 16.58 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.006984/0.08498, allocations: 9.305 MB / 463.3 MB, free: 7.234 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006266/0.09128, allocations: 6.049 MB / 469.3 MB, free: 1.164 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006464/0.09194, allocations: 55.62 kB / 469.4 MB, free: 1.109 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008344/0.1003, allocations: 5.135 MB / 474.5 MB, free: 11.96 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001712/0.102, allocations: 0.79 MB / 475.3 MB, free: 11.17 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001068/0.1031, allocations: 455.3 kB / 475.8 MB, free: 10.73 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003636/0.1068, allocations: 3.778 MB / 479.5 MB, free: 6.941 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008674/0.1076, allocations: 0.5674 MB / 480.1 MB, free: 6.363 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009783/0.1086, allocations: 0.6651 MB / 480.8 MB, free: 5.695 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001494/0.1101, allocations: 1.094 MB / 481.9 MB, free: 4.598 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000212/0.1104, allocations: 68 kB / 481.9 MB, free: 4.531 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007137/0.1111, allocations: 335.5 kB / 482.3 MB, free: 4.203 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005978/0.1117, allocations: 0.6234 MB / 482.9 MB, free: 3.578 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007313/0.1124, allocations: 0.6489 MB / 483.5 MB, free: 2.926 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001407/0.1138, allocations: 1.663 MB / 485.2 MB, free: 1.258 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1139, allocations: 0 / 485.2 MB, free: 1.258 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.1139, allocations: 0 / 485.2 MB, free: 1.258 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.388e-05/0.1139, allocations: 0 / 485.2 MB, free: 1.258 MB / 330.7 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.002829/0.1167, allocations: 1.589 MB / 486.8 MB, free: 15.61 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.1168, allocations: 15.97 kB / 486.8 MB, free: 15.6 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001082/0.1178, allocations: 214.9 kB / 487 MB, free: 15.39 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001705/0.1196, allocations: 0.9251 MB / 487.9 MB, free: 14.42 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.847e-05/0.1196, allocations: 69.98 kB / 488 MB, free: 14.35 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003693/0.12, allocations: 183.7 kB / 488.2 MB, free: 14.17 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002038/0.1221, allocations: 1.56 MB / 489.7 MB, free: 12.53 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.226e-05/0.1221, allocations: 15.92 kB / 489.8 MB, free: 12.52 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.553e-05/0.1222, allocations: 43.91 kB / 489.8 MB, free: 12.47 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005547/0.1228, allocations: 149.9 kB / 489.9 MB, free: 12.32 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001854/0.1246, allocations: 1.241 MB / 491.2 MB, free: 11.07 MB / 346.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.007479/0.1321, allocations: 6.493 MB / 497.7 MB, free: 4.207 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001436/0.1336, allocations: 0.9049 MB / 498.6 MB, free: 3.277 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007071/0.1343, allocations: 0.5044 MB / 499.1 MB, free: 2.77 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.281e-05/0.1344, allocations: 20.97 kB / 499.1 MB, free: 2.75 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.1344, allocations: 43.56 kB / 499.1 MB, free: 2.695 MB / 346.7 MB Notification: Performance of pre-optimization done (n=91): time 3.297e-06/0.1344, allocations: 0 / 499.1 MB, free: 2.695 MB / 346.7 MB Notification: Performance of matching and sorting (n=97): time 0.006927/0.1413, allocations: 4.419 MB / 0.4918 GB, free: 14.1 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.1414, allocations: 90.11 kB / 0.4919 GB, free: 13.99 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007306/0.1422, allocations: 0.7273 MB / 0.4926 GB, free: 13.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.924e-05/0.1422, allocations: 45.7 kB / 0.4926 GB, free: 13.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003275/0.1426, allocations: 0.5534 MB / 0.4931 GB, free: 12.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002544/0.1428, allocations: 366.8 kB / 0.4935 GB, free: 12.28 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003208/0.1431, allocations: 230.8 kB / 0.4937 GB, free: 12.05 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.1433, allocations: 414.7 kB / 0.4941 GB, free: 11.63 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000831/0.1442, allocations: 0.5647 MB / 0.4947 GB, free: 11.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001032/0.1452, allocations: 0.8893 MB / 0.4955 GB, free: 10.04 MB / 362.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.007682/0.1529, allocations: 3.251 MB / 0.4987 GB, free: 6.668 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.1529, allocations: 4 kB / 0.4987 GB, free: 6.664 MB / 362.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.005282/0.1582, allocations: 2.744 MB / 0.5014 GB, free: 3.898 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.1582, allocations: 8 kB / 0.5014 GB, free: 3.891 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/0.1583, allocations: 12 kB / 0.5014 GB, free: 3.879 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00263/0.1609, allocations: 1.16 MB / 0.5025 GB, free: 2.711 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007215/0.1616, allocations: 203.7 kB / 0.5027 GB, free: 2.512 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1703/0.332, allocations: 11.22 MB / 0.5137 GB, free: 62.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007948/0.3328, allocations: 56.31 kB / 0.5137 GB, free: 62.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001111/0.3329, allocations: 52.95 kB / 0.5138 GB, free: 62.12 MB / 362.7 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 (97): * Single equations (assignments): 95 * 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.0005397/0.3335, allocations: 399.4 kB / 0.5142 GB, free: 61.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001293/0.3336, allocations: 101.7 kB / 0.5143 GB, free: 61.9 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00191/0.3355, allocations: 1.41 MB / 0.5157 GB, free: 61.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.3356, allocations: 7.875 kB / 0.5157 GB, free: 61.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.3356, allocations: 7.422 kB / 0.5157 GB, free: 61.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.3356, allocations: 4.875 kB / 0.5157 GB, free: 61.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003919/0.3395, allocations: 2.682 MB / 0.5183 GB, free: 60.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.3395, allocations: 9.203 kB / 0.5183 GB, free: 60.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001362/0.3409, allocations: 278.4 kB / 0.5186 GB, free: 60.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001486/0.3411, allocations: 58.92 kB / 0.5186 GB, free: 59.99 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.838e-05/0.3411, allocations: 44.89 kB / 0.5187 GB, free: 59.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001375/0.3425, allocations: 2.636 MB / 0.5212 GB, free: 57.36 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.3425, allocations: 2.75 kB / 0.5212 GB, free: 57.36 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01445/0.357, allocations: 11.92 MB / 0.5329 GB, free: 49.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004044/0.3574, allocations: 259.5 kB / 0.5331 GB, free: 49.21 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/0.3576, allocations: 41.83 kB / 0.5332 GB, free: 49.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004981/0.3581, allocations: 39.7 kB / 0.5332 GB, free: 49.17 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/0.3582, allocations: 66 kB / 0.5333 GB, free: 49.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.686e-05/0.3583, allocations: 33.31 kB / 0.5333 GB, free: 49.13 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004348/0.3587, allocations: 0.4911 MB / 0.5338 GB, free: 48.71 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3587, allocations: 0 / 0.5338 GB, free: 48.71 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001303/0.3601, allocations: 492.9 kB / 0.5342 GB, free: 48.23 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 25 (generator.i[3],generator.phi_el,generator.w_el,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]) * 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 (96): * Single equations (assignments): 93 * 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.0001446/0.3602, allocations: 147 kB / 0.5344 GB, free: 48.08 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003153/0.3634, allocations: 2.074 MB / 0.5364 GB, free: 45.99 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3634, allocations: 0 / 0.5364 GB, free: 45.99 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009156/0.3643, allocations: 0.766 MB / 0.5372 GB, free: 45.2 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008991/0.3652, allocations: 199.9 kB / 0.5373 GB, free: 45.01 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005717/0.3709, allocations: 5.385 MB / 0.5426 GB, free: 39.6 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006279/0.3716, allocations: 1.343 MB / 0.5439 GB, free: 38.22 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0009574/0.3726, allocations: 344 kB / 0.5442 GB, free: 37.88 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003559/0.3729, allocations: 79.42 kB / 0.5443 GB, free: 37.8 MB / 362.7 MB Notification: Performance of SimCode: time 3.81e-07/0.3729, allocations: 4 kB / 0.5443 GB, free: 37.8 MB / 362.7 MB Notification: Performance of Templates: time 0.02571/0.3986, allocations: 21.87 MB / 0.5657 GB, free: 15.95 MB / 362.7 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)