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.001114/0.001114, allocations: 189.5 kB / 17.27 MB, free: 4.5 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.2/1.2, allocations: 194.2 MB / 212.2 MB, free: 2.367 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.001687/0.001687, allocations: 119.5 kB / 256.6 MB, free: 4.301 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1661/0.1661, allocations: 37.94 MB / 338.8 MB, free: 2.223 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 63.91 kB / 401.8 MB, free: 68.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08303/0.08421, allocations: 52.19 MB / 454 MB, free: 16.59 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.008018/0.09227, allocations: 11.21 MB / 465.2 MB, free: 5.328 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005091/0.0974, allocations: 4.125 MB / 469.3 MB, free: 1.188 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008257/0.09826, allocations: 67.56 kB / 469.4 MB, free: 1.121 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002125/0.1005, allocations: 1.031 MB / 470.4 MB, free: 92 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002428/0.1029, allocations: 0.8327 MB / 471.2 MB, free: 15.25 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001216/0.1041, allocations: 423.3 kB / 471.7 MB, free: 14.84 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003074/0.1072, allocations: 2.802 MB / 474.5 MB, free: 12.03 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001283/0.1085, allocations: 0.9184 MB / 475.4 MB, free: 11.08 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009394/0.1095, allocations: 0.6689 MB / 476.1 MB, free: 10.41 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001141/0.1106, allocations: 0.9579 MB / 477 MB, free: 9.449 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001417/0.1108, allocations: 76 kB / 477.1 MB, free: 9.375 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001089/0.1119, allocations: 0.5381 MB / 477.6 MB, free: 8.836 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005978/0.1125, allocations: 0.6117 MB / 478.2 MB, free: 8.223 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008054/0.1133, allocations: 0.6607 MB / 478.9 MB, free: 7.559 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001913/0.1152, allocations: 1.85 MB / 480.7 MB, free: 5.703 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1152, allocations: 0 / 480.7 MB, free: 5.703 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.1152, allocations: 0 / 480.7 MB, free: 5.703 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.293e-05/0.1153, allocations: 0 / 480.7 MB, free: 5.703 MB / 330.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.002982/0.1182, allocations: 1.625 MB / 482.4 MB, free: 4.023 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.1183, allocations: 12.03 kB / 482.4 MB, free: 4.012 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001506/0.1198, allocations: 267 kB / 482.6 MB, free: 3.75 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001797/0.1216, allocations: 0.906 MB / 483.5 MB, free: 2.797 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.27e-05/0.1217, allocations: 78.11 kB / 483.6 MB, free: 2.719 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003069/0.122, allocations: 135.8 kB / 483.8 MB, free: 2.586 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002046/0.1241, allocations: 1.493 MB / 485.2 MB, free: 1.023 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.671e-05/0.1241, allocations: 11.89 kB / 485.3 MB, free: 1.012 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.09e-05/0.1242, allocations: 43.98 kB / 485.3 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002875/0.1245, allocations: 102.1 kB / 485.4 MB, free: 0.8672 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001852/0.1264, allocations: 1.254 MB / 486.7 MB, free: 15.61 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007097/0.1335, allocations: 5.657 MB / 492.3 MB, free: 9.605 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000823/0.1343, allocations: 0.5976 MB / 492.9 MB, free: 8.988 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004977/0.1348, allocations: 404.2 kB / 493.3 MB, free: 8.59 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.146e-05/0.1349, allocations: 16.53 kB / 493.3 MB, free: 8.574 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.135, allocations: 39.12 kB / 493.4 MB, free: 8.527 MB / 346.7 MB Notification: Performance of pre-optimization done (n=67): time 2.735e-06/0.135, allocations: 0 / 493.4 MB, free: 8.527 MB / 346.7 MB Notification: Performance of matching and sorting (n=75): time 0.007397/0.1424, allocations: 3.709 MB / 497.1 MB, free: 4.656 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/0.1424, allocations: 85.77 kB / 497.2 MB, free: 4.555 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008728/0.1433, allocations: 0.7391 MB / 497.9 MB, free: 3.805 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.525e-05/0.1434, allocations: 33.7 kB / 497.9 MB, free: 3.766 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003781/0.1438, allocations: 0.5958 MB / 498.5 MB, free: 3.16 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002081/0.144, allocations: 276 kB / 498.8 MB, free: 2.887 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002569/0.1443, allocations: 182.6 kB / 499 MB, free: 2.703 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.1444, allocations: 406.7 kB / 499.4 MB, free: 2.297 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005567/0.145, allocations: 389.8 kB / 499.7 MB, free: 1.918 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007085/0.1457, allocations: 0.6613 MB / 0.4887 GB, free: 1.133 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001327/0.1471, allocations: 1.148 MB / 0.4898 GB, free: 15.87 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.1471, allocations: 0 / 0.4898 GB, free: 15.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003095/0.1502, allocations: 1.713 MB / 0.4915 GB, free: 14.13 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.1502, allocations: 8 kB / 0.4915 GB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002468/0.1527, allocations: 1.33 MB / 0.4928 GB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001792/0.1545, allocations: 0.5847 MB / 0.4934 GB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00058/0.1551, allocations: 171.7 kB / 0.4935 GB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01069/0.1658, allocations: 9.464 MB / 0.5028 GB, free: 1.988 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007854/0.1666, allocations: 47.95 kB / 0.5028 GB, free: 1.941 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.837e-05/0.1667, allocations: 47.94 kB / 0.5028 GB, free: 1.895 MB / 362.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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0005422/0.1672, allocations: 385.3 kB / 0.5032 GB, free: 1.508 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001528/0.1674, allocations: 90.88 kB / 0.5033 GB, free: 1.418 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002142/0.1695, allocations: 1.253 MB / 0.5045 GB, free: 136 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.1696, allocations: 8 kB / 0.5045 GB, free: 128 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.1696, allocations: 4 kB / 0.5045 GB, free: 124 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.486e-05/0.1696, allocations: 7.984 kB / 0.5045 GB, free: 116 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1758/0.3454, allocations: 2.413 MB / 0.5069 GB, free: 64.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/0.3455, allocations: 2.906 kB / 0.5069 GB, free: 64.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004809/0.3459, allocations: 105.9 kB / 0.507 GB, free: 64.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001055/0.347, allocations: 379.1 kB / 0.5074 GB, free: 64.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.28e-05/0.3471, allocations: 30.5 kB / 0.5074 GB, free: 64.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00666/0.3538, allocations: 8.488 MB / 0.5157 GB, free: 57.79 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.3538, allocations: 6 kB / 0.5157 GB, free: 57.78 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02026/0.3741, allocations: 17.66 MB / 0.5329 GB, free: 45.94 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003508/0.3744, allocations: 234 kB / 0.5332 GB, free: 45.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.3746, allocations: 23.19 kB / 0.5332 GB, free: 45.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004296/0.375, allocations: 30.31 kB / 0.5332 GB, free: 45.72 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/0.3752, allocations: 62.42 kB / 0.5333 GB, free: 45.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-05/0.3752, allocations: 24.64 kB / 0.5333 GB, free: 45.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007053/0.3759, allocations: 0.5032 MB / 0.5338 GB, free: 45.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3759, allocations: 0 / 0.5338 GB, free: 45.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001725/0.3777, allocations: 0.494 MB / 0.5343 GB, free: 45.35 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 8 (turboGrp.phi,turboGrp.w,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 () * 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 (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,10,100.0%), (1,3,100.0%), (1,3,100.0%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000262/0.3779, allocations: 145.4 kB / 0.5344 GB, free: 45.24 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001862/0.3798, allocations: 1.584 MB / 0.536 GB, free: 44.23 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.3798, allocations: 0 / 0.536 GB, free: 44.23 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001236/0.3811, allocations: 1.095 MB / 0.537 GB, free: 43.39 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008834/0.382, allocations: 206.4 kB / 0.5372 GB, free: 43.28 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004459/0.3864, allocations: 4.377 MB / 0.5415 GB, free: 39.48 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005983/0.3871, allocations: 1.286 MB / 0.5427 GB, free: 38.16 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000613/0.3877, allocations: 227.6 kB / 0.543 GB, free: 37.93 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/0.3878, allocations: 71.42 kB / 0.543 GB, free: 37.86 MB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/0.3878, allocations: 0 / 0.543 GB, free: 37.86 MB / 362.7 MB Notification: Performance of Templates: time 0.02413/0.412, allocations: 18.41 MB / 0.561 GB, free: 19.48 MB / 362.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)