Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009665/0.0009666, allocations: 169.8 kB / 16.07 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.252/1.252, allocations: 205.4 MB / 222.2 MB, free: 9.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007755/0.0007755, allocations: 86.31 kB / 270.6 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1713/0.1713, allocations: 38.07 MB / 356.9 MB, free: 1.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003858/0.0003859, allocations: 16 kB / 423.3 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2535, allocations: 56.32 MB / 479.6 MB, free: 9.227 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.007938/0.2615, allocations: 8.143 MB / 487.8 MB, free: 3.699 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009064/0.2706, allocations: 5.424 MB / 493.2 MB, free: 15.9 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001626/0.2723, allocations: 54.47 kB / 493.2 MB, free: 15.88 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01118/0.2835, allocations: 4.699 MB / 497.9 MB, free: 14.66 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00273/0.2862, allocations: 0.6723 MB / 498.6 MB, free: 14.31 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001561/0.2878, allocations: 412.8 kB / 499 MB, free: 14.11 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004411/0.2923, allocations: 2.47 MB / 0.4897 GB, free: 12.74 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002283/0.2946, allocations: 1.249 MB / 0.491 GB, free: 11.87 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001259/0.2959, allocations: 0.5188 MB / 0.4915 GB, free: 11.59 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001247/0.2971, allocations: 0.6849 MB / 0.4921 GB, free: 11.21 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000172/0.2973, allocations: 49.34 kB / 0.4922 GB, free: 11.21 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008541/0.2982, allocations: 322.4 kB / 0.4925 GB, free: 11.08 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004994/0.2987, allocations: 437.8 kB / 0.4929 GB, free: 10.81 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007045/0.2994, allocations: 0.5191 MB / 0.4934 GB, free: 10.46 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001647/0.3011, allocations: 1.348 MB / 0.4947 GB, free: 9.5 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.3011, allocations: 5.188 kB / 0.4947 GB, free: 9.496 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3011, allocations: 0 / 0.4947 GB, free: 9.496 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.441e-05/0.3011, allocations: 0 / 0.4947 GB, free: 9.496 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002809/0.304, allocations: 1.209 MB / 0.4959 GB, free: 8.562 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.304, allocations: 10.16 kB / 0.4959 GB, free: 8.562 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000773/0.3048, allocations: 151 kB / 0.4961 GB, free: 8.488 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001928/0.3067, allocations: 0.9464 MB / 0.497 GB, free: 7.754 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.297e-05/0.3068, allocations: 57.62 kB / 0.497 GB, free: 7.727 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002109/0.307, allocations: 100.2 kB / 0.4971 GB, free: 7.684 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001801/0.3088, allocations: 1.061 MB / 0.4982 GB, free: 7.02 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.518e-05/0.3089, allocations: 9.719 kB / 0.4982 GB, free: 7.012 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.044e-05/0.309, allocations: 30.81 kB / 0.4982 GB, free: 6.988 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002314/0.3092, allocations: 74.23 kB / 0.4983 GB, free: 6.965 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001471/0.3107, allocations: 0.8355 MB / 0.4991 GB, free: 6.551 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005991/0.3167, allocations: 4.012 MB / 0.503 GB, free: 2.555 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/0.3178, allocations: 0.6233 MB / 0.5036 GB, free: 1.898 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004387/0.3183, allocations: 315.2 kB / 0.5039 GB, free: 1.586 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.755e-05/0.3184, allocations: 12.55 kB / 0.5039 GB, free: 1.574 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.679e-05/0.3184, allocations: 43.12 kB / 0.504 GB, free: 1.52 MB / 330.7 MB Notification: Performance of pre-optimization done (n=57): time 3.145e-06/0.3184, allocations: 0 / 0.504 GB, free: 1.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=65): time 0.005001/0.3234, allocations: 2.579 MB / 0.5065 GB, free: 14.85 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.698e-05/0.3235, allocations: 111.4 kB / 0.5066 GB, free: 14.71 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009387/0.3245, allocations: 0.6917 MB / 0.5073 GB, free: 14.02 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.498e-05/0.3246, allocations: 41.7 kB / 0.5073 GB, free: 13.97 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003321/0.3249, allocations: 475.2 kB / 0.5078 GB, free: 13.5 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002026/0.3251, allocations: 240.6 kB / 0.508 GB, free: 13.26 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.312e-05/0.3252, allocations: 16 kB / 0.508 GB, free: 13.24 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.3254, allocations: 390.8 kB / 0.5084 GB, free: 12.85 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004805/0.3258, allocations: 309.8 kB / 0.5087 GB, free: 12.55 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005964/0.3265, allocations: 0.511 MB / 0.5092 GB, free: 11.95 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003832/0.3303, allocations: 1.663 MB / 0.5108 GB, free: 10.18 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.3303, allocations: 0 / 0.5108 GB, free: 10.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002316/0.3327, allocations: 1.278 MB / 0.5121 GB, free: 8.887 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.3327, allocations: 8.328 kB / 0.5121 GB, free: 8.879 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.3327, allocations: 4 kB / 0.5121 GB, free: 8.875 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001064/0.3338, allocations: 405.6 kB / 0.5125 GB, free: 8.473 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005407/0.3343, allocations: 159.7 kB / 0.5126 GB, free: 8.316 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00711/0.3415, allocations: 5.731 MB / 0.5182 GB, free: 2.293 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005811/0.3421, allocations: 31.89 kB / 0.5182 GB, free: 2.262 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.697e-05/0.3421, allocations: 32 kB / 0.5183 GB, free: 2.23 MB / 346.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 1 {4 21} Notification: Performance of prepare postOptimizeDAE: time 0.0006057/0.3428, allocations: 361.5 kB / 0.5186 GB, free: 1.867 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.3429, allocations: 75.06 kB / 0.5187 GB, free: 1.793 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001565/0.3445, allocations: 0.8917 MB / 0.5196 GB, free: 0.8828 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.3445, allocations: 11.94 kB / 0.5196 GB, free: 0.8711 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.3445, allocations: 0 / 0.5196 GB, free: 0.8711 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/0.3445, allocations: 7.984 kB / 0.5196 GB, free: 0.8633 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003212/0.3477, allocations: 2.005 MB / 0.5215 GB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.3478, allocations: 3.938 kB / 0.5215 GB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005843/0.3483, allocations: 115.9 kB / 0.5216 GB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005401/0.3489, allocations: 190.6 kB / 0.5218 GB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.221e-05/0.349, allocations: 31.92 kB / 0.5219 GB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004203/0.3532, allocations: 4.992 MB / 0.5267 GB, free: 9.004 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.3532, allocations: 0 / 0.5267 GB, free: 9.004 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001962/0.3552, allocations: 1.266 MB / 0.528 GB, free: 7.695 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003413/0.3555, allocations: 208.1 kB / 0.5282 GB, free: 7.473 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.3557, allocations: 23.94 kB / 0.5282 GB, free: 7.449 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003269/0.356, allocations: 19.98 kB / 0.5282 GB, free: 7.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.55e-05/0.3561, allocations: 44.59 kB / 0.5283 GB, free: 7.383 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.714e-05/0.3562, allocations: 24.09 kB / 0.5283 GB, free: 7.359 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006728/0.3568, allocations: 491 kB / 0.5287 GB, free: 6.887 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3568, allocations: 8 kB / 0.5288 GB, free: 6.879 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001009/0.3579, allocations: 251.9 kB / 0.529 GB, free: 6.633 MB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008887/0.3588, allocations: 419.8 kB / 0.5294 GB, free: 6.277 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001942/0.3607, allocations: 1.134 MB / 0.5305 GB, free: 5.121 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.3607, allocations: 4.062 kB / 0.5305 GB, free: 5.117 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009111/0.3617, allocations: 0.7099 MB / 0.5312 GB, free: 4.363 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.3627, allocations: 183.1 kB / 0.5314 GB, free: 4.184 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004049/0.3668, allocations: 3.08 MB / 0.5344 GB, free: 1.055 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008108/0.3676, allocations: 1.15 MB / 0.5355 GB, free: 15.88 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002163/0.3678, allocations: 59.44 kB / 0.5356 GB, free: 15.82 MB / 378.7 MB Notification: Performance of SimCode: time 4.31e-07/0.3678, allocations: 3.938 kB / 0.5356 GB, free: 15.81 MB / 378.7 MB Notification: Performance of Templates: time 0.02688/0.3947, allocations: 22.47 MB / 0.5575 GB, free: 9.305 MB / 394.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe 2>&1)