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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 88.39 kB / 16.31 MB, free: 6.449 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.001087/0.001087, allocations: 183.1 kB / 17.21 MB, free: 6.316 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.352/1.352, allocations: 205.4 MB / 223.4 MB, free: 5.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3301/0.3301, allocations: 38.05 MB / 309.7 MB, free: 8.887 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.0004973/0.0004974, allocations: 20 kB / 376.5 MB, free: 15.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09885/0.09936, allocations: 56.34 MB / 432.9 MB, free: 6.699 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.01015/0.1096, allocations: 10.02 MB / 442.9 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007153/0.1168, allocations: 3.862 MB / 446.7 MB, free: 8.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001396/0.1182, allocations: 59.62 kB / 446.8 MB, free: 8.711 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001341/0.1196, allocations: 317.8 kB / 447.1 MB, free: 8.398 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002805/0.1224, allocations: 0.9216 MB / 448 MB, free: 7.473 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001596/0.124, allocations: 471.2 kB / 448.5 MB, free: 7.012 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003148/0.1272, allocations: 2.174 MB / 450.7 MB, free: 4.828 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002836/0.1301, allocations: 1.315 MB / 452 MB, free: 3.465 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001469/0.1316, allocations: 0.6144 MB / 452.6 MB, free: 2.848 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001863/0.1334, allocations: 0.8685 MB / 453.5 MB, free: 1.977 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003016/0.1338, allocations: 56 kB / 453.5 MB, free: 1.922 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001095/0.1349, allocations: 427.2 kB / 453.9 MB, free: 1.504 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007199/0.1356, allocations: 0.5883 MB / 454.5 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000528/0.1361, allocations: 269 kB / 454.8 MB, free: 0.6445 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1923/0.3284, allocations: 1.42 MB / 456.2 MB, free: 35.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.498e-06/0.3285, allocations: 0 / 456.2 MB, free: 35.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.3285, allocations: 2.75 kB / 456.2 MB, free: 35.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.17e-05/0.3285, allocations: 0 / 456.2 MB, free: 35.21 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: 298 * Number of variables: 298 Notification: Performance of Generate backend data structure: time 0.002414/0.331, allocations: 1.408 MB / 457.6 MB, free: 34.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.331, allocations: 9.438 kB / 457.6 MB, free: 34.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001378/0.3324, allocations: 274.2 kB / 457.9 MB, free: 34.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001405/0.3338, allocations: 0.8776 MB / 458.8 MB, free: 34.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.985e-05/0.3339, allocations: 75.42 kB / 458.8 MB, free: 34.06 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002593/0.3341, allocations: 141.1 kB / 459 MB, free: 34.06 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001961/0.3361, allocations: 1.476 MB / 460.5 MB, free: 33.87 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.928e-05/0.3362, allocations: 10.44 kB / 460.5 MB, free: 33.87 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/0.3363, allocations: 53.5 kB / 460.5 MB, free: 33.87 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002442/0.3365, allocations: 97.95 kB / 460.6 MB, free: 33.86 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001712/0.3383, allocations: 1.248 MB / 461.9 MB, free: 33.85 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006321/0.3446, allocations: 5.673 MB / 467.5 MB, free: 31.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008254/0.3454, allocations: 0.5877 MB / 468.1 MB, free: 31.11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000487/0.3459, allocations: 394.7 kB / 468.5 MB, free: 31.1 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.787e-05/0.346, allocations: 13.66 kB / 468.5 MB, free: 31.1 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.3461, allocations: 43.36 kB / 468.6 MB, free: 31.06 MB / 382.1 MB Notification: Performance of pre-optimization done (n=67): time 3.516e-06/0.3461, allocations: 0 / 468.6 MB, free: 31.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=74): time 0.006084/0.3522, allocations: 3.636 MB / 472.2 MB, free: 29.88 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/0.3522, allocations: 84.58 kB / 472.3 MB, free: 29.78 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007626/0.353, allocations: 0.7284 MB / 473 MB, free: 29.64 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.541e-05/0.353, allocations: 42.62 kB / 473.1 MB, free: 29.61 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002586/0.3533, allocations: 0.5922 MB / 473.6 MB, free: 29.3 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000164/0.3535, allocations: 263.7 kB / 473.9 MB, free: 29.14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.192e-05/0.3535, allocations: 18.88 kB / 473.9 MB, free: 29.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.3536, allocations: 409.5 kB / 474.3 MB, free: 28.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004933/0.3541, allocations: 388.6 kB / 474.7 MB, free: 28.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006679/0.3548, allocations: 0.6582 MB / 475.4 MB, free: 28.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000663/0.3555, allocations: 0.5037 MB / 475.9 MB, free: 28.47 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.3555, allocations: 2.969 kB / 475.9 MB, free: 28.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002913/0.3584, allocations: 1.697 MB / 477.6 MB, free: 28.31 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/0.3585, allocations: 9.062 kB / 477.6 MB, free: 28.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002173/0.3607, allocations: 1.301 MB / 478.9 MB, free: 28.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001619/0.3623, allocations: 0.5863 MB / 479.5 MB, free: 28.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005856/0.3629, allocations: 172 kB / 479.6 MB, free: 28.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008898/0.3718, allocations: 9.446 MB / 489.1 MB, free: 22.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007771/0.3726, allocations: 47.61 kB / 489.1 MB, free: 22.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.431e-05/0.3727, allocations: 46.53 kB / 489.2 MB, free: 22.77 MB / 382.1 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 (93): * Single equations (assignments): 89 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0005596/0.3733, allocations: 371.9 kB / 489.5 MB, free: 22.65 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.3734, allocations: 97.44 kB / 489.6 MB, free: 22.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001834/0.3752, allocations: 1.248 MB / 490.9 MB, free: 22.1 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.3753, allocations: 9.281 kB / 490.9 MB, free: 22.1 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.3753, allocations: 10.16 kB / 490.9 MB, free: 22.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.3753, allocations: 3.328 kB / 490.9 MB, free: 22.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003468/0.3787, allocations: 2.397 MB / 493.3 MB, free: 21.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.3788, allocations: 2.094 kB / 493.3 MB, free: 21.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004452/0.3792, allocations: 107.9 kB / 493.4 MB, free: 21.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001022/0.3803, allocations: 373.3 kB / 493.8 MB, free: 20.96 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.059e-05/0.3803, allocations: 26.94 kB / 493.8 MB, free: 20.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007334/0.3877, allocations: 8.488 MB / 0.4905 GB, free: 29.56 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.466e-06/0.3878, allocations: 9.656 kB / 0.4905 GB, free: 29.56 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003007/0.3908, allocations: 1.674 MB / 0.4921 GB, free: 28.79 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005281/0.3913, allocations: 237.5 kB / 0.4924 GB, free: 28.62 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000143/0.3915, allocations: 24.02 kB / 0.4924 GB, free: 28.61 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004264/0.3919, allocations: 29.08 kB / 0.4924 GB, free: 28.59 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001816/0.3921, allocations: 60.47 kB / 0.4925 GB, free: 28.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.984e-05/0.3922, allocations: 22.84 kB / 0.4925 GB, free: 28.58 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007574/0.3929, allocations: 0.5008 MB / 0.493 GB, free: 28.38 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3929, allocations: 0 / 0.493 GB, free: 28.38 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001564/0.3945, allocations: 363.8 kB / 0.4933 GB, free: 28.34 MB / 398.1 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 (57): * Single equations (assignments): 51 * 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.0003545/0.3949, allocations: 146.2 kB / 0.4935 GB, free: 28.24 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002494/0.3974, allocations: 1.576 MB / 0.495 GB, free: 27.43 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.3974, allocations: 0.5 kB / 0.495 GB, free: 27.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001696/0.3991, allocations: 1.096 MB / 0.4961 GB, free: 26.7 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/0.4002, allocations: 198.4 kB / 0.4963 GB, free: 26.61 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005089/0.4054, allocations: 3.291 MB / 0.4995 GB, free: 24.72 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001321/0.4067, allocations: 1.259 MB / 0.5007 GB, free: 23.94 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0009275/0.4077, allocations: 219.9 kB / 0.5009 GB, free: 23.9 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000195/0.4079, allocations: 64.73 kB / 0.501 GB, free: 23.89 MB / 398.1 MB Notification: Performance of SimCode: time 1.112e-06/0.4079, allocations: 0 / 0.501 GB, free: 23.89 MB / 398.1 MB Notification: Performance of Templates: time 0.02497/0.4329, allocations: 14.09 MB / 0.5148 GB, free: 20.23 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: