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.001666/0.001667, allocations: 106.6 kB / 16.92 MB, free: 6.145 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.001447/0.001447, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.339/1.339, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.186/0.186, allocations: 38.02 MB / 329.7 MB, free: 8.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 65.61 kB / 398.9 MB, free: 33.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1031, allocations: 58.05 MB / 457 MB, free: 7.934 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.01155/0.1147, allocations: 7.621 MB / 464.6 MB, free: 280 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009057/0.1238, allocations: 5.377 MB / 470 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009873/0.1248, allocations: 31.81 kB / 470 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01185/0.1367, allocations: 5.175 MB / 475.2 MB, free: 5.664 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002075/0.1388, allocations: 0.6299 MB / 475.8 MB, free: 5.031 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001251/0.1401, allocations: 462.4 kB / 476.2 MB, free: 4.582 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003107/0.1432, allocations: 2.198 MB / 478.4 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001506/0.1447, allocations: 1.127 MB / 479.6 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001148/0.1459, allocations: 0.6462 MB / 480.2 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001263/0.1472, allocations: 0.7358 MB / 481 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003089/0.1475, allocations: 116 kB / 481.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000875/0.1484, allocations: 391.5 kB / 481.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005326/0.1489, allocations: 0.491 MB / 481.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007855/0.1497, allocations: 0.595 MB / 482.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001808/0.1515, allocations: 1.702 MB / 484.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1515, allocations: 0 / 484.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1516, allocations: 0 / 484.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.83e-05/0.1516, allocations: 0 / 484.2 MB, free: 12.55 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.0029/0.1545, allocations: 1.424 MB / 485.7 MB, free: 11.07 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.1546, allocations: 11.89 kB / 485.7 MB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001562/0.1547, allocations: 131.3 kB / 485.8 MB, free: 10.92 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007007/0.1554, allocations: 147.6 kB / 485.9 MB, free: 10.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001568/0.157, allocations: 0.9404 MB / 486.9 MB, free: 9.793 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.565e-05/0.1571, allocations: 62 kB / 486.9 MB, free: 9.73 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001712/0.1573, allocations: 99.83 kB / 487 MB, free: 9.633 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00148/0.1587, allocations: 1.071 MB / 488.1 MB, free: 8.523 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.811e-05/0.1588, allocations: 4 kB / 488.1 MB, free: 8.52 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.494e-05/0.1589, allocations: 35.98 kB / 488.2 MB, free: 8.484 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002267/0.1591, allocations: 73.95 kB / 488.2 MB, free: 8.41 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001266/0.1604, allocations: 0.8353 MB / 489.1 MB, free: 7.578 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00504/0.1654, allocations: 4.012 MB / 493.1 MB, free: 3.379 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009334/0.1664, allocations: 0.6105 MB / 493.7 MB, free: 2.73 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004177/0.1668, allocations: 325.6 kB / 494 MB, free: 2.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.166e-05/0.1669, allocations: 4.562 kB / 494 MB, free: 2.406 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.949e-05/0.1669, allocations: 43.12 kB / 494 MB, free: 2.355 MB / 366.1 MB Notification: Performance of pre-optimization done (n=57): time 2.224e-06/0.1669, allocations: 0 / 494 MB, free: 2.355 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004557/0.1715, allocations: 2.59 MB / 496.6 MB, free: 15.67 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.632e-05/0.1716, allocations: 111.4 kB / 496.7 MB, free: 15.54 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000848/0.1724, allocations: 0.6957 MB / 497.4 MB, free: 14.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.236e-05/0.1725, allocations: 41.7 kB / 497.5 MB, free: 14.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003349/0.1728, allocations: 483.4 kB / 498 MB, free: 14.31 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001941/0.173, allocations: 236.6 kB / 498.2 MB, free: 14.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002093/0.1732, allocations: 150.6 kB / 498.3 MB, free: 13.92 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.1734, allocations: 398.7 kB / 498.7 MB, free: 13.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004466/0.1739, allocations: 305.8 kB / 499 MB, free: 13.22 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005665/0.1744, allocations: 0.515 MB / 499.5 MB, free: 12.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003637/0.1781, allocations: 1.672 MB / 0.4895 GB, free: 10.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.1781, allocations: 0 / 0.4895 GB, free: 10.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002193/0.1803, allocations: 1.282 MB / 0.4907 GB, free: 9.543 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.1803, allocations: 8 kB / 0.4907 GB, free: 9.535 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.1804, allocations: 4 kB / 0.4907 GB, free: 9.531 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001086/0.1814, allocations: 413.5 kB / 0.4911 GB, free: 9.121 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005154/0.182, allocations: 147.8 kB / 0.4913 GB, free: 8.977 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00756/0.1895, allocations: 6.246 MB / 0.4974 GB, free: 2.426 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005292/0.1901, allocations: 27.94 kB / 0.4974 GB, free: 2.398 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.009e-05/0.1902, allocations: 39.98 kB / 0.4974 GB, free: 2.359 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.0005524/0.1907, allocations: 360.3 kB / 0.4978 GB, free: 2 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000188/0.1909, allocations: 78.97 kB / 0.4978 GB, free: 1.922 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001582/0.1925, allocations: 0.9034 MB / 0.4987 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/0.1925, allocations: 4 kB / 0.4987 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.1926, allocations: 4 kB / 0.4987 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.1926, allocations: 3.984 kB / 0.4987 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003208/0.1958, allocations: 2.005 MB / 0.5007 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.1958, allocations: 4 kB / 0.5007 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006023/0.1964, allocations: 119.8 kB / 0.5008 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005478/0.197, allocations: 182.6 kB / 0.501 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-05/0.1971, allocations: 23.98 kB / 0.501 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004342/0.2014, allocations: 5.488 MB / 0.5064 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.2014, allocations: 0 / 0.5064 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00191/0.2033, allocations: 1.278 MB / 0.5076 GB, free: 7.316 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003736/0.2037, allocations: 204 kB / 0.5078 GB, free: 7.098 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001687/0.2039, allocations: 23.98 kB / 0.5078 GB, free: 7.074 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003833/0.2043, allocations: 20.17 kB / 0.5079 GB, free: 7.055 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.2044, allocations: 44.5 kB / 0.5079 GB, free: 7.012 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.009e-05/0.2045, allocations: 31.98 kB / 0.5079 GB, free: 6.98 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007459/0.2052, allocations: 495 kB / 0.5084 GB, free: 6.504 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.2052, allocations: 0 / 0.5084 GB, free: 6.504 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001141/0.2064, allocations: 251.9 kB / 0.5086 GB, free: 6.258 MB / 398.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.002946/0.2093, allocations: 2.117 MB / 0.5107 GB, free: 4.23 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002416/0.2118, allocations: 1.255 MB / 0.5119 GB, free: 2.945 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.2118, allocations: 0 / 0.5119 GB, free: 2.945 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009182/0.2127, allocations: 0.7141 MB / 0.5126 GB, free: 2.195 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009312/0.2137, allocations: 189.3 kB / 0.5128 GB, free: 2.012 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1942/0.4078, allocations: 8.825 MB / 0.5214 GB, free: 67.55 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008284/0.4087, allocations: 1.149 MB / 0.5225 GB, free: 66.79 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006892/0.4094, allocations: 159.8 kB / 0.5227 GB, free: 66.78 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004532/0.4099, allocations: 351.8 kB / 0.523 GB, free: 66.52 MB / 398.1 MB Notification: Performance of SimCode: time 1.383e-06/0.4099, allocations: 0 / 0.523 GB, free: 66.52 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05091/0.4608, allocations: 20.99 MB / 0.5435 GB, free: 57.08 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.71, allocations: 2.578 kB / 0.5435 GB, free: 57.08 MB / 398.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)