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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 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.001056/0.001055, allocations: 87.03 kB / 16.31 MB, free: 6.449 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.001468/0.001467, allocations: 178.2 kB / 17.21 MB, free: 6.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.762/1.762, allocations: 205.4 MB / 223.4 MB, free: 5.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3365/0.3365, allocations: 38.05 MB / 309.7 MB, free: 8.852 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005652/0.0005654, allocations: 15.98 kB / 376.6 MB, free: 15.03 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.15, allocations: 56.33 MB / 433 MB, free: 6.598 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.01337/0.1635, allocations: 8.091 MB / 441 MB, free: 14.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01325/0.1768, allocations: 5.426 MB / 446.5 MB, free: 9.035 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00262/0.1795, allocations: 51.69 kB / 446.5 MB, free: 8.984 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01236/0.1919, allocations: 4.543 MB / 451.1 MB, free: 4.434 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002607/0.1945, allocations: 0.6687 MB / 451.7 MB, free: 3.762 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001562/0.1961, allocations: 379.4 kB / 452.1 MB, free: 3.391 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003932/0.2001, allocations: 2.486 MB / 454.6 MB, free: 0.8984 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3095/0.5096, allocations: 1.142 MB / 455.7 MB, free: 37.67 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00124/0.5109, allocations: 0.5117 MB / 456.2 MB, free: 37.67 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001084/0.512, allocations: 0.692 MB / 456.9 MB, free: 37.67 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001145/0.5121, allocations: 49.91 kB / 457 MB, free: 37.67 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008315/0.513, allocations: 287.4 kB / 457.3 MB, free: 37.67 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005392/0.5135, allocations: 437.9 kB / 457.7 MB, free: 37.67 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003874/0.5139, allocations: 233.2 kB / 457.9 MB, free: 37.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001881/0.5158, allocations: 1.343 MB / 459.3 MB, free: 37.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.081e-05/0.5158, allocations: 0.5 kB / 459.3 MB, free: 37.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.569e-06/0.5159, allocations: 0 / 459.3 MB, free: 37.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.533e-05/0.5159, allocations: 2.688 kB / 459.3 MB, free: 37.61 MB / 382.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.002938/0.5188, allocations: 1.229 MB / 460.5 MB, free: 36.89 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.5189, allocations: 13.14 kB / 460.5 MB, free: 36.89 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000187/0.5191, allocations: 127.8 kB / 460.6 MB, free: 36.86 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007145/0.5198, allocations: 152.4 kB / 460.8 MB, free: 36.8 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001651/0.5215, allocations: 0.9134 MB / 461.7 MB, free: 36.51 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.118e-05/0.5215, allocations: 61.19 kB / 461.8 MB, free: 36.51 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001804/0.5217, allocations: 97.31 kB / 461.8 MB, free: 36.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001659/0.5234, allocations: 1.059 MB / 462.9 MB, free: 36.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.656e-05/0.5234, allocations: 5.438 kB / 462.9 MB, free: 36.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.828e-05/0.5235, allocations: 35.14 kB / 462.9 MB, free: 36.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001989/0.5237, allocations: 73.39 kB / 463 MB, free: 36.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001214/0.525, allocations: 0.8274 MB / 463.8 MB, free: 36.35 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005395/0.5304, allocations: 4.027 MB / 467.9 MB, free: 34.72 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009403/0.5313, allocations: 0.6158 MB / 468.5 MB, free: 34.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003764/0.5317, allocations: 315.7 kB / 468.8 MB, free: 34.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.504e-05/0.5318, allocations: 9.344 kB / 468.8 MB, free: 34.55 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.5318, allocations: 41.66 kB / 468.8 MB, free: 34.51 MB / 382.1 MB Notification: Performance of pre-optimization done (n=57): time 4.147e-06/0.5318, allocations: 0 / 468.8 MB, free: 34.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=65): time 0.004335/0.5362, allocations: 2.592 MB / 471.4 MB, free: 33.71 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.833e-05/0.5362, allocations: 109.1 kB / 471.5 MB, free: 33.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008238/0.5371, allocations: 0.6904 MB / 472.2 MB, free: 33.45 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.08e-05/0.5371, allocations: 40.45 kB / 472.3 MB, free: 33.42 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002684/0.5374, allocations: 480.4 kB / 472.7 MB, free: 33.19 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001884/0.5376, allocations: 232.5 kB / 473 MB, free: 33.05 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.908e-05/0.5377, allocations: 16.19 kB / 473 MB, free: 33.05 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.5378, allocations: 395.4 kB / 473.4 MB, free: 32.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004241/0.5382, allocations: 309.1 kB / 473.7 MB, free: 32.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005415/0.5388, allocations: 0.5125 MB / 474.2 MB, free: 32.49 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002429/0.5412, allocations: 0.9154 MB / 475.1 MB, free: 32.37 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.947e-06/0.5413, allocations: 2.906 kB / 475.1 MB, free: 32.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002049/0.5433, allocations: 1.259 MB / 476.4 MB, free: 32.24 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/0.5434, allocations: 11.41 kB / 476.4 MB, free: 32.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/0.5434, allocations: 7.062 kB / 476.4 MB, free: 32.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009711/0.5444, allocations: 410.4 kB / 476.8 MB, free: 32.22 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004951/0.5449, allocations: 146.4 kB / 476.9 MB, free: 32.22 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006208/0.5511, allocations: 5.728 MB / 482.7 MB, free: 29.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007557/0.5519, allocations: 38.75 kB / 482.7 MB, free: 29.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.349e-05/0.552, allocations: 35.83 kB / 482.7 MB, free: 29.42 MB / 382.1 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.gear.w = $DER.windGen.WT.genRotor.w. 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.0008125/0.5528, allocations: 356.6 kB / 483.1 MB, free: 29.3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001557/0.5529, allocations: 88.39 kB / 483.2 MB, free: 29.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001467/0.5544, allocations: 0.8855 MB / 484 MB, free: 29.11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.5544, allocations: 6.688 kB / 484.1 MB, free: 29.11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.5544, allocations: 3.125 kB / 484.1 MB, free: 29.11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.5545, allocations: 3.328 kB / 484.1 MB, free: 29.11 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00285/0.5573, allocations: 2.015 MB / 486.1 MB, free: 28.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-06/0.5573, allocations: 3 kB / 486.1 MB, free: 28.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005444/0.5579, allocations: 120.8 kB / 486.2 MB, free: 28.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004832/0.5584, allocations: 186.6 kB / 486.4 MB, free: 27.99 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.946e-05/0.5584, allocations: 24.44 kB / 486.4 MB, free: 27.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003359/0.5618, allocations: 4.996 MB / 491.4 MB, free: 23.49 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.5618, allocations: 3 kB / 491.4 MB, free: 23.49 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001818/0.5636, allocations: 1.262 MB / 492.7 MB, free: 22.87 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003618/0.564, allocations: 207.3 kB / 492.9 MB, free: 22.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.5641, allocations: 21.56 kB / 492.9 MB, free: 22.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003557/0.5645, allocations: 15.83 kB / 492.9 MB, free: 22.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.5646, allocations: 53.67 kB / 493 MB, free: 22.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.517e-05/0.5647, allocations: 21.27 kB / 493 MB, free: 22.67 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006873/0.5654, allocations: 498.2 kB / 493.5 MB, free: 22.45 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5654, allocations: 0 / 493.5 MB, free: 22.45 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00125/0.5666, allocations: 248 kB / 493.7 MB, free: 22.43 MB / 382.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 (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.003066/0.5697, allocations: 2.12 MB / 495.8 MB, free: 21.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002549/0.5723, allocations: 1.127 MB / 497 MB, free: 20.53 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/0.5723, allocations: 4.375 kB / 497 MB, free: 20.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001136/0.5734, allocations: 0.712 MB / 497.7 MB, free: 20.06 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009501/0.5744, allocations: 173.3 kB / 497.8 MB, free: 20 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01465/0.5891, allocations: 6.747 MB / 0.4928 GB, free: 16.39 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001216/0.5903, allocations: 1.145 MB / 0.4939 GB, free: 15.62 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000699/0.591, allocations: 165.3 kB / 0.494 GB, free: 15.58 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005393/0.5916, allocations: 357 kB / 0.4944 GB, free: 15.31 MB / 382.1 MB Notification: Performance of SimCode: time 1.723e-06/0.5916, allocations: 0 / 0.4944 GB, free: 15.31 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.053/0.6446, allocations: 20.24 MB / 0.5141 GB, free: 7.91 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002122/0.6449, allocations: 268.9 kB / 0.5144 GB, free: 7.547 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.25/2.895, allocations: 2.406 kB / 0.5144 GB, free: 7.547 MB / 382.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/linux/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) Environment - environmentSimulation: