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.001433/0.001433, allocations: 115 kB / 16.63 MB, free: 6.812 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.001322/0.001322, allocations: 186 kB / 17.55 MB, free: 5.934 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.324/1.324, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1687/0.1687, allocations: 38.02 MB / 329.4 MB, free: 8.992 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001593, allocations: 63.52 kB / 398.4 MB, free: 34.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09895/0.1006, allocations: 58.07 MB / 456.5 MB, free: 8.328 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.01003/0.1106, allocations: 9.052 MB / 465.5 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00874/0.1194, allocations: 5.851 MB / 471.4 MB, free: 9.363 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001034/0.1205, allocations: 55.62 kB / 471.4 MB, free: 9.309 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01002/0.1305, allocations: 5.222 MB / 476.6 MB, free: 4.074 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002301/0.1328, allocations: 0.5914 MB / 477.2 MB, free: 3.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001452/0.1343, allocations: 414.7 kB / 477.6 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00334/0.1376, allocations: 2.245 MB / 479.9 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001755/0.1394, allocations: 1.166 MB / 481 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001324/0.1408, allocations: 0.6344 MB / 481.7 MB, free: 15 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001264/0.142, allocations: 0.7825 MB / 482.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002982/0.1424, allocations: 120 kB / 482.6 MB, free: 14.1 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008822/0.1432, allocations: 399.5 kB / 483 MB, free: 13.71 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005648/0.1438, allocations: 0.491 MB / 483.5 MB, free: 13.21 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000968/0.1448, allocations: 0.5988 MB / 484.1 MB, free: 12.61 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001869/0.1467, allocations: 1.706 MB / 485.8 MB, free: 10.9 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.1467, allocations: 0 / 485.8 MB, free: 10.9 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1467, allocations: 0 / 485.8 MB, free: 10.9 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.01e-05/0.1468, allocations: 0 / 485.8 MB, free: 10.9 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.003114/0.1499, allocations: 1.436 MB / 487.2 MB, free: 9.41 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.1499, allocations: 11.89 kB / 487.2 MB, free: 9.398 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000189/0.1501, allocations: 131.3 kB / 487.3 MB, free: 9.262 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007195/0.1509, allocations: 151.5 kB / 487.5 MB, free: 9.113 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001701/0.1526, allocations: 0.9366 MB / 488.4 MB, free: 8.137 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.91e-05/0.1526, allocations: 65.92 kB / 488.5 MB, free: 8.07 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001776/0.1528, allocations: 91.84 kB / 488.6 MB, free: 7.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001613/0.1544, allocations: 1.067 MB / 489.6 MB, free: 6.875 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.719e-05/0.1545, allocations: 7.906 kB / 489.6 MB, free: 6.867 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.612e-05/0.1546, allocations: 28 kB / 489.7 MB, free: 6.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002197/0.1548, allocations: 69.95 kB / 489.7 MB, free: 6.77 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001331/0.1561, allocations: 0.847 MB / 490.6 MB, free: 5.926 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005127/0.1613, allocations: 4 MB / 494.6 MB, free: 1.738 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008976/0.1622, allocations: 0.6183 MB / 495.2 MB, free: 1.078 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004072/0.1626, allocations: 323.2 kB / 495.5 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.101e-05/0.1627, allocations: 8.562 kB / 495.5 MB, free: 0.75 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.1627, allocations: 35.12 kB / 495.6 MB, free: 0.707 MB / 366.1 MB Notification: Performance of pre-optimization done (n=57): time 2.114e-06/0.1627, allocations: 4 kB / 495.6 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004573/0.1673, allocations: 2.583 MB / 498.2 MB, free: 14.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.395e-05/0.1674, allocations: 111.7 kB / 498.3 MB, free: 13.89 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008324/0.1682, allocations: 0.6995 MB / 499 MB, free: 13.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.105e-05/0.1683, allocations: 41.7 kB / 499 MB, free: 13.13 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003244/0.1686, allocations: 475.1 kB / 499.5 MB, free: 12.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001994/0.1688, allocations: 244.6 kB / 499.7 MB, free: 12.42 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002162/0.169, allocations: 154.6 kB / 499.9 MB, free: 12.26 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.1692, allocations: 394.7 kB / 0.4885 GB, free: 11.87 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004569/0.1697, allocations: 305.8 kB / 0.4888 GB, free: 11.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005944/0.1703, allocations: 0.511 MB / 0.4893 GB, free: 10.97 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003652/0.1739, allocations: 1.676 MB / 0.4909 GB, free: 9.191 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.174, allocations: 4 kB / 0.4909 GB, free: 9.188 MB / 382.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.00214/0.1761, allocations: 1.274 MB / 0.4922 GB, free: 7.898 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.1761, allocations: 8.375 kB / 0.4922 GB, free: 7.891 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/0.1762, allocations: 16 kB / 0.4922 GB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001031/0.1772, allocations: 405.3 kB / 0.4926 GB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004871/0.1777, allocations: 151.8 kB / 0.4927 GB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00705/0.1848, allocations: 6.238 MB / 0.4988 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005382/0.1853, allocations: 24 kB / 0.4989 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.028e-05/0.1854, allocations: 39.98 kB / 0.4989 GB, free: 0.7227 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 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.0005494/0.186, allocations: 357.5 kB / 0.4992 GB, free: 372 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001712/0.1861, allocations: 82.97 kB / 0.4993 GB, free: 288 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1906/0.3768, allocations: 0.8852 MB / 0.5002 GB, free: 56.61 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/0.3769, allocations: 8.578 kB / 0.5002 GB, free: 56.61 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.3769, allocations: 3.062 kB / 0.5002 GB, free: 56.61 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/0.3769, allocations: 4.891 kB / 0.5002 GB, free: 56.61 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003206/0.3801, allocations: 2.009 MB / 0.5022 GB, free: 56.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.3801, allocations: 2.469 kB / 0.5022 GB, free: 56.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006051/0.3807, allocations: 119.9 kB / 0.5023 GB, free: 56.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005207/0.3813, allocations: 190.4 kB / 0.5025 GB, free: 56.1 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.91e-05/0.3813, allocations: 23.8 kB / 0.5025 GB, free: 56.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003542/0.3849, allocations: 5.491 MB / 0.5078 GB, free: 51.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.3849, allocations: 3 kB / 0.5078 GB, free: 51.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002022/0.3869, allocations: 1.272 MB / 0.5091 GB, free: 50.64 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003302/0.3873, allocations: 205.7 kB / 0.5093 GB, free: 50.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.3874, allocations: 31.12 kB / 0.5093 GB, free: 50.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003555/0.3877, allocations: 17.34 kB / 0.5093 GB, free: 50.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.3879, allocations: 51.66 kB / 0.5094 GB, free: 50.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.962e-05/0.3879, allocations: 19.41 kB / 0.5094 GB, free: 50.49 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008107/0.3887, allocations: 0.4895 MB / 0.5099 GB, free: 50.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3888, allocations: 1.219 kB / 0.5099 GB, free: 50.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001264/0.39, allocations: 248.6 kB / 0.5101 GB, free: 50.25 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 (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.003152/0.3932, allocations: 2.121 MB / 0.5122 GB, free: 49.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002844/0.396, allocations: 1.251 MB / 0.5134 GB, free: 48.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.3961, allocations: 1.156 kB / 0.5134 GB, free: 48.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009479/0.397, allocations: 0.7148 MB / 0.5141 GB, free: 48.04 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.3981, allocations: 172.2 kB / 0.5143 GB, free: 47.99 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01387/0.412, allocations: 9.192 MB / 0.5233 GB, free: 42.71 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007312/0.4128, allocations: 1.153 MB / 0.5244 GB, free: 41.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005922/0.4134, allocations: 165.8 kB / 0.5245 GB, free: 41.89 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003781/0.4137, allocations: 350.9 kB / 0.5249 GB, free: 41.62 MB / 382.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4138, allocations: 0 / 0.5249 GB, free: 41.62 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03912/0.4529, allocations: 20.92 MB / 0.5453 GB, free: 24.81 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001822/0.4531, allocations: 289.1 kB / 0.5456 GB, free: 24.43 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.309/2.762, allocations: 0 / 0.5456 GB, free: 24.43 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/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)