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.001654/0.001654, allocations: 173.1 kB / 15.77 MB, free: 6.324 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.503/1.503, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.000835/0.0008349, allocations: 94.28 kB / 270.3 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1759/0.1759, allocations: 38.06 MB / 356.6 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004237/0.0004237, allocations: 12 kB / 422.7 MB, free: 26.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1262, allocations: 56.33 MB / 479.1 MB, free: 2.031 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.01034/0.1366, allocations: 8.086 MB / 487.2 MB, free: 9.91 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.009883/0.1465, allocations: 5.438 MB / 492.6 MB, free: 4.457 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001578/0.1482, allocations: 51.69 kB / 492.6 MB, free: 4.406 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009992/0.1582, allocations: 4.527 MB / 497.2 MB, free: 15.87 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002761/0.161, allocations: 0.6765 MB / 497.8 MB, free: 15.19 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001711/0.1627, allocations: 379.4 kB / 498.2 MB, free: 14.82 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00426/0.167, allocations: 2.475 MB / 0.489 GB, free: 12.34 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002821/0.1699, allocations: 1.143 MB / 0.4901 GB, free: 11.15 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001377/0.1712, allocations: 0.5096 MB / 0.4906 GB, free: 10.64 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001547/0.1728, allocations: 0.6852 MB / 0.4912 GB, free: 9.949 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003052/0.1731, allocations: 48 kB / 0.4913 GB, free: 9.902 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001023/0.1742, allocations: 291.6 kB / 0.4916 GB, free: 9.617 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006508/0.1748, allocations: 438.8 kB / 0.492 GB, free: 9.188 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005723/0.1754, allocations: 237.1 kB / 0.4922 GB, free: 8.949 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001974/0.1774, allocations: 1.352 MB / 0.4935 GB, free: 7.594 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.746e-06/0.1774, allocations: 0 / 0.4935 GB, free: 7.594 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.885e-06/0.1774, allocations: 0 / 0.4935 GB, free: 7.594 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.686e-05/0.1775, allocations: 0 / 0.4935 GB, free: 7.594 MB / 346.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.003281/0.1808, allocations: 1.222 MB / 0.4947 GB, free: 6.32 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.1809, allocations: 12.03 kB / 0.4947 GB, free: 6.309 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008908/0.1818, allocations: 154.5 kB / 0.4949 GB, free: 6.156 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002085/0.1838, allocations: 0.9135 MB / 0.4958 GB, free: 5.199 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.721e-05/0.1839, allocations: 58 kB / 0.4958 GB, free: 5.145 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002527/0.1842, allocations: 91.88 kB / 0.4959 GB, free: 5.055 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001911/0.1861, allocations: 1.059 MB / 0.497 GB, free: 3.953 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.454e-05/0.1862, allocations: 7.984 kB / 0.497 GB, free: 3.945 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.269e-05/0.1863, allocations: 39.89 kB / 0.497 GB, free: 3.906 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002283/0.1865, allocations: 73.95 kB / 0.4971 GB, free: 3.836 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001557/0.1881, allocations: 0.8236 MB / 0.4979 GB, free: 3.012 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006093/0.1942, allocations: 4.016 MB / 0.5018 GB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009852/0.1952, allocations: 0.6364 MB / 0.5024 GB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004568/0.1957, allocations: 311.6 kB / 0.5027 GB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.681e-05/0.1957, allocations: 20.47 kB / 0.5027 GB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.1958, allocations: 39.06 kB / 0.5028 GB, free: 13.76 MB / 362.7 MB Notification: Performance of pre-optimization done (n=57): time 2.796e-06/0.1958, allocations: 0 / 0.5028 GB, free: 13.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=65): time 0.004843/0.2006, allocations: 2.587 MB / 0.5053 GB, free: 11.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.915e-05/0.2007, allocations: 119.4 kB / 0.5054 GB, free: 10.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009196/0.2017, allocations: 0.6879 MB / 0.5061 GB, free: 10.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.541e-05/0.2017, allocations: 33.7 kB / 0.5061 GB, free: 10.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003806/0.2021, allocations: 483.1 kB / 0.5066 GB, free: 9.715 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002054/0.2023, allocations: 240.6 kB / 0.5068 GB, free: 9.477 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/0.2024, allocations: 16 kB / 0.5068 GB, free: 9.461 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.2026, allocations: 402.7 kB / 0.5072 GB, free: 9.059 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004717/0.203, allocations: 298.2 kB / 0.5075 GB, free: 8.766 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006231/0.2037, allocations: 0.511 MB / 0.508 GB, free: 8.164 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002815/0.2065, allocations: 0.9167 MB / 0.5089 GB, free: 7.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.2065, allocations: 7.938 kB / 0.5089 GB, free: 7.223 MB / 362.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002526/0.209, allocations: 1.271 MB / 0.5101 GB, free: 5.938 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.297e-05/0.2091, allocations: 8 kB / 0.5101 GB, free: 5.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.2091, allocations: 4 kB / 0.5101 GB, free: 5.926 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001205/0.2103, allocations: 401.6 kB / 0.5105 GB, free: 5.527 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005613/0.2109, allocations: 147.8 kB / 0.5107 GB, free: 5.383 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2546/0.4655, allocations: 5.711 MB / 0.5162 GB, free: 50.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006889/0.4662, allocations: 31.23 kB / 0.5163 GB, free: 50.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.994e-05/0.4663, allocations: 35.98 kB / 0.5163 GB, free: 50.75 MB / 362.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.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.0006977/0.467, allocations: 366.8 kB / 0.5167 GB, free: 50.64 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001451/0.4671, allocations: 78.84 kB / 0.5167 GB, free: 50.64 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001818/0.469, allocations: 0.8951 MB / 0.5176 GB, free: 50.56 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.469, allocations: 8.578 kB / 0.5176 GB, free: 50.56 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.469, allocations: 4.703 kB / 0.5176 GB, free: 50.56 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/0.469, allocations: 4.359 kB / 0.5176 GB, free: 50.56 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003258/0.4723, allocations: 2.002 MB / 0.5196 GB, free: 49.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.044e-06/0.4723, allocations: 6.031 kB / 0.5196 GB, free: 49.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006183/0.4729, allocations: 119.3 kB / 0.5197 GB, free: 49.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005616/0.4735, allocations: 184.2 kB / 0.5199 GB, free: 49.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.105e-05/0.4736, allocations: 25.58 kB / 0.5199 GB, free: 49.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003755/0.4773, allocations: 4.994 MB / 0.5248 GB, free: 45.36 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.4774, allocations: 1.75 kB / 0.5248 GB, free: 45.36 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00209/0.4795, allocations: 1.262 MB / 0.526 GB, free: 44.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003537/0.4798, allocations: 211.9 kB / 0.5262 GB, free: 44.65 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.4799, allocations: 22.52 kB / 0.5262 GB, free: 44.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000354/0.4803, allocations: 21.25 kB / 0.5263 GB, free: 44.63 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/0.4804, allocations: 53.41 kB / 0.5263 GB, free: 44.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.871e-05/0.4805, allocations: 20.97 kB / 0.5263 GB, free: 44.61 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008477/0.4813, allocations: 493.6 kB / 0.5268 GB, free: 44.4 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.342e-06/0.4814, allocations: 3.938 kB / 0.5268 GB, free: 44.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001341/0.4827, allocations: 256.9 kB / 0.527 GB, free: 44.36 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.0008977/0.4836, allocations: 415.2 kB / 0.5274 GB, free: 44.1 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002233/0.4859, allocations: 1.136 MB / 0.5285 GB, free: 43.55 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.4859, allocations: 1.375 kB / 0.5285 GB, free: 43.55 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009686/0.4868, allocations: 0.7061 MB / 0.5292 GB, free: 43.08 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.4879, allocations: 176.4 kB / 0.5294 GB, free: 43.01 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004806/0.4927, allocations: 3.098 MB / 0.5324 GB, free: 41.15 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009122/0.4937, allocations: 1.145 MB / 0.5335 GB, free: 40.38 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002477/0.4939, allocations: 60.52 kB / 0.5336 GB, free: 40.38 MB / 362.7 MB Notification: Performance of SimCode: time 1.332e-06/0.4939, allocations: 0 / 0.5336 GB, free: 40.38 MB / 362.7 MB Notification: Performance of Templates: time 0.02779/0.5217, allocations: 22.49 MB / 0.5556 GB, free: 23.56 MB / 362.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)