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.0007384/0.0007384, allocations: 92.16 kB / 16.65 MB, free: 6.305 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.0009082/0.0009082, allocations: 175.3 kB / 17.56 MB, free: 5.91 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.44/1.44, allocations: 205.4 MB / 223.8 MB, free: 13.05 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1812/0.1812, allocations: 38.06 MB / 310.1 MB, free: 5.898 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.0005489/0.000549, allocations: 15.12 kB / 377.2 MB, free: 2.715 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3167, allocations: 56.33 MB / 433.5 MB, free: 18.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.007189/0.324, allocations: 8.296 MB / 441.8 MB, free: 10.35 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005008/0.329, allocations: 3.358 MB / 445.1 MB, free: 6.98 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001007/0.3301, allocations: 55.62 kB / 445.2 MB, free: 6.926 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005872/0.3307, allocations: 186.8 kB / 445.4 MB, free: 6.742 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001708/0.3324, allocations: 0.6342 MB / 446 MB, free: 6.105 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009367/0.3334, allocations: 335.4 kB / 446.3 MB, free: 5.777 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001737/0.3351, allocations: 1.988 MB / 448.3 MB, free: 3.785 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001432/0.3366, allocations: 1.021 MB / 449.4 MB, free: 2.719 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007231/0.3373, allocations: 445.9 kB / 449.8 MB, free: 2.281 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008876/0.3382, allocations: 0.6189 MB / 450.4 MB, free: 1.66 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.058e-05/0.3383, allocations: 36 kB / 450.4 MB, free: 1.625 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009848/0.3393, allocations: 463.1 kB / 450.9 MB, free: 1.172 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003659/0.3397, allocations: 410.8 kB / 451.3 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004321/0.3401, allocations: 487.2 kB / 451.8 MB, free: 292 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00166/0.3418, allocations: 1.347 MB / 453.1 MB, free: 14.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/0.3418, allocations: 0 / 453.1 MB, free: 14.93 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.975e-06/0.3418, allocations: 7.938 kB / 453.1 MB, free: 14.92 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.433e-05/0.3418, allocations: 4 kB / 453.1 MB, free: 14.92 MB / 334.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.002739/0.3446, allocations: 1.11 MB / 454.2 MB, free: 13.76 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.084e-05/0.3447, allocations: 8.031 kB / 454.2 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001449/0.3461, allocations: 207.5 kB / 454.5 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001707/0.3478, allocations: 0.7059 MB / 455.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.437e-05/0.3479, allocations: 62.36 kB / 455.2 MB, free: 12.74 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002451/0.3482, allocations: 99.84 kB / 455.3 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001731/0.3499, allocations: 1.092 MB / 456.4 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.206e-05/0.3499, allocations: 3.906 kB / 456.4 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.737e-05/0.35, allocations: 32 kB / 456.4 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000166/0.3502, allocations: 73.95 kB / 456.5 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00142/0.3516, allocations: 0.8782 MB / 457.4 MB, free: 10.52 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005676/0.3573, allocations: 4.008 MB / 461.4 MB, free: 6.309 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006923/0.358, allocations: 435.7 kB / 461.8 MB, free: 5.848 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003932/0.3585, allocations: 286.8 kB / 462.1 MB, free: 5.562 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.428e-05/0.3585, allocations: 20.36 kB / 462.1 MB, free: 5.543 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.878e-05/0.3586, allocations: 35 kB / 462.2 MB, free: 5.5 MB / 334.1 MB Notification: Performance of pre-optimization done (n=48): time 3.346e-06/0.3586, allocations: 0 / 462.2 MB, free: 5.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=51): time 0.003416/0.362, allocations: 1.717 MB / 463.9 MB, free: 3.73 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.598e-05/0.3621, allocations: 81.55 kB / 464 MB, free: 3.633 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007065/0.3628, allocations: 0.5937 MB / 464.6 MB, free: 3.027 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.87e-05/0.3628, allocations: 37.7 kB / 464.6 MB, free: 2.984 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003404/0.3632, allocations: 466.7 kB / 465 MB, free: 2.52 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001462/0.3634, allocations: 189.3 kB / 465.2 MB, free: 2.332 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.3635, allocations: 73.67 kB / 465.3 MB, free: 2.254 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001888/0.3637, allocations: 374.8 kB / 465.7 MB, free: 1.879 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003886/0.3641, allocations: 253.8 kB / 465.9 MB, free: 1.633 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006171/0.3647, allocations: 484.9 kB / 466.4 MB, free: 1.062 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/0.3657, allocations: 0.7702 MB / 467.2 MB, free: 204 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.3658, allocations: 4 kB / 467.2 MB, free: 200 kB / 334.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002064/0.3678, allocations: 1.111 MB / 468.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.3679, allocations: 12.02 kB / 468.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001422/0.3693, allocations: 0.7918 MB / 469.1 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007378/0.3701, allocations: 222.3 kB / 469.3 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005296/0.3706, allocations: 167.7 kB / 469.5 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005772/0.3764, allocations: 5.233 MB / 474.7 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00063/0.3771, allocations: 35.97 kB / 474.7 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.613e-05/0.3771, allocations: 32.06 kB / 474.8 MB, free: 8.117 MB / 350.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 (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.0005346/0.3777, allocations: 309.4 kB / 475.1 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.3778, allocations: 71.19 kB / 475.1 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001045/0.3788, allocations: 0.6085 MB / 475.7 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.3788, allocations: 8 kB / 475.7 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3789, allocations: 7.984 kB / 475.8 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-06/0.3789, allocations: 3.938 kB / 475.8 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00239/0.3813, allocations: 1.493 MB / 477.2 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.3813, allocations: 0 / 477.2 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006083/0.3819, allocations: 127.9 kB / 477.4 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.097e-06/0.3819, allocations: 4 kB / 477.4 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.745e-05/0.382, allocations: 12 kB / 477.4 MB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.267e-06/0.382, allocations: 7.984 kB / 477.4 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.382, allocations: 8.094 kB / 477.4 MB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001295/0.3833, allocations: 0.9155 MB / 478.3 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002711/0.3836, allocations: 196.1 kB / 478.5 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.307e-05/0.3837, allocations: 12 kB / 478.5 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003192/0.384, allocations: 23.97 kB / 478.5 MB, free: 4.176 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.867e-05/0.3841, allocations: 32.34 kB / 478.6 MB, free: 4.145 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.736e-05/0.3841, allocations: 23.92 kB / 478.6 MB, free: 4.121 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005127/0.3846, allocations: 419 kB / 479 MB, free: 3.715 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3847, allocations: 0 / 479 MB, free: 3.715 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009568/0.3856, allocations: 232 kB / 479.2 MB, free: 3.488 MB / 350.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 (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.0003073/0.3859, allocations: 147 kB / 479.4 MB, free: 3.336 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00171/0.3877, allocations: 1.037 MB / 480.4 MB, free: 2.266 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.237e-06/0.3877, allocations: 1.312 kB / 480.4 MB, free: 2.266 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003877/0.3881, allocations: 258.6 kB / 480.7 MB, free: 2.008 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000965/0.389, allocations: 142.9 kB / 480.8 MB, free: 1.871 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003337/0.3924, allocations: 2.562 MB / 483.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007326/0.3931, allocations: 1.078 MB / 484.5 MB, free: 14.15 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005914/0.3937, allocations: 189.9 kB / 484.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001657/0.3939, allocations: 59.42 kB / 484.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3939, allocations: 0 / 484.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of Templates: time 0.01649/0.4104, allocations: 8.726 MB / 493.4 MB, free: 5.203 MB / 366.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: