Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001766/0.001766, allocations: 178.7 kB / 17.4 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.433/1.433, allocations: 194.5 MB / 212.6 MB, free: 2.844 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001673/0.001673, allocations: 122.5 kB / 257.9 MB, free: 4.219 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1775/0.1775, allocations: 38.01 MB / 341.1 MB, free: 1.156 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005628/0.0005628, allocations: 15.98 kB / 405 MB, free: 68.46 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1304, allocations: 53.24 MB / 458.3 MB, free: 15.21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3657/0.4962, allocations: 111.8 MB / 0.5567 GB, free: 15.59 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002854/0.4965, allocations: 99.69 kB / 0.5568 GB, free: 15.54 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1063/0.6028, allocations: 37.86 MB / 0.5938 GB, free: 14.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.6029, allocations: 0 / 0.5938 GB, free: 14.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.476e-05/0.603, allocations: 24 kB / 0.5938 GB, free: 14.93 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.003849/0.6069, allocations: 1.429 MB / 0.5952 GB, free: 13.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/0.6069, allocations: 12.03 kB / 0.5952 GB, free: 13.53 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002111/0.609, allocations: 260.7 kB / 0.5955 GB, free: 13.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003646/0.6127, allocations: 1.22 MB / 0.5967 GB, free: 12.21 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/0.6128, allocations: 90.16 kB / 0.5968 GB, free: 12.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003117/0.6132, allocations: 116.3 kB / 0.5969 GB, free: 12.08 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003182/0.6164, allocations: 1.47 MB / 0.5983 GB, free: 10.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.8e-05/0.6164, allocations: 7.844 kB / 0.5983 GB, free: 10.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001372/0.6166, allocations: 42.44 kB / 0.5984 GB, free: 10.95 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001667/0.6168, allocations: 91.86 kB / 0.5985 GB, free: 10.86 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003005/0.6198, allocations: 1.232 MB / 0.5997 GB, free: 9.996 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008783/0.6286, allocations: 5.667 MB / 0.6052 GB, free: 4.488 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001097/0.6297, allocations: 0.586 MB / 0.6058 GB, free: 3.887 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006614/0.6304, allocations: 388.3 kB / 0.6061 GB, free: 3.504 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.737e-05/0.6305, allocations: 16.48 kB / 0.6062 GB, free: 3.488 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.23e-05/0.6305, allocations: 43.12 kB / 0.6062 GB, free: 3.438 MB / 410.7 MB Notification: Performance of pre-optimization done (n=67): time 3.256e-06/0.6305, allocations: 0 / 0.6062 GB, free: 3.438 MB / 410.7 MB Notification: Performance of matching and sorting (n=75): time 0.007621/0.6381, allocations: 3.619 MB / 0.6097 GB, free: 15.68 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.059e-05/0.6382, allocations: 85.77 kB / 0.6098 GB, free: 15.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000912/0.6391, allocations: 0.7196 MB / 0.6105 GB, free: 14.84 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.614e-05/0.6392, allocations: 45.69 kB / 0.6106 GB, free: 14.79 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004365/0.6397, allocations: 0.5841 MB / 0.6111 GB, free: 14.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002313/0.6399, allocations: 280.1 kB / 0.6114 GB, free: 13.92 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-05/0.64, allocations: 16 kB / 0.6114 GB, free: 13.91 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002256/0.6402, allocations: 410.7 kB / 0.6118 GB, free: 13.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005966/0.6408, allocations: 381.8 kB / 0.6122 GB, free: 13.12 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008089/0.6416, allocations: 0.6613 MB / 0.6128 GB, free: 12.34 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001568/0.6432, allocations: 1.136 MB / 0.6139 GB, free: 11.09 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.6432, allocations: 0 / 0.6139 GB, free: 11.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003303/0.6465, allocations: 1.702 MB / 0.6156 GB, free: 9.363 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.6466, allocations: 12 kB / 0.6156 GB, free: 9.352 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002551/0.6491, allocations: 1.306 MB / 0.6169 GB, free: 8.031 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00177/0.6509, allocations: 0.5925 MB / 0.6174 GB, free: 7.426 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005743/0.6515, allocations: 167.7 kB / 0.6176 GB, free: 7.262 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01132/0.6628, allocations: 9.467 MB / 0.6268 GB, free: 13.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009366/0.6638, allocations: 47.91 kB / 0.6269 GB, free: 13.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.83e-05/0.6639, allocations: 47.94 kB / 0.6269 GB, free: 13.13 MB / 442.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%) 4,(2,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 1 {3 16} Notification: Performance of prepare postOptimizeDAE: time 0.0008303/0.6647, allocations: 392.7 kB / 0.6273 GB, free: 12.74 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00014/0.6648, allocations: 86.88 kB / 0.6274 GB, free: 12.66 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002268/0.6671, allocations: 1.253 MB / 0.6286 GB, free: 11.38 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.6671, allocations: 12 kB / 0.6286 GB, free: 11.36 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.6672, allocations: 7.938 kB / 0.6286 GB, free: 11.36 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.6672, allocations: 3.984 kB / 0.6286 GB, free: 11.35 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004128/0.6713, allocations: 2.412 MB / 0.631 GB, free: 8.844 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.6713, allocations: 0 / 0.631 GB, free: 8.844 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004337/0.6718, allocations: 103.9 kB / 0.6311 GB, free: 8.742 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00105/0.6728, allocations: 384 kB / 0.6315 GB, free: 8.352 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-05/0.6729, allocations: 23.98 kB / 0.6315 GB, free: 8.328 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007974/0.6809, allocations: 8.497 MB / 0.6398 GB, free: 15.16 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.6809, allocations: 4 kB / 0.6398 GB, free: 15.15 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00283/0.6837, allocations: 1.677 MB / 0.6414 GB, free: 13.42 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005855/0.6844, allocations: 231.9 kB / 0.6416 GB, free: 13.17 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002462/0.6846, allocations: 19.98 kB / 0.6417 GB, free: 13.15 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005941/0.6852, allocations: 31.97 kB / 0.6417 GB, free: 13.12 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000154/0.6854, allocations: 64.36 kB / 0.6418 GB, free: 13.06 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.978e-05/0.6854, allocations: 23.98 kB / 0.6418 GB, free: 13.04 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0009128/0.6864, allocations: 0.499 MB / 0.6423 GB, free: 12.54 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6864, allocations: 4 kB / 0.6423 GB, free: 12.54 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001848/0.6882, allocations: 359.9 kB / 0.6426 GB, free: 12.19 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: 2 (system.initime,$cse4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 52 * 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.0004006/0.6886, allocations: 183.6 kB / 0.6428 GB, free: 12 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002663/0.6913, allocations: 1.566 MB / 0.6443 GB, free: 10.39 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.88e-06/0.6913, allocations: 5.812 kB / 0.6443 GB, free: 10.38 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001772/0.6931, allocations: 1.094 MB / 0.6454 GB, free: 9.219 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001514/0.6946, allocations: 203.2 kB / 0.6456 GB, free: 9.02 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005653/0.7003, allocations: 3.299 MB / 0.6488 GB, free: 5.668 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001306/0.7016, allocations: 1.255 MB / 0.65 GB, free: 4.383 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0008063/0.7025, allocations: 215.6 kB / 0.6502 GB, free: 4.168 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001965/0.7027, allocations: 63.44 kB / 0.6503 GB, free: 4.105 MB / 458.7 MB Notification: Performance of SimCode: time 1.142e-06/0.7027, allocations: 0 / 0.6503 GB, free: 4.105 MB / 458.7 MB Notification: Performance of Templates: time 0.02985/0.7325, allocations: 14.65 MB / 0.6646 GB, free: 5.445 MB / 474.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe 2>&1)