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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001154, allocations: 94.98 kB / 16.3 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 182.9 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.517/1.517, allocations: 205.4 MB / 223.4 MB, free: 5.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3212/0.3212, allocations: 38.05 MB / 309.7 MB, free: 9.031 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004938/0.000494, allocations: 24 kB / 376.5 MB, free: 15.28 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1188, allocations: 56.33 MB / 432.8 MB, free: 6.844 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.008003/0.1269, allocations: 7.469 MB / 440.3 MB, free: 15.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005598/0.1325, allocations: 3.177 MB / 443.5 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009478/0.1335, allocations: 47.69 kB / 443.5 MB, free: 12.11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006507/0.1342, allocations: 218.7 kB / 443.7 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001851/0.1361, allocations: 0.5763 MB / 444.3 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009621/0.137, allocations: 359.2 kB / 444.7 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001112/0.1382, allocations: 0.722 MB / 445.4 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001453/0.1396, allocations: 0.9167 MB / 446.3 MB, free: 9.285 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005117/0.1401, allocations: 390.6 kB / 446.7 MB, free: 8.902 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005636/0.1407, allocations: 406.6 kB / 447.1 MB, free: 8.504 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.227e-05/0.1408, allocations: 40 kB / 447.1 MB, free: 8.465 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006225/0.1414, allocations: 359.4 kB / 447.5 MB, free: 8.113 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003342/0.1418, allocations: 367.1 kB / 447.8 MB, free: 7.754 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001944/0.142, allocations: 213.1 kB / 448 MB, free: 7.539 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001116/0.1431, allocations: 1.052 MB / 449.1 MB, free: 6.484 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.1431, allocations: 0 / 449.1 MB, free: 6.484 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1431, allocations: 0 / 449.1 MB, free: 6.484 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.739e-05/0.1431, allocations: 0 / 449.1 MB, free: 6.484 MB / 382.1 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.002134/0.1453, allocations: 1.114 MB / 450.2 MB, free: 5.316 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.1453, allocations: 12.03 kB / 450.2 MB, free: 5.305 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0014/0.1468, allocations: 230.5 kB / 450.4 MB, free: 5.078 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002184/0.149, allocations: 0.6814 MB / 451.1 MB, free: 4.359 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001172/0.1491, allocations: 69.94 kB / 451.2 MB, free: 4.289 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002212/0.1493, allocations: 103.8 kB / 451.3 MB, free: 4.188 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001528/0.1509, allocations: 1.08 MB / 452.4 MB, free: 3.062 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.862e-05/0.1509, allocations: 4 kB / 452.4 MB, free: 3.059 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.979e-05/0.151, allocations: 32 kB / 452.4 MB, free: 3.027 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00016/0.1511, allocations: 65.97 kB / 452.5 MB, free: 2.961 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001301/0.1525, allocations: 0.8586 MB / 453.3 MB, free: 2.105 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2404/0.3928, allocations: 3.997 MB / 457.3 MB, free: 49.04 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005639/0.3934, allocations: 435.8 kB / 457.7 MB, free: 48.9 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.665e-05/0.3935, allocations: 9.719 kB / 457.8 MB, free: 48.9 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.3935, allocations: 38.28 kB / 457.8 MB, free: 48.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 3.627e-06/0.3935, allocations: 2.938 kB / 457.8 MB, free: 48.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=51): time 0.002879/0.3964, allocations: 1.722 MB / 459.5 MB, free: 48.4 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.3965, allocations: 83.77 kB / 459.6 MB, free: 48.31 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005211/0.397, allocations: 0.5857 MB / 460.2 MB, free: 48.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.383e-05/0.3971, allocations: 32.58 kB / 460.2 MB, free: 48.15 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002111/0.3973, allocations: 462.3 kB / 460.7 MB, free: 47.9 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.3974, allocations: 194.7 kB / 460.9 MB, free: 47.79 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.836e-05/0.3974, allocations: 16.72 kB / 460.9 MB, free: 47.79 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.3975, allocations: 386.2 kB / 461.3 MB, free: 47.47 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003113/0.3978, allocations: 247.9 kB / 461.5 MB, free: 47.47 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004118/0.3983, allocations: 473.1 kB / 462 MB, free: 47.22 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004364/0.3987, allocations: 336 kB / 462.3 MB, free: 47.21 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.3987, allocations: 3.5 kB / 462.3 MB, free: 47.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001602/0.4003, allocations: 1.108 MB / 463.4 MB, free: 46.97 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.4004, allocations: 14.81 kB / 463.4 MB, free: 46.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001268/0.4017, allocations: 0.784 MB / 464.2 MB, free: 46.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006595/0.4023, allocations: 226.4 kB / 464.4 MB, free: 46.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004734/0.4028, allocations: 153.9 kB / 464.6 MB, free: 46.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004496/0.4073, allocations: 5.326 MB / 469.9 MB, free: 42.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006633/0.408, allocations: 39.77 kB / 469.9 MB, free: 42.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.72e-05/0.4081, allocations: 34.19 kB / 470 MB, free: 42.69 MB / 382.1 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 (80): * Single equations (assignments): 77 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004898/0.4086, allocations: 304.8 kB / 470.3 MB, free: 42.49 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.4087, allocations: 67.97 kB / 470.3 MB, free: 42.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008916/0.4096, allocations: 0.6105 MB / 470.9 MB, free: 42.19 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.315e-06/0.4096, allocations: 6.844 kB / 470.9 MB, free: 42.19 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.4096, allocations: 7.359 kB / 471 MB, free: 42.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.4096, allocations: 0 / 471 MB, free: 42.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002293/0.4119, allocations: 1.488 MB / 472.4 MB, free: 41.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.4119, allocations: 0 / 472.4 MB, free: 41.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005754/0.4125, allocations: 129.7 kB / 472.6 MB, free: 41.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.4125, allocations: 5.719 kB / 472.6 MB, free: 41.46 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.463e-05/0.4126, allocations: 14.53 kB / 472.6 MB, free: 41.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.4126, allocations: 10.95 kB / 472.6 MB, free: 41.45 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.4126, allocations: 7.359 kB / 472.6 MB, free: 41.44 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.4136, allocations: 0.996 MB / 473.6 MB, free: 40.86 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002659/0.4139, allocations: 189.9 kB / 473.8 MB, free: 40.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.45e-05/0.414, allocations: 13.83 kB / 473.8 MB, free: 40.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002974/0.4143, allocations: 21.03 kB / 473.8 MB, free: 40.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.329e-05/0.4144, allocations: 38.78 kB / 473.9 MB, free: 40.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.265e-05/0.4144, allocations: 17.19 kB / 473.9 MB, free: 40.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004119/0.4148, allocations: 417.5 kB / 474.3 MB, free: 40.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4148, allocations: 0 / 474.3 MB, free: 40.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008986/0.4157, allocations: 231.6 kB / 474.5 MB, free: 40.48 MB / 382.1 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 (54): * Single equations (assignments): 53 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002884/0.416, allocations: 138.1 kB / 474.6 MB, free: 40.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001397/0.4174, allocations: 1.016 MB / 475.7 MB, free: 39.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.73e-06/0.4174, allocations: 0 / 475.7 MB, free: 39.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003305/0.4178, allocations: 258.5 kB / 475.9 MB, free: 39.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006708/0.4185, allocations: 139.3 kB / 476 MB, free: 39.69 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002865/0.4213, allocations: 2.511 MB / 478.6 MB, free: 38.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005405/0.4219, allocations: 1.093 MB / 479.7 MB, free: 37.44 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005128/0.4224, allocations: 191.6 kB / 479.8 MB, free: 37.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001487/0.4226, allocations: 57.97 kB / 479.9 MB, free: 37.4 MB / 382.1 MB Notification: Performance of SimCode: time 7.92e-07/0.4226, allocations: 0 / 479.9 MB, free: 37.4 MB / 382.1 MB Notification: Performance of Templates: time 0.01552/0.4381, allocations: 8.481 MB / 488.4 MB, free: 36.82 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: