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.00202/0.00202, allocations: 189 kB / 8.013 MB, free: 1.062 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.07/2.07, allocations: 205.3 MB / 213.7 MB, free: 1.746 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001112/0.001113, allocations: 90.64 kB / 261.8 MB, free: 1.68 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2579/0.2579, allocations: 38 MB / 347.7 MB, free: 5.758 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.602e-05/1.598e-05, allocations: 0 / 409.9 MB, free: 35.15 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1042, allocations: 56.33 MB / 466.2 MB, free: 10.83 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5771/0.6814, allocations: 116.2 MB / 0.5687 GB, free: 11.79 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003318/0.6818, allocations: 91.25 kB / 0.5688 GB, free: 11.74 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1817/0.8635, allocations: 37.71 MB / 0.6057 GB, free: 11.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.8635, allocations: 0 / 0.6057 GB, free: 11.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001254/0.8637, allocations: 28 kB / 0.6057 GB, free: 11.91 MB / 410.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.005282/0.869, allocations: 1.294 MB / 0.6069 GB, free: 10.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.856e-05/0.8691, allocations: 8.031 kB / 0.607 GB, free: 10.63 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003794/0.8729, allocations: 253.8 kB / 0.6072 GB, free: 10.38 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008846/0.8818, allocations: 1.539 MB / 0.6087 GB, free: 9.086 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.732e-05/0.8819, allocations: 32 kB / 0.6087 GB, free: 9.055 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004799/0.8824, allocations: 71.91 kB / 0.6088 GB, free: 8.984 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002932/0.8853, allocations: 1.009 MB / 0.6098 GB, free: 8.312 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003008/0.8884, allocations: 1.306 MB / 0.6111 GB, free: 7.277 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.149e-05/0.8884, allocations: 5.188 kB / 0.6111 GB, free: 7.273 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001284/0.8886, allocations: 0 / 0.6111 GB, free: 7.273 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002115/0.8888, allocations: 89.3 kB / 0.6111 GB, free: 7.191 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01183/0.9007, allocations: 5.296 MB / 0.6163 GB, free: 2.172 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001509/0.9022, allocations: 0.6678 MB / 0.617 GB, free: 1.465 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008454/0.9031, allocations: 375.3 kB / 0.6173 GB, free: 1.094 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.978e-05/0.9032, allocations: 20.53 kB / 0.6173 GB, free: 1.074 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.722e-05/0.9032, allocations: 39.12 kB / 0.6174 GB, free: 1.027 MB / 410.7 MB Notification: Performance of pre-optimization done (n=69): time 3.797e-06/0.9033, allocations: 4 kB / 0.6174 GB, free: 1.023 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.008374/0.9116, allocations: 2.608 MB / 0.6199 GB, free: 14.34 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.998e-05/0.9117, allocations: 89.83 kB / 0.62 GB, free: 14.24 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/0.9128, allocations: 0.5467 MB / 0.6206 GB, free: 13.69 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000137/0.913, allocations: 25.7 kB / 0.6206 GB, free: 13.66 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005148/0.9135, allocations: 0.6176 MB / 0.6212 GB, free: 13.03 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003668/0.9139, allocations: 272 kB / 0.6214 GB, free: 12.76 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.405e-05/0.914, allocations: 0 / 0.6214 GB, free: 12.76 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.9142, allocations: 350.8 kB / 0.6218 GB, free: 12.41 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009071/0.9151, allocations: 370.5 kB / 0.6221 GB, free: 12.05 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001179/0.9163, allocations: 0.6551 MB / 0.6228 GB, free: 11.26 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/0.9175, allocations: 0.5002 MB / 0.6233 GB, free: 10.76 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.9175, allocations: 0 / 0.6233 GB, free: 10.76 MB / 426.7 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.00533/0.9228, allocations: 1.58 MB / 0.6248 GB, free: 9.164 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.49e-05/0.9229, allocations: 8 kB / 0.6248 GB, free: 9.156 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004474/0.9274, allocations: 1.277 MB / 0.6261 GB, free: 7.863 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003424/0.9309, allocations: 0.587 MB / 0.6266 GB, free: 7.266 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/0.9322, allocations: 183.7 kB / 0.6268 GB, free: 7.086 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01708/0.9493, allocations: 9.259 MB / 0.6358 GB, free: 13.33 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/0.9505, allocations: 23.97 kB / 0.6359 GB, free: 13.31 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001197/0.9507, allocations: 47.95 kB / 0.6359 GB, free: 13.26 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 92 * 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 20} Notification: Performance of prepare postOptimizeDAE: time 0.0002708/0.951, allocations: 132.7 kB / 0.636 GB, free: 13.12 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001974/0.9512, allocations: 82.97 kB / 0.6361 GB, free: 13.04 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003578/0.9548, allocations: 1.193 MB / 0.6373 GB, free: 11.82 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.137e-05/0.9548, allocations: 11.95 kB / 0.6373 GB, free: 11.81 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/0.9548, allocations: 4 kB / 0.6373 GB, free: 11.81 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.33e-05/0.9549, allocations: 3.984 kB / 0.6373 GB, free: 11.8 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006742/0.9616, allocations: 2.26 MB / 0.6395 GB, free: 9.457 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.559e-05/0.9617, allocations: 7.984 kB / 0.6395 GB, free: 9.449 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009237/0.9626, allocations: 115.8 kB / 0.6396 GB, free: 9.336 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001894/0.9645, allocations: 384 kB / 0.64 GB, free: 8.945 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001076/0.9647, allocations: 15.98 kB / 0.64 GB, free: 8.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01132/0.976, allocations: 8.247 MB / 0.6481 GB, free: 116 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.095e-05/0.976, allocations: 7.969 kB / 0.6481 GB, free: 108 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004671/0.9807, allocations: 1.761 MB / 0.6498 GB, free: 14.24 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007687/0.9816, allocations: 224 kB / 0.65 GB, free: 14 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000188/0.9818, allocations: 15.98 kB / 0.65 GB, free: 13.98 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000806/0.9826, allocations: 11.98 kB / 0.65 GB, free: 13.97 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002117/0.9828, allocations: 68.62 kB / 0.6501 GB, free: 13.91 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.627e-05/0.9829, allocations: 27.94 kB / 0.6501 GB, free: 13.88 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008691/0.9838, allocations: 423.1 kB / 0.6505 GB, free: 13.47 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.9838, allocations: 0 / 0.6505 GB, free: 13.47 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002182/0.986, allocations: 328 kB / 0.6508 GB, free: 13.15 MB / 458.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: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 53 * 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.0004508/0.9865, allocations: 183.1 kB / 0.651 GB, free: 12.96 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003679/0.9902, allocations: 1.5 MB / 0.6525 GB, free: 11.41 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.5e-05/0.9902, allocations: 4 kB / 0.6525 GB, free: 11.41 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002492/0.9928, allocations: 1.039 MB / 0.6535 GB, free: 10.32 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00144/0.9942, allocations: 147.3 kB / 0.6536 GB, free: 10.18 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006026/1, allocations: 2.291 MB / 0.6559 GB, free: 7.828 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001366/1.002, allocations: 1.29 MB / 0.6571 GB, free: 6.508 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003646/1.002, allocations: 71.42 kB / 0.6572 GB, free: 6.438 MB / 458.7 MB Notification: Performance of SimCode: time 1.202e-06/1.002, allocations: 4 kB / 0.6572 GB, free: 6.434 MB / 458.7 MB Notification: Performance of Templates: time 0.05897/1.061, allocations: 30.85 MB / 0.6873 GB, free: 7.547 MB / 490.7 MB 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)