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.00101/0.001011, allocations: 187 kB / 8.352 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.454/1.454, allocations: 194.3 MB / 203.1 MB, free: 9.328 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001706/0.001706, allocations: 113.4 kB / 248.1 MB, free: 6.348 MB / 203.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1656/0.1656, allocations: 37.92 MB / 330.9 MB, free: 7.316 MB / 283.1 MB Notification: Performance of FrontEnd - loaded program: time 1.501e-05/1.502e-05, allocations: 0 / 390.4 MB, free: 78.25 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09325/0.09329, allocations: 53.25 MB / 443.6 MB, free: 25.11 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.423/0.5163, allocations: 111 MB / 0.5416 GB, free: 13.53 MB / 363.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004743/0.5169, allocations: 91.39 kB / 0.5417 GB, free: 13.48 MB / 363.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1492/0.6661, allocations: 37.72 MB / 0.5786 GB, free: 13.66 MB / 395.1 MB Notification: Performance of FrontEnd: time 3.417e-06/0.6662, allocations: 4 kB / 0.5786 GB, free: 13.66 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0001507/0.6663, allocations: 39.88 kB / 0.5786 GB, free: 13.62 MB / 395.1 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.004322/0.6707, allocations: 1.27 MB / 0.5798 GB, free: 12.38 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.6707, allocations: 8.031 kB / 0.5799 GB, free: 12.37 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002168/0.6729, allocations: 261.2 kB / 0.5801 GB, free: 12.11 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005067/0.678, allocations: 1.539 MB / 0.5816 GB, free: 10.81 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.135e-05/0.6781, allocations: 47.92 kB / 0.5816 GB, free: 10.77 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005561/0.6787, allocations: 74.86 kB / 0.5817 GB, free: 10.7 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002431/0.6811, allocations: 1.001 MB / 0.5827 GB, free: 10.03 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002685/0.6838, allocations: 1.297 MB / 0.584 GB, free: 9.004 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.424e-05/0.6839, allocations: 7.938 kB / 0.584 GB, free: 8.996 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001255/0.684, allocations: 0 / 0.584 GB, free: 8.996 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001452/0.6842, allocations: 89.11 kB / 0.5841 GB, free: 8.914 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00899/0.6932, allocations: 5.307 MB / 0.5892 GB, free: 3.617 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009983/0.6942, allocations: 0.6483 MB / 0.5899 GB, free: 2.934 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005724/0.6948, allocations: 375.3 kB / 0.5902 GB, free: 2.559 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.378e-05/0.6949, allocations: 20.48 kB / 0.5903 GB, free: 2.539 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.844e-05/0.695, allocations: 39.12 kB / 0.5903 GB, free: 2.492 MB / 395.1 MB Notification: Performance of pre-optimization done (n=69): time 3.666e-06/0.695, allocations: 0 / 0.5903 GB, free: 2.492 MB / 395.1 MB Notification: Performance of matching and sorting (n=79): time 0.005535/0.7005, allocations: 2.617 MB / 0.5928 GB, free: 15.81 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.472e-05/0.7006, allocations: 89.92 kB / 0.5929 GB, free: 15.7 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008445/0.7014, allocations: 0.5467 MB / 0.5935 GB, free: 15.15 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 5.691e-05/0.7015, allocations: 25.7 kB / 0.5935 GB, free: 15.12 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004366/0.702, allocations: 0.5956 MB / 0.5941 GB, free: 14.51 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002689/0.7022, allocations: 272 kB / 0.5943 GB, free: 14.24 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.792e-05/0.7023, allocations: 0 / 0.5943 GB, free: 14.24 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001985/0.7025, allocations: 414.6 kB / 0.5947 GB, free: 13.83 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005686/0.7031, allocations: 374.5 kB / 0.5951 GB, free: 13.46 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007574/0.7038, allocations: 0.6512 MB / 0.5957 GB, free: 12.69 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007453/0.7046, allocations: 0.5041 MB / 0.5962 GB, free: 12.18 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.917e-06/0.7046, allocations: 4 kB / 0.5962 GB, free: 12.18 MB / 411.1 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.00344/0.7081, allocations: 1.626 MB / 0.5978 GB, free: 10.53 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/0.7081, allocations: 12.28 kB / 0.5978 GB, free: 10.52 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002656/0.7108, allocations: 1.281 MB / 0.5991 GB, free: 9.227 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002001/0.7128, allocations: 0.5938 MB / 0.5996 GB, free: 8.621 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006521/0.7135, allocations: 171.7 kB / 0.5998 GB, free: 8.453 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01167/0.7251, allocations: 9.32 MB / 0.6089 GB, free: 14.64 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000897/0.7261, allocations: 23.97 kB / 0.6089 GB, free: 14.62 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001695/0.7263, allocations: 44 kB / 0.609 GB, free: 14.58 MB / 427.1 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%) 4,(2,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 1 {3 20} Notification: Performance of prepare postOptimizeDAE: time 0.0002697/0.7266, allocations: 132.7 kB / 0.6091 GB, free: 14.44 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002138/0.7268, allocations: 86.88 kB / 0.6092 GB, free: 14.36 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002465/0.7293, allocations: 1.201 MB / 0.6104 GB, free: 13.12 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/0.7293, allocations: 11.98 kB / 0.6104 GB, free: 13.11 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.667e-05/0.7293, allocations: 4 kB / 0.6104 GB, free: 13.11 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/0.7293, allocations: 11.98 kB / 0.6104 GB, free: 13.1 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005096/0.7344, allocations: 2.276 MB / 0.6126 GB, free: 10.74 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.337e-06/0.7345, allocations: 4 kB / 0.6126 GB, free: 10.73 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005044/0.735, allocations: 103.9 kB / 0.6127 GB, free: 10.63 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001107/0.7361, allocations: 384.1 kB / 0.6131 GB, free: 10.24 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.178e-05/0.7362, allocations: 16.16 kB / 0.6131 GB, free: 10.23 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008014/0.7442, allocations: 8.26 MB / 0.6212 GB, free: 1.383 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.794e-06/0.7443, allocations: 4.031 kB / 0.6212 GB, free: 1.379 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002998/0.7473, allocations: 1.757 MB / 0.6229 GB, free: 15.52 MB / 443.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005596/0.7479, allocations: 227.9 kB / 0.6231 GB, free: 15.27 MB / 443.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002307/0.7481, allocations: 11.98 kB / 0.6231 GB, free: 15.26 MB / 443.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005824/0.7487, allocations: 11.98 kB / 0.6231 GB, free: 15.25 MB / 443.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001694/0.7489, allocations: 76.58 kB / 0.6232 GB, free: 15.17 MB / 443.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.777e-05/0.749, allocations: 23.98 kB / 0.6232 GB, free: 15.15 MB / 443.1 MB Notification: Performance of sorting global known variables: time 0.0007078/0.7497, allocations: 423.1 kB / 0.6236 GB, free: 14.74 MB / 443.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7497, allocations: 0 / 0.6236 GB, free: 14.74 MB / 443.1 MB Notification: Performance of remove unused functions: time 0.001768/0.7515, allocations: 328 kB / 0.6239 GB, free: 14.42 MB / 443.1 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 (60): * Single equations (assignments): 54 * 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.0003538/0.7518, allocations: 185.5 kB / 0.6241 GB, free: 14.23 MB / 443.1 MB Notification: Performance of simCode: created initialization part: time 0.002569/0.7544, allocations: 1.504 MB / 0.6256 GB, free: 12.68 MB / 443.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.7544, allocations: 0 / 0.6256 GB, free: 12.68 MB / 443.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001569/0.756, allocations: 1.054 MB / 0.6266 GB, free: 11.58 MB / 443.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000986/0.757, allocations: 154 kB / 0.6267 GB, free: 11.43 MB / 443.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004427/0.7615, allocations: 2.207 MB / 0.6289 GB, free: 9.172 MB / 443.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0014/0.7629, allocations: 1.286 MB / 0.6302 GB, free: 7.852 MB / 443.1 MB Notification: Performance of simCode: alias equations: time 0.0007429/0.7636, allocations: 215.4 kB / 0.6304 GB, free: 7.637 MB / 443.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001934/0.7638, allocations: 63.42 kB / 0.6304 GB, free: 7.578 MB / 443.1 MB Notification: Performance of SimCode: time 6.92e-07/0.7638, allocations: 0 / 0.6304 GB, free: 7.578 MB / 443.1 MB Notification: Performance of Templates: time 0.02693/0.7908, allocations: 13.4 MB / 0.6435 GB, free: 10.2 MB / 459.1 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)