Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.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.TurbineGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") 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: 191.9 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.198/1.198, allocations: 194.2 MB / 212.2 MB, free: 2.371 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.001714/0.001714, allocations: 126.8 kB / 256.6 MB, free: 4.344 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1646/0.1646, allocations: 37.95 MB / 338.8 MB, free: 2.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 67.89 kB / 401.8 MB, free: 68.76 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07984/0.08099, allocations: 52.19 MB / 454 MB, free: 16.58 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.007362/0.0884, allocations: 8.774 MB / 462.8 MB, free: 7.762 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004399/0.09284, allocations: 3.401 MB / 466.2 MB, free: 4.348 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005591/0.09342, allocations: 55.62 kB / 466.2 MB, free: 4.293 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001585/0.09502, allocations: 0.681 MB / 466.9 MB, free: 3.609 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001336/0.09636, allocations: 0.6458 MB / 467.5 MB, free: 2.961 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007493/0.09713, allocations: 335.5 kB / 467.9 MB, free: 2.633 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001429/0.09857, allocations: 2.011 MB / 469.9 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007096/0.09929, allocations: 0.6581 MB / 470.5 MB, free: 15.95 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005579/0.09986, allocations: 0.4901 MB / 471 MB, free: 15.45 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008851/0.1008, allocations: 0.6657 MB / 471.7 MB, free: 14.79 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001176/0.1009, allocations: 52 kB / 471.8 MB, free: 14.73 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009501/0.1018, allocations: 483.1 kB / 472.2 MB, free: 14.26 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004545/0.1023, allocations: 442.8 kB / 472.7 MB, free: 13.82 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004817/0.1028, allocations: 493.5 kB / 473.1 MB, free: 13.34 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001375/0.1042, allocations: 1.378 MB / 474.5 MB, free: 11.96 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1042, allocations: 0 / 474.5 MB, free: 11.96 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.1042, allocations: 0 / 474.5 MB, free: 11.96 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.1042, allocations: 0 / 474.5 MB, free: 11.96 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002273/0.1065, allocations: 1.273 MB / 475.8 MB, free: 10.63 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.1066, allocations: 8.031 kB / 475.8 MB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001132/0.1077, allocations: 207.5 kB / 476 MB, free: 10.42 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001368/0.1091, allocations: 0.7098 MB / 476.7 MB, free: 9.668 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.935e-05/0.1091, allocations: 66.11 kB / 476.8 MB, free: 9.605 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002034/0.1094, allocations: 95.92 kB / 476.9 MB, free: 9.512 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001438/0.1108, allocations: 1.1 MB / 478 MB, free: 8.363 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.678e-05/0.1108, allocations: 11.84 kB / 478 MB, free: 8.352 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.156e-05/0.1109, allocations: 32 kB / 478 MB, free: 8.32 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000159/0.1111, allocations: 69.95 kB / 478.1 MB, free: 8.254 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001269/0.1124, allocations: 0.8704 MB / 479 MB, free: 7.379 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004779/0.1172, allocations: 4.008 MB / 483 MB, free: 3.176 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005709/0.1177, allocations: 435.8 kB / 483.4 MB, free: 2.711 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003544/0.1181, allocations: 278.9 kB / 483.7 MB, free: 2.434 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.906e-05/0.1182, allocations: 8.438 kB / 483.7 MB, free: 2.426 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.1182, allocations: 42.94 kB / 483.7 MB, free: 2.375 MB / 330.7 MB Notification: Performance of pre-optimization done (n=48): time 2.545e-06/0.1182, allocations: 0 / 483.7 MB, free: 2.375 MB / 330.7 MB Notification: Performance of matching and sorting (n=52): time 0.00274/0.1209, allocations: 1.757 MB / 485.5 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/0.121, allocations: 85.67 kB / 485.5 MB, free: 476 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000579/0.1216, allocations: 0.5937 MB / 486.1 MB, free: 15.86 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.231e-05/0.1216, allocations: 37.7 kB / 486.2 MB, free: 15.82 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002636/0.1219, allocations: 470.6 kB / 486.6 MB, free: 15.35 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/0.122, allocations: 189.3 kB / 486.8 MB, free: 15.16 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001872/0.1222, allocations: 142.5 kB / 487 MB, free: 15.02 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.1224, allocations: 382.7 kB / 487.3 MB, free: 14.64 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003561/0.1228, allocations: 253.8 kB / 487.6 MB, free: 14.39 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004762/0.1232, allocations: 484.9 kB / 488.1 MB, free: 13.82 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008922/0.1241, allocations: 0.778 MB / 488.8 MB, free: 12.95 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.1242, allocations: 4 kB / 488.8 MB, free: 12.94 MB / 346.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001857/0.126, allocations: 1.122 MB / 490 MB, free: 11.79 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.1261, allocations: 8 kB / 490 MB, free: 11.78 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001315/0.1274, allocations: 0.8037 MB / 490.8 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006902/0.1281, allocations: 222.4 kB / 491 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004946/0.1286, allocations: 155.7 kB / 491.1 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00481/0.1334, allocations: 5.241 MB / 496.4 MB, free: 4.914 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004931/0.1339, allocations: 43.92 kB / 496.4 MB, free: 4.871 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.731e-05/0.134, allocations: 35.92 kB / 496.5 MB, free: 4.836 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (81): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0003877/0.1344, allocations: 301.5 kB / 496.8 MB, free: 4.531 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.1345, allocations: 71.16 kB / 496.8 MB, free: 4.461 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009594/0.1355, allocations: 0.6201 MB / 497.4 MB, free: 3.828 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.1355, allocations: 8 kB / 497.5 MB, free: 3.82 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.1355, allocations: 3.938 kB / 497.5 MB, free: 3.816 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/0.1355, allocations: 3.984 kB / 497.5 MB, free: 3.812 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002349/0.1379, allocations: 1.498 MB / 499 MB, free: 2.238 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.1379, allocations: 3.984 kB / 499 MB, free: 2.234 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005956/0.1385, allocations: 132 kB / 499.1 MB, free: 2.105 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.235e-05/0.1385, allocations: 4 kB / 499.1 MB, free: 2.102 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.994e-05/0.1386, allocations: 19.98 kB / 499.1 MB, free: 2.082 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.1386, allocations: 4 kB / 499.1 MB, free: 2.078 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1386, allocations: 0 / 499.1 MB, free: 2.078 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006415/0.145, allocations: 4.575 MB / 0.4919 GB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002608/0.1453, allocations: 184.2 kB / 0.4921 GB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.816e-05/0.1454, allocations: 19.94 kB / 0.4921 GB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000305/0.1457, allocations: 23.95 kB / 0.4921 GB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.206e-05/0.1457, allocations: 32.41 kB / 0.4921 GB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.844e-05/0.1458, allocations: 19.98 kB / 0.4922 GB, free: 13.04 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004451/0.1462, allocations: 419 kB / 0.4926 GB, free: 12.63 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1462, allocations: 3.938 kB / 0.4926 GB, free: 12.62 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009786/0.1472, allocations: 307.9 kB / 0.4929 GB, free: 12.32 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002858/0.1475, allocations: 142.4 kB / 0.493 GB, free: 12.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001873/0.1494, allocations: 1.03 MB / 0.494 GB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.1494, allocations: 0 / 0.494 GB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003813/0.1498, allocations: 267.9 kB / 0.4943 GB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008483/0.1507, allocations: 151.4 kB / 0.4944 GB, free: 10.7 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003258/0.1539, allocations: 2.771 MB / 0.4971 GB, free: 7.871 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006901/0.1546, allocations: 1.102 MB / 0.4982 GB, free: 6.742 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006014/0.1552, allocations: 197.9 kB / 0.4984 GB, free: 6.547 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001946/0.1554, allocations: 63.42 kB / 0.4984 GB, free: 6.484 MB / 362.7 MB Notification: Performance of SimCode: time 7.61e-07/0.1555, allocations: 0 / 0.4984 GB, free: 6.484 MB / 362.7 MB Notification: Performance of Templates: time 0.173/0.3285, allocations: 10.1 MB / 0.5083 GB, free: 63.66 MB / 362.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe 2>&1)