Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG") translateModel(PowerSystems.Examples.Wind.WindTurbine_IG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_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.001594/0.001594, allocations: 104.9 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.001812/0.001812, 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.378/1.378, 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-master/package.mo): time 0.1801/0.1801, allocations: 38.04 MB / 329.7 MB, free: 8.824 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 60.95 kB / 398.8 MB, free: 34.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1049, allocations: 58.06 MB / 456.9 MB, free: 8.059 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.009862/0.1148, allocations: 8.081 MB / 464.9 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008034/0.1229, allocations: 5.491 MB / 470.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006572/0.1236, allocations: 31.81 kB / 470.5 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0101/0.1337, allocations: 5.231 MB / 475.7 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002013/0.1357, allocations: 0.8402 MB / 476.5 MB, free: 4.316 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001297/0.1371, allocations: 495 kB / 477 MB, free: 3.832 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003517/0.1406, allocations: 2.519 MB / 479.5 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001005/0.1416, allocations: 0.6299 MB / 480.2 MB, free: 0.668 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001242/0.1429, allocations: 0.7667 MB / 480.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001774/0.1447, allocations: 1.028 MB / 482 MB, free: 14.87 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003142/0.145, allocations: 104 kB / 482.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009403/0.1459, allocations: 371.5 kB / 482.4 MB, free: 14.4 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008148/0.1468, allocations: 0.6469 MB / 483.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001149/0.1479, allocations: 0.692 MB / 483.8 MB, free: 13.06 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002207/0.1501, allocations: 1.709 MB / 485.5 MB, free: 11.34 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.1502, allocations: 3.938 kB / 485.5 MB, free: 11.34 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.1502, allocations: 0 / 485.5 MB, free: 11.34 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.755e-05/0.1503, allocations: 0 / 485.5 MB, free: 11.34 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.004773/0.1551, allocations: 1.581 MB / 487.1 MB, free: 9.703 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.1551, allocations: 15.89 kB / 487.1 MB, free: 9.688 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001499/0.1566, allocations: 219.1 kB / 487.3 MB, free: 9.473 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002572/0.1592, allocations: 0.9178 MB / 488.2 MB, free: 8.512 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.671e-05/0.1593, allocations: 77.97 kB / 488.3 MB, free: 8.438 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005746/0.1599, allocations: 183.8 kB / 488.5 MB, free: 8.258 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00284/0.1627, allocations: 1.564 MB / 490 MB, free: 6.613 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.065e-05/0.1628, allocations: 7.906 kB / 490 MB, free: 6.605 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001118/0.1629, allocations: 39.98 kB / 490.1 MB, free: 6.566 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006216/0.1635, allocations: 153.9 kB / 490.2 MB, free: 6.414 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002336/0.1659, allocations: 1.253 MB / 491.5 MB, free: 5.152 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.008605/0.1745, allocations: 6.489 MB / 498 MB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001571/0.1761, allocations: 0.9088 MB / 498.9 MB, free: 13.35 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007975/0.1769, allocations: 0.5083 MB / 499.4 MB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.405e-05/0.177, allocations: 16.98 kB / 499.4 MB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.177, allocations: 47.55 kB / 499.4 MB, free: 12.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=91): time 2.745e-06/0.177, allocations: 0 / 499.4 MB, free: 12.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=96): time 0.00661/0.1837, allocations: 3.664 MB / 0.4913 GB, free: 8.961 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.692e-05/0.1837, allocations: 102 kB / 0.4914 GB, free: 8.844 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008626/0.1846, allocations: 0.7272 MB / 0.4921 GB, free: 8.105 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.059e-05/0.1847, allocations: 41.7 kB / 0.4922 GB, free: 8.059 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003844/0.1851, allocations: 0.5535 MB / 0.4927 GB, free: 7.496 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002889/0.1854, allocations: 362.8 kB / 0.493 GB, free: 7.137 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003656/0.1857, allocations: 234.8 kB / 0.4933 GB, free: 6.902 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001974/0.186, allocations: 418.8 kB / 0.4937 GB, free: 6.484 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009433/0.1869, allocations: 0.5686 MB / 0.4942 GB, free: 5.914 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00112/0.188, allocations: 0.8815 MB / 0.4951 GB, free: 4.902 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.008207/0.1963, allocations: 3.255 MB / 0.4983 GB, free: 1.523 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.1963, allocations: 0 / 0.4983 GB, free: 1.523 MB / 382.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.005772/0.202, allocations: 2.733 MB / 0.5009 GB, free: 14.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.2021, allocations: 16.06 kB / 0.501 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.796e-05/0.2021, allocations: 8 kB / 0.501 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002783/0.2049, allocations: 1.163 MB / 0.5021 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007743/0.2057, allocations: 195.7 kB / 0.5023 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01845/0.2242, allocations: 12.3 MB / 0.5143 GB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009424/0.2251, allocations: 51.97 kB / 0.5143 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001999/0.2253, allocations: 59.92 kB / 0.5144 GB, free: 0.6836 MB / 398.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.0008205/0.2262, allocations: 401.4 kB / 0.5148 GB, free: 288 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002358/0.2264, allocations: 98.78 kB / 0.5149 GB, free: 188 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1963/0.4228, allocations: 1.4 MB / 0.5162 GB, free: 70.8 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.716e-05/0.4228, allocations: 9.656 kB / 0.5163 GB, free: 70.8 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.4228, allocations: 4.438 kB / 0.5163 GB, free: 70.8 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/0.4229, allocations: 5.109 kB / 0.5163 GB, free: 70.8 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004643/0.4275, allocations: 2.664 MB / 0.5189 GB, free: 70.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.4275, allocations: 2.266 kB / 0.5189 GB, free: 70.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001499/0.4291, allocations: 278.2 kB / 0.5191 GB, free: 70.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001743/0.4292, allocations: 58.94 kB / 0.5192 GB, free: 70.21 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.622e-05/0.4293, allocations: 39.16 kB / 0.5192 GB, free: 70.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001516/0.4309, allocations: 2.838 MB / 0.522 GB, free: 67.43 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.4309, allocations: 5.969 kB / 0.522 GB, free: 67.43 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002591/0.4335, allocations: 1.891 MB / 0.5238 GB, free: 66.54 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004348/0.4339, allocations: 256.8 kB / 0.5241 GB, free: 66.42 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001437/0.4341, allocations: 33.94 kB / 0.5241 GB, free: 66.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005504/0.4346, allocations: 49.72 kB / 0.5242 GB, free: 66.39 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001805/0.4348, allocations: 66.67 kB / 0.5242 GB, free: 66.38 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.967e-05/0.4349, allocations: 27.47 kB / 0.5243 GB, free: 66.38 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000906/0.4358, allocations: 0.4949 MB / 0.5247 GB, free: 66.18 MB / 398.1 MB Notification: Performance of sort global known variables: time 5.91e-07/0.4358, allocations: 0 / 0.5247 GB, free: 66.18 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001637/0.4375, allocations: 377.8 kB / 0.5251 GB, free: 66.14 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.0002207/0.4377, allocations: 150.8 kB / 0.5253 GB, free: 66.03 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005494/0.4432, allocations: 2.574 MB / 0.5278 GB, free: 65.18 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.4432, allocations: 4.969 kB / 0.5278 GB, free: 65.18 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001168/0.4444, allocations: 0.7515 MB / 0.5285 GB, free: 64.79 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001148/0.4456, allocations: 217.5 kB / 0.5287 GB, free: 64.72 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005991/0.4516, allocations: 4.054 MB / 0.5327 GB, free: 62.6 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009443/0.4525, allocations: 1.31 MB / 0.5339 GB, free: 61.82 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0009697/0.4535, allocations: 315.3 kB / 0.5342 GB, free: 61.77 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002569/0.4538, allocations: 70.8 kB / 0.5343 GB, free: 61.76 MB / 398.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4538, allocations: 7.172 kB / 0.5343 GB, free: 61.76 MB / 398.1 MB Notification: Performance of Templates: time 0.02503/0.4788, allocations: 19.13 MB / 0.553 GB, free: 48.22 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.sim & ./PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe 2>&1)