Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.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.AC3ph.Generation.WindGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 109.2 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.001311/0.001311, 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.393/1.393, 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.1778/0.1778, allocations: 38.04 MB / 329.9 MB, free: 8.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 64.09 kB / 458.1 MB, free: 6.832 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4415/0.443, allocations: 58.05 MB / 0.5041 GB, free: 7.836 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.01079/0.4538, allocations: 7.628 MB / 0.5115 GB, free: 2.535 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0117/0.4656, allocations: 5.365 MB / 0.5168 GB, free: 14.8 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0017/0.4673, allocations: 29.28 kB / 0.5168 GB, free: 14.79 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01481/0.4821, allocations: 5.183 MB / 0.5219 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002957/0.4851, allocations: 0.6293 MB / 0.5225 GB, free: 12.85 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001956/0.4871, allocations: 463.9 kB / 0.5229 GB, free: 12.6 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005334/0.4924, allocations: 2.208 MB / 0.5251 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00257/0.495, allocations: 1.115 MB / 0.5262 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00203/0.4971, allocations: 0.6429 MB / 0.5268 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002059/0.4991, allocations: 0.7337 MB / 0.5275 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005736/0.4997, allocations: 115.8 kB / 0.5276 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001736/0.5015, allocations: 400 kB / 0.528 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001003/0.5025, allocations: 0.4913 MB / 0.5285 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001643/0.5042, allocations: 0.5995 MB / 0.5291 GB, free: 9.738 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003855/0.508, allocations: 1.715 MB / 0.5308 GB, free: 8.523 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.5081, allocations: 0 / 0.5308 GB, free: 8.523 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.5081, allocations: 7.938 kB / 0.5308 GB, free: 8.516 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001341/0.5082, allocations: 1.094 kB / 0.5308 GB, free: 8.516 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.004878/0.5131, allocations: 1.453 MB / 0.5322 GB, free: 7.406 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.5132, allocations: 12.86 kB / 0.5322 GB, free: 7.402 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009454/0.5141, allocations: 164.2 kB / 0.5323 GB, free: 7.316 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002002/0.5161, allocations: 0.9718 MB / 0.5333 GB, free: 6.566 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.04e-05/0.5162, allocations: 65.72 kB / 0.5334 GB, free: 6.535 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002186/0.5164, allocations: 84.58 kB / 0.5334 GB, free: 6.508 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002083/0.5185, allocations: 1.067 MB / 0.5345 GB, free: 5.84 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.324e-05/0.5186, allocations: 14.3 kB / 0.5345 GB, free: 5.828 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.577e-05/0.5187, allocations: 26.59 kB / 0.5345 GB, free: 5.809 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002426/0.5189, allocations: 73.73 kB / 0.5346 GB, free: 5.789 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001677/0.5206, allocations: 0.833 MB / 0.5354 GB, free: 5.379 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007631/0.5282, allocations: 3.982 MB / 0.5393 GB, free: 2.188 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001326/0.5296, allocations: 0.6267 MB / 0.5399 GB, free: 1.793 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005782/0.5302, allocations: 314.3 kB / 0.5402 GB, free: 1.629 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.839e-05/0.5303, allocations: 6.062 kB / 0.5402 GB, free: 1.625 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.731e-05/0.5303, allocations: 39.25 kB / 0.5403 GB, free: 1.582 MB / 398.1 MB Notification: Performance of pre-optimization done (n=57): time 4.087e-06/0.5303, allocations: 0 / 0.5403 GB, free: 1.582 MB / 398.1 MB Notification: Performance of matching and sorting (n=65): time 0.00632/0.5367, allocations: 2.605 MB / 0.5428 GB, free: 15.9 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001464/0.5368, allocations: 118.2 kB / 0.5429 GB, free: 15.76 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001208/0.538, allocations: 0.7001 MB / 0.5436 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.097e-05/0.5381, allocations: 40.08 kB / 0.5436 GB, free: 15.31 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000436/0.5386, allocations: 487.4 kB / 0.5441 GB, free: 14.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002695/0.5388, allocations: 259.1 kB / 0.5443 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002702/0.5391, allocations: 145.1 kB / 0.5445 GB, free: 14.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002208/0.5393, allocations: 396.7 kB / 0.5449 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005264/0.5399, allocations: 306.3 kB / 0.5452 GB, free: 13.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006066/0.5405, allocations: 0.5228 MB / 0.5457 GB, free: 13.37 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003699/0.5442, allocations: 1.672 MB / 0.5473 GB, free: 11.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.5442, allocations: 0 / 0.5473 GB, free: 11.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002204/0.5464, allocations: 1.275 MB / 0.5485 GB, free: 10.3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.938e-05/0.5465, allocations: 11.94 kB / 0.5485 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.5465, allocations: 4 kB / 0.5486 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/0.5475, allocations: 405.6 kB / 0.5489 GB, free: 9.887 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005022/0.548, allocations: 155.7 kB / 0.5491 GB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007357/0.5554, allocations: 6.243 MB / 0.5552 GB, free: 3.199 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007157/0.5561, allocations: 31.95 kB / 0.5552 GB, free: 3.168 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-05/0.5562, allocations: 35.98 kB / 0.5553 GB, free: 3.133 MB / 414.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.windGen.WT.turbine.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * 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 initialization (75): * Single equations (assignments): 73 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,21)} Notification: Performance of prepare postOptimizeDAE: time 0.000667/0.5569, allocations: 353.5 kB / 0.5556 GB, free: 2.777 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/0.557, allocations: 83.48 kB / 0.5557 GB, free: 2.695 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001578/0.5586, allocations: 0.8995 MB / 0.5565 GB, free: 1.773 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.5586, allocations: 8 kB / 0.5566 GB, free: 1.766 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.5586, allocations: 4 kB / 0.5566 GB, free: 1.762 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.5587, allocations: 3.984 kB / 0.5566 GB, free: 1.758 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003198/0.5619, allocations: 2.014 MB / 0.5585 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.5619, allocations: 4 kB / 0.5585 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000575/0.5625, allocations: 115.9 kB / 0.5586 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005273/0.563, allocations: 194.5 kB / 0.5588 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.385e-05/0.5631, allocations: 19.98 kB / 0.5588 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004472/0.5675, allocations: 5.481 MB / 0.5642 GB, free: 9.402 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.5676, allocations: 4.031 kB / 0.5642 GB, free: 9.398 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001914/0.5695, allocations: 1.283 MB / 0.5655 GB, free: 8.07 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003602/0.5699, allocations: 212.4 kB / 0.5657 GB, free: 7.844 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.57, allocations: 23.98 kB / 0.5657 GB, free: 7.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003341/0.5703, allocations: 15.98 kB / 0.5657 GB, free: 7.805 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.212e-05/0.5704, allocations: 52.44 kB / 0.5657 GB, free: 7.754 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.196e-05/0.5705, allocations: 16 kB / 0.5658 GB, free: 7.738 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006998/0.5712, allocations: 499 kB / 0.5662 GB, free: 7.254 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5712, allocations: 4 kB / 0.5662 GB, free: 7.25 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001104/0.5723, allocations: 251.9 kB / 0.5665 GB, free: 7.004 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 11 (windGen.generator.i[3],windGen.generator.psi_rd[1],windGen.generator.psi_rq[1],windGen.WT.genRotor.phi,windGen.WT.genRotor.w,windGen.WT.turbine.phi,windGen.WT.turbine.w,windGen.WT.gear.phi,windGen.WT.gear.w,line.i[1],line.i[2]) * 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 (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000981/0.5733, allocations: 417.7 kB / 0.5669 GB, free: 6.73 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001886/0.5752, allocations: 1.146 MB / 0.568 GB, free: 5.559 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.5752, allocations: 3.938 kB / 0.568 GB, free: 5.555 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008884/0.5761, allocations: 0.7107 MB / 0.5687 GB, free: 4.809 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008866/0.577, allocations: 191.7 kB / 0.5689 GB, free: 4.633 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003744/0.5807, allocations: 2.517 MB / 0.5713 GB, free: 2.066 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007904/0.5815, allocations: 1.146 MB / 0.5725 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004778/0.582, allocations: 158.6 kB / 0.5726 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001498/0.5822, allocations: 59.42 kB / 0.5727 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of SimCode: time 5.61e-07/0.5822, allocations: 0 / 0.5727 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of Templates: time 0.0221/0.6043, allocations: 12.67 MB / 0.585 GB, free: 4.09 MB / 446.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe 2>&1)