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.001508/0.001514, allocations: 186 kB / 13.19 MB, free: 2.125 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.002/2.002, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.001091/0.001091, allocations: 90.3 kB / 267.1 MB, free: 9.285 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.2636/0.2636, allocations: 37.97 MB / 353.1 MB, free: 3.062 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.514e-05/3.538e-05, allocations: 7.984 kB / 416.8 MB, free: 41.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1023, allocations: 56.3 MB / 473.1 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5265/0.6289, allocations: 116.9 MB / 0.5762 GB, free: 2.836 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003262/0.6293, allocations: 95.89 kB / 0.5763 GB, free: 2.742 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1699/0.7992, allocations: 38.07 MB / 0.6134 GB, free: 12.2 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.7992, allocations: 0 / 0.6134 GB, free: 12.2 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.078e-05/0.7993, allocations: 35.98 kB / 0.6135 GB, free: 12.16 MB / 458.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.003738/0.8031, allocations: 1.284 MB / 0.6147 GB, free: 10.83 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/0.8031, allocations: 12.03 kB / 0.6147 GB, free: 10.82 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002501/0.8057, allocations: 254.2 kB / 0.615 GB, free: 10.57 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006217/0.8119, allocations: 1.545 MB / 0.6165 GB, free: 8.977 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/0.812, allocations: 78.09 kB / 0.6166 GB, free: 8.898 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003875/0.8124, allocations: 119.9 kB / 0.6167 GB, free: 8.781 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003598/0.8161, allocations: 1.444 MB / 0.6181 GB, free: 7.266 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.481e-05/0.8161, allocations: 7.953 kB / 0.6181 GB, free: 7.258 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001641/0.8163, allocations: 44 kB / 0.6181 GB, free: 7.215 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002046/0.8165, allocations: 86.17 kB / 0.6182 GB, free: 7.129 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003292/0.8198, allocations: 1.211 MB / 0.6194 GB, free: 5.91 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01243/0.8323, allocations: 5.663 MB / 0.6249 GB, free: 15.91 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001498/0.8338, allocations: 0.5783 MB / 0.6255 GB, free: 15.31 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009045/0.8348, allocations: 389.6 kB / 0.6259 GB, free: 14.93 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.51e-05/0.8349, allocations: 12.56 kB / 0.6259 GB, free: 14.92 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.926e-05/0.8349, allocations: 39.12 kB / 0.6259 GB, free: 14.87 MB / 474.7 MB Notification: Performance of pre-optimization done (n=67): time 3.997e-06/0.8349, allocations: 0 / 0.6259 GB, free: 14.87 MB / 474.7 MB Notification: Performance of matching and sorting (n=74): time 0.009631/0.8446, allocations: 2.804 MB / 0.6287 GB, free: 12 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.065e-05/0.8447, allocations: 85.89 kB / 0.6287 GB, free: 11.89 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001246/0.8459, allocations: 0.6329 MB / 0.6294 GB, free: 11.25 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 8.301e-05/0.846, allocations: 37.7 kB / 0.6294 GB, free: 11.21 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005181/0.8466, allocations: 0.6022 MB / 0.63 GB, free: 10.6 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003337/0.8469, allocations: 276.1 kB / 0.6302 GB, free: 10.32 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.975e-05/0.847, allocations: 20 kB / 0.6303 GB, free: 10.3 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.8472, allocations: 354.8 kB / 0.6306 GB, free: 9.949 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001008/0.8482, allocations: 369.9 kB / 0.6309 GB, free: 9.586 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001228/0.8494, allocations: 0.6498 MB / 0.6316 GB, free: 8.812 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001267/0.8507, allocations: 0.4939 MB / 0.6321 GB, free: 8.316 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.8508, allocations: 0 / 0.6321 GB, free: 8.316 MB / 474.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.005487/0.8563, allocations: 1.619 MB / 0.6336 GB, free: 6.68 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.412e-05/0.8563, allocations: 11.98 kB / 0.6337 GB, free: 6.668 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004521/0.8608, allocations: 1.277 MB / 0.6349 GB, free: 5.375 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003317/0.8642, allocations: 0.5808 MB / 0.6355 GB, free: 4.781 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/0.8654, allocations: 171.7 kB / 0.6356 GB, free: 4.613 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3306/1.196, allocations: 9.373 MB / 0.6448 GB, free: 122.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001257/1.197, allocations: 52.17 kB / 0.6448 GB, free: 122.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/1.197, allocations: 44.48 kB / 0.6449 GB, free: 122.9 MB / 474.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 () * 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.0002566/1.198, allocations: 159.9 kB / 0.645 GB, free: 122.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002118/1.198, allocations: 86.53 kB / 0.6451 GB, free: 122.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003763/1.202, allocations: 1.238 MB / 0.6463 GB, free: 122.7 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.758e-05/1.202, allocations: 8.344 kB / 0.6463 GB, free: 122.7 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/1.202, allocations: 3.688 kB / 0.6463 GB, free: 122.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.852e-05/1.202, allocations: 4.891 kB / 0.6463 GB, free: 122.7 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007184/1.209, allocations: 2.374 MB / 0.6487 GB, free: 122.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.386e-05/1.209, allocations: 2.219 kB / 0.6487 GB, free: 122.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009462/1.21, allocations: 108.9 kB / 0.6488 GB, free: 122.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001953/1.212, allocations: 377.3 kB / 0.6491 GB, free: 122.2 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001571/1.212, allocations: 25.56 kB / 0.6491 GB, free: 122.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01004/1.222, allocations: 8.488 MB / 0.6574 GB, free: 115.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/1.222, allocations: 1.812 kB / 0.6574 GB, free: 115.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004474/1.227, allocations: 1.741 MB / 0.6591 GB, free: 115.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007035/1.228, allocations: 228.3 kB / 0.6594 GB, free: 115.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002186/1.228, allocations: 27.67 kB / 0.6594 GB, free: 115.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008402/1.229, allocations: 24.09 kB / 0.6594 GB, free: 115.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002297/1.229, allocations: 61.27 kB / 0.6595 GB, free: 115.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.889e-05/1.229, allocations: 29.95 kB / 0.6595 GB, free: 115.2 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001015/1.23, allocations: 0.4955 MB / 0.66 GB, free: 115.1 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.31e-07/1.23, allocations: 0 / 0.66 GB, free: 115.1 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002152/1.232, allocations: 358.7 kB / 0.6603 GB, free: 115.1 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: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * 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: 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.0004731/1.233, allocations: 202.9 kB / 0.6605 GB, free: 115 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003731/1.236, allocations: 1.533 MB / 0.662 GB, free: 114.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.856e-06/1.237, allocations: 0 / 0.662 GB, free: 114.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002637/1.239, allocations: 1.079 MB / 0.6631 GB, free: 114 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001581/1.241, allocations: 180.2 kB / 0.6632 GB, free: 114 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005982/1.247, allocations: 2.291 MB / 0.6655 GB, free: 113.3 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001358/1.248, allocations: 1.282 MB / 0.6667 GB, free: 112.6 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003952/1.249, allocations: 69.52 kB / 0.6668 GB, free: 112.6 MB / 474.7 MB Notification: Performance of SimCode: time 1.943e-06/1.249, allocations: 5.406 kB / 0.6668 GB, free: 112.6 MB / 474.7 MB Notification: Performance of Templates: time 0.0508/1.299, allocations: 31.06 MB / 0.6971 GB, free: 108.2 MB / 474.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)