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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_WindGeneratorLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_WindGeneratorLine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001335, allocations: 109.9 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.001267/0.001267, 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.404/1.404, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1854/0.1854, allocations: 38.04 MB / 329.9 MB, free: 8.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 63.91 kB / 457.7 MB, free: 7.332 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3522, allocations: 58.05 MB / 0.5036 GB, free: 7.434 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.008918/0.3611, allocations: 7.622 MB / 0.5111 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008599/0.3698, allocations: 5.375 MB / 0.5163 GB, free: 14.39 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006651/0.3705, allocations: 29.62 kB / 0.5163 GB, free: 14.38 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0121/0.3826, allocations: 5.182 MB / 0.5214 GB, free: 12.79 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002164/0.3848, allocations: 0.6294 MB / 0.522 GB, free: 12.44 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001878/0.3866, allocations: 463.2 kB / 0.5225 GB, free: 12.19 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004323/0.391, allocations: 2.208 MB / 0.5246 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001925/0.3929, allocations: 1.128 MB / 0.5257 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001425/0.3944, allocations: 0.6389 MB / 0.5263 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00143/0.3958, allocations: 0.7292 MB / 0.527 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003228/0.3961, allocations: 116.9 kB / 0.5272 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009271/0.3971, allocations: 397 kB / 0.5275 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005615/0.3977, allocations: 0.4945 MB / 0.528 GB, free: 9.895 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006617/0.3983, allocations: 0.5957 MB / 0.5286 GB, free: 9.516 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001856/0.4002, allocations: 1.714 MB / 0.5303 GB, free: 8.332 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.227e-06/0.4002, allocations: 4 kB / 0.5303 GB, free: 8.328 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4002, allocations: 0 / 0.5303 GB, free: 8.328 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.35e-05/0.4002, allocations: 0 / 0.5303 GB, free: 8.328 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.002523/0.4028, allocations: 1.455 MB / 0.5317 GB, free: 7.215 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.4028, allocations: 12.7 kB / 0.5317 GB, free: 7.211 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001603/0.403, allocations: 134.4 kB / 0.5318 GB, free: 7.102 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006521/0.4036, allocations: 159.5 kB / 0.532 GB, free: 7.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001644/0.4053, allocations: 0.9832 MB / 0.533 GB, free: 6.258 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.958e-05/0.4053, allocations: 61.55 kB / 0.533 GB, free: 6.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001758/0.4055, allocations: 88.98 kB / 0.5331 GB, free: 6.199 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001527/0.4071, allocations: 1.062 MB / 0.5341 GB, free: 5.535 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.368e-05/0.4071, allocations: 14.56 kB / 0.5341 GB, free: 5.523 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.174e-05/0.4072, allocations: 31.89 kB / 0.5342 GB, free: 5.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002076/0.4074, allocations: 73.23 kB / 0.5342 GB, free: 5.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001269/0.4087, allocations: 0.8323 MB / 0.5351 GB, free: 5.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005284/0.414, allocations: 3.972 MB / 0.5389 GB, free: 1.891 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009648/0.415, allocations: 0.6314 MB / 0.5396 GB, free: 1.492 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000434/0.4154, allocations: 318.4 kB / 0.5399 GB, free: 1.324 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.58e-05/0.4155, allocations: 7.641 kB / 0.5399 GB, free: 1.32 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.804e-05/0.4155, allocations: 42.53 kB / 0.5399 GB, free: 1.273 MB / 398.1 MB Notification: Performance of pre-optimization done (n=57): time 5.53e-06/0.4155, allocations: 0 / 0.5399 GB, free: 1.273 MB / 398.1 MB Notification: Performance of matching and sorting (n=65): time 0.004743/0.4203, allocations: 2.616 MB / 0.5425 GB, free: 15.58 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.744e-05/0.4204, allocations: 114.1 kB / 0.5426 GB, free: 15.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007949/0.4212, allocations: 0.6921 MB / 0.5432 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.999e-05/0.4212, allocations: 40.11 kB / 0.5433 GB, free: 15.01 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003586/0.4216, allocations: 0.4915 MB / 0.5438 GB, free: 14.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001966/0.4218, allocations: 243.1 kB / 0.544 GB, free: 14.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000222/0.422, allocations: 145.6 kB / 0.5441 GB, free: 14.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001948/0.4222, allocations: 396 kB / 0.5445 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004646/0.4227, allocations: 313.5 kB / 0.5448 GB, free: 13.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006214/0.4233, allocations: 0.5111 MB / 0.5453 GB, free: 13.31 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003708/0.427, allocations: 1.672 MB / 0.5469 GB, free: 11.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/0.427, allocations: 4 kB / 0.5469 GB, free: 11.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002276/0.4293, allocations: 1.279 MB / 0.5482 GB, free: 10.24 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.4294, allocations: 8 kB / 0.5482 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/0.4294, allocations: 8 kB / 0.5482 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001061/0.4304, allocations: 397.6 kB / 0.5486 GB, free: 9.832 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005036/0.431, allocations: 151.7 kB / 0.5487 GB, free: 9.684 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008119/0.4391, allocations: 6.244 MB / 0.5548 GB, free: 3.141 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006628/0.4398, allocations: 35.94 kB / 0.5549 GB, free: 3.105 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.394e-05/0.4399, allocations: 32 kB / 0.5549 GB, free: 3.074 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.0006071/0.4405, allocations: 353.5 kB / 0.5552 GB, free: 2.719 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/0.4406, allocations: 79.48 kB / 0.5553 GB, free: 2.641 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001615/0.4422, allocations: 0.9072 MB / 0.5562 GB, free: 1.711 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.4423, allocations: 4 kB / 0.5562 GB, free: 1.707 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.4423, allocations: 4 kB / 0.5562 GB, free: 1.703 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.407e-06/0.4423, allocations: 3.984 kB / 0.5562 GB, free: 1.699 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003501/0.4458, allocations: 2.014 MB / 0.5582 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.4458, allocations: 7.938 kB / 0.5582 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005883/0.4464, allocations: 115.9 kB / 0.5583 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005469/0.447, allocations: 190.5 kB / 0.5585 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.519e-05/0.447, allocations: 23.98 kB / 0.5585 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005142/0.4522, allocations: 5.484 MB / 0.5639 GB, free: 9.336 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.4522, allocations: 4.031 kB / 0.5639 GB, free: 9.332 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002188/0.4544, allocations: 1.275 MB / 0.5651 GB, free: 8.012 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003454/0.4548, allocations: 212.5 kB / 0.5653 GB, free: 7.785 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.911e-05/0.4549, allocations: 16 kB / 0.5653 GB, free: 7.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003312/0.4552, allocations: 19.98 kB / 0.5653 GB, free: 7.75 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.4553, allocations: 48.44 kB / 0.5654 GB, free: 7.703 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.605e-05/0.4554, allocations: 27.98 kB / 0.5654 GB, free: 7.676 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006593/0.456, allocations: 499 kB / 0.5659 GB, free: 7.191 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.456, allocations: 0 / 0.5659 GB, free: 7.191 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001078/0.4571, allocations: 247.9 kB / 0.5661 GB, free: 6.949 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.003708/0.4608, allocations: 2.135 MB / 0.5682 GB, free: 4.91 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002132/0.463, allocations: 1.141 MB / 0.5693 GB, free: 3.734 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.463, allocations: 5.188 kB / 0.5693 GB, free: 3.73 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001001/0.464, allocations: 0.7141 MB / 0.57 GB, free: 2.98 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.465, allocations: 186.8 kB / 0.5702 GB, free: 2.809 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01363/0.4787, allocations: 8.608 MB / 0.5786 GB, free: 9.863 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009427/0.4797, allocations: 1.146 MB / 0.5797 GB, free: 8.691 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005019/0.4802, allocations: 158.6 kB / 0.5799 GB, free: 8.531 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004771/0.4807, allocations: 359.3 kB / 0.5802 GB, free: 8.18 MB / 446.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4807, allocations: 0 / 0.5802 GB, free: 8.18 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06009/0.5408, allocations: 21.31 MB / 0.601 GB, free: 3.035 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.16/15.7, allocations: 8 kB / 0.601 GB, free: 3.027 MB / 462.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Generation_WindGeneratorLine_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Generation_WindGeneratorLine.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe 2>&1)