Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00165/0.001649, allocations: 179.7 kB / 15.76 MB, free: 6.34 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.09/2.09, allocations: 205.4 MB / 221.9 MB, free: 13.75 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001132/0.001132, allocations: 102.7 kB / 270.3 MB, free: 13.27 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2609/0.2609, allocations: 38.07 MB / 356.6 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000631/0.0006309, allocations: 12 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.113, allocations: 56.32 MB / 479 MB, free: 2.039 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6078/0.7208, allocations: 117 MB / 0.582 GB, free: 15.26 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004533/0.7213, allocations: 101.1 kB / 0.5821 GB, free: 15.2 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1696/0.891, allocations: 38.09 MB / 0.6193 GB, free: 14.44 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.8911, allocations: 0 / 0.6193 GB, free: 14.44 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.045e-05/0.8912, allocations: 28 kB / 0.6194 GB, free: 14.41 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 298 * Number of variables: 298 Notification: Performance of Generate backend data structure: time 0.004592/0.8958, allocations: 1.437 MB / 0.6208 GB, free: 13 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.8958, allocations: 8.031 kB / 0.6208 GB, free: 13 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002626/0.8985, allocations: 258 kB / 0.621 GB, free: 12.74 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00632/0.9048, allocations: 1.575 MB / 0.6225 GB, free: 11.4 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.527e-05/0.9049, allocations: 83.34 kB / 0.6226 GB, free: 11.35 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004104/0.9054, allocations: 114.1 kB / 0.6227 GB, free: 11.27 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003585/0.909, allocations: 1.464 MB / 0.6242 GB, free: 10.16 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.319e-05/0.9091, allocations: 7.953 kB / 0.6242 GB, free: 10.16 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001887/0.9093, allocations: 44.06 kB / 0.6242 GB, free: 10.14 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002131/0.9095, allocations: 88.17 kB / 0.6243 GB, free: 10.06 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003259/0.9128, allocations: 1.232 MB / 0.6255 GB, free: 9.195 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01232/0.9251, allocations: 5.658 MB / 0.631 GB, free: 4.035 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001532/0.9267, allocations: 0.59 MB / 0.6316 GB, free: 3.422 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.815e-05/0.9268, allocations: 12.62 kB / 0.6316 GB, free: 3.41 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.115e-05/0.9269, allocations: 47.06 kB / 0.6317 GB, free: 3.355 MB / 426.7 MB Notification: Performance of pre-optimization done (n=67): time 3.577e-06/0.9269, allocations: 0 / 0.6317 GB, free: 3.355 MB / 426.7 MB Notification: Performance of matching and sorting (n=74): time 0.01204/0.9389, allocations: 3.546 MB / 0.6351 GB, free: 15.67 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.164e-05/0.939, allocations: 85.7 kB / 0.6352 GB, free: 15.57 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001293/0.9403, allocations: 0.6368 MB / 0.6358 GB, free: 14.92 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.981e-05/0.9405, allocations: 41.69 kB / 0.6359 GB, free: 14.87 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005129/0.941, allocations: 0.6099 MB / 0.6365 GB, free: 14.25 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003745/0.9414, allocations: 268.1 kB / 0.6367 GB, free: 13.99 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.823e-05/0.9415, allocations: 20 kB / 0.6367 GB, free: 13.97 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.9417, allocations: 350.8 kB / 0.6371 GB, free: 13.62 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001026/0.9427, allocations: 381.8 kB / 0.6374 GB, free: 13.24 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00124/0.9439, allocations: 0.6535 MB / 0.6381 GB, free: 12.46 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/0.9452, allocations: 0.5026 MB / 0.6386 GB, free: 11.96 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.007e-06/0.9453, allocations: 4 kB / 0.6386 GB, free: 11.96 MB / 442.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.005447/0.9507, allocations: 1.644 MB / 0.6402 GB, free: 10.29 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.329e-05/0.9508, allocations: 8.625 kB / 0.6402 GB, free: 10.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004536/0.9553, allocations: 1.299 MB / 0.6415 GB, free: 8.977 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003422/0.9588, allocations: 0.5769 MB / 0.642 GB, free: 8.387 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/0.96, allocations: 175.7 kB / 0.6422 GB, free: 8.215 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0184/0.9784, allocations: 9.639 MB / 0.6516 GB, free: 14.01 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001264/0.9797, allocations: 55.95 kB / 0.6516 GB, free: 13.96 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/0.9798, allocations: 40 kB / 0.6517 GB, free: 13.92 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (94): * Single equations (assignments): 90 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(2,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 1 {3 16} Notification: Performance of prepare postOptimizeDAE: time 0.0009853/0.9808, allocations: 385.4 kB / 0.6521 GB, free: 13.53 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002676/0.9811, allocations: 86.88 kB / 0.6521 GB, free: 13.45 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004884/0.986, allocations: 1.25 MB / 0.6534 GB, free: 12.17 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.481e-05/0.9861, allocations: 12 kB / 0.6534 GB, free: 12.16 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.72e-05/0.9861, allocations: 4 kB / 0.6534 GB, free: 12.15 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.287e-05/0.9862, allocations: 3.984 kB / 0.6534 GB, free: 12.15 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009849/0.996, allocations: 2.396 MB / 0.6557 GB, free: 9.656 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.427e-05/0.9961, allocations: 0 / 0.6557 GB, free: 9.656 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001296/0.9974, allocations: 103.9 kB / 0.6558 GB, free: 9.555 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002782/1, allocations: 380 kB / 0.6562 GB, free: 9.168 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001657/1, allocations: 27.98 kB / 0.6562 GB, free: 9.141 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03647/1.037, allocations: 8.58 MB / 0.6646 GB, free: 15.89 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/1.037, allocations: 0 / 0.6646 GB, free: 15.89 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006185/1.043, allocations: 1.756 MB / 0.6663 GB, free: 14.02 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009263/1.044, allocations: 231.9 kB / 0.6665 GB, free: 13.78 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002963/1.044, allocations: 27.94 kB / 0.6665 GB, free: 13.75 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01175/1.056, allocations: 23.98 kB / 0.6666 GB, free: 13.73 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003518/1.057, allocations: 68.78 kB / 0.6666 GB, free: 13.66 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001098/1.057, allocations: 23.98 kB / 0.6667 GB, free: 13.64 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003139/1.06, allocations: 0.4951 MB / 0.6671 GB, free: 13.15 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.11e-07/1.06, allocations: 4 kB / 0.6671 GB, free: 13.14 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003379/1.063, allocations: 363.9 kB / 0.6675 GB, free: 12.79 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 8 (turboGrp.w,generator.phi_el,generator.i_s[1],generator.i_s[2],generator.i_s[3],RLgen1.i[1],RLgen1.i[2],RLgen1.i[3]) * Number of discrete variables: 2 (system.initime,$cse4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 51 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 10,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000598/1.064, allocations: 186.9 kB / 0.6677 GB, free: 12.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004131/1.068, allocations: 1.566 MB / 0.6692 GB, free: 10.98 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.627e-06/1.068, allocations: 5.75 kB / 0.6692 GB, free: 10.98 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002795/1.071, allocations: 1.087 MB / 0.6703 GB, free: 9.828 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001608/1.073, allocations: 187.3 kB / 0.6704 GB, free: 9.645 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007874/1.081, allocations: 3.382 MB / 0.6737 GB, free: 6.203 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001431/1.082, allocations: 1.278 MB / 0.675 GB, free: 4.891 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003793/1.082, allocations: 71.36 kB / 0.6751 GB, free: 4.82 MB / 474.7 MB Notification: Performance of SimCode: time 1.112e-06/1.082, allocations: 0 / 0.6751 GB, free: 4.82 MB / 474.7 MB Notification: Performance of Templates: time 0.05924/1.142, allocations: 31.12 MB / 0.7055 GB, free: 5.652 MB / 0.4948 GB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe 2>&1)