Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.conf.json Using package PowerSystems with version 1.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/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_master_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001353/0.001358, allocations: 187.2 kB / 16.38 MB, free: 5.621 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.754/1.754, allocations: 194.5 MB / 211.6 MB, free: 11.18 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001879/0.001879, allocations: 116.7 kB / 256.9 MB, free: 14.41 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.3831/0.3831, allocations: 37.99 MB / 340.1 MB, free: 16.95 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004966/0.0004968, allocations: 8 kB / 403.8 MB, free: 1.117 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.2654, allocations: 53.2 MB / 457 MB, free: 27.07 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.009684/0.2751, allocations: 9.573 MB / 466.6 MB, free: 19.89 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005846/0.281, allocations: 3.843 MB / 470.4 MB, free: 16.82 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006084/0.2816, allocations: 63.91 kB / 470.5 MB, free: 16.79 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000717/0.2824, allocations: 329 kB / 470.8 MB, free: 16.51 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001624/0.284, allocations: 0.7174 MB / 471.5 MB, free: 15.92 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001209/0.2852, allocations: 472.9 kB / 472 MB, free: 15.57 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001204/0.2865, allocations: 0.9379 MB / 472.9 MB, free: 14.98 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002166/0.2886, allocations: 1.311 MB / 474.2 MB, free: 13.97 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006038/0.2893, allocations: 0.5176 MB / 474.8 MB, free: 13.45 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000708/0.29, allocations: 0.5685 MB / 475.3 MB, free: 12.88 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001242/0.2901, allocations: 52 kB / 475.4 MB, free: 12.83 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006949/0.2908, allocations: 399.4 kB / 475.8 MB, free: 12.44 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004638/0.2913, allocations: 0.5261 MB / 476.3 MB, free: 11.91 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002529/0.2916, allocations: 273 kB / 476.6 MB, free: 11.64 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001259/0.2929, allocations: 1.418 MB / 478 MB, free: 10.21 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.232e-06/0.2929, allocations: 0 / 478 MB, free: 10.21 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.845e-06/0.2929, allocations: 0 / 478 MB, free: 10.21 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.508e-05/0.2929, allocations: 0 / 478 MB, free: 10.21 MB / 314.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.002335/0.2953, allocations: 1.411 MB / 479.4 MB, free: 8.75 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.2953, allocations: 8.031 kB / 479.4 MB, free: 8.742 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001832/0.2971, allocations: 274.1 kB / 479.7 MB, free: 8.473 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001741/0.2989, allocations: 0.8938 MB / 480.6 MB, free: 7.531 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.172e-05/0.299, allocations: 82.09 kB / 480.6 MB, free: 7.449 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003545/0.2993, allocations: 135.9 kB / 480.8 MB, free: 7.316 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002361/0.3017, allocations: 1.466 MB / 482.2 MB, free: 5.781 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.204e-05/0.3018, allocations: 15.84 kB / 482.3 MB, free: 5.766 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/0.3019, allocations: 43.94 kB / 482.3 MB, free: 5.723 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003014/0.3022, allocations: 102.2 kB / 482.4 MB, free: 5.621 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002296/0.3045, allocations: 1.234 MB / 483.6 MB, free: 4.379 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008115/0.3127, allocations: 5.668 MB / 489.3 MB, free: 14.37 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001244/0.3139, allocations: 0.5913 MB / 489.9 MB, free: 13.77 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.713e-05/0.314, allocations: 8.625 kB / 489.9 MB, free: 13.76 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.733e-05/0.3141, allocations: 43.12 kB / 489.9 MB, free: 13.71 MB / 330.7 MB Notification: Performance of pre-optimization done (n=67): time 3.607e-06/0.3141, allocations: 0 / 489.9 MB, free: 13.71 MB / 330.7 MB Notification: Performance of matching and sorting (n=75): time 0.009256/0.3233, allocations: 3.624 MB / 493.6 MB, free: 9.938 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.549e-05/0.3234, allocations: 85.72 kB / 493.6 MB, free: 9.836 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/0.3246, allocations: 0.7274 MB / 494.4 MB, free: 9.098 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001043/0.3247, allocations: 41.7 kB / 494.4 MB, free: 9.051 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005963/0.3253, allocations: 0.5841 MB / 495 MB, free: 8.457 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00029/0.3256, allocations: 272.1 kB / 495.3 MB, free: 8.188 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.533e-05/0.3257, allocations: 20 kB / 495.3 MB, free: 8.168 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000263/0.326, allocations: 410.8 kB / 495.7 MB, free: 7.758 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008779/0.3269, allocations: 381.8 kB / 496.1 MB, free: 7.387 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00114/0.328, allocations: 0.6613 MB / 496.7 MB, free: 6.602 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.3292, allocations: 0.4987 MB / 497.2 MB, free: 6.105 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.026e-06/0.3292, allocations: 4 kB / 497.2 MB, free: 6.102 MB / 330.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004341/0.3335, allocations: 1.705 MB / 498.9 MB, free: 4.379 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.3336, allocations: 8.281 kB / 498.9 MB, free: 4.371 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00347/0.3371, allocations: 1.307 MB / 0.4885 GB, free: 3.047 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002416/0.3395, allocations: 0.5614 MB / 0.4891 GB, free: 2.473 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007638/0.3403, allocations: 179.7 kB / 0.4892 GB, free: 2.297 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01566/0.356, allocations: 9.626 MB / 0.4986 GB, free: 8.109 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009135/0.3569, allocations: 47.97 kB / 0.4987 GB, free: 8.062 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.934e-05/0.357, allocations: 43.98 kB / 0.4987 GB, free: 8.02 MB / 346.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 (95): * Single equations (assignments): 91 * 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%) 3,(2,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 1 {3 16} Notification: Performance of prepare postOptimizeDAE: time 0.0007819/0.3578, allocations: 397.2 kB / 0.4991 GB, free: 7.621 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001846/0.358, allocations: 90.88 kB / 0.4992 GB, free: 7.531 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003038/0.361, allocations: 1.249 MB / 0.5004 GB, free: 6.254 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/0.3611, allocations: 8 kB / 0.5004 GB, free: 6.246 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.109e-06/0.3611, allocations: 4 kB / 0.5004 GB, free: 6.242 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.371e-05/0.3611, allocations: 7.938 kB / 0.5004 GB, free: 6.234 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005551/0.3667, allocations: 2.409 MB / 0.5028 GB, free: 3.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.755e-06/0.3667, allocations: 4 kB / 0.5028 GB, free: 3.727 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006199/0.3673, allocations: 111.9 kB / 0.5029 GB, free: 3.617 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001531/0.3689, allocations: 379.8 kB / 0.5033 GB, free: 3.23 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.154e-05/0.369, allocations: 27.98 kB / 0.5033 GB, free: 3.203 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01093/0.3799, allocations: 8.584 MB / 0.5117 GB, free: 9.949 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.69e-06/0.38, allocations: 8.078 kB / 0.5117 GB, free: 9.941 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003963/0.384, allocations: 1.776 MB / 0.5134 GB, free: 8.062 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004891/0.3845, allocations: 235.8 kB / 0.5136 GB, free: 7.812 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001702/0.3846, allocations: 23.98 kB / 0.5137 GB, free: 7.789 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005818/0.3852, allocations: 23.98 kB / 0.5137 GB, free: 7.766 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/0.3854, allocations: 72.42 kB / 0.5137 GB, free: 7.695 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.782e-05/0.3855, allocations: 23.94 kB / 0.5138 GB, free: 7.672 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008583/0.3864, allocations: 0.499 MB / 0.5143 GB, free: 7.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.72e-07/0.3864, allocations: 0 / 0.5143 GB, free: 7.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001653/0.388, allocations: 364 kB / 0.5146 GB, free: 6.824 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 (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.0003456/0.3884, allocations: 143.2 kB / 0.5147 GB, free: 6.676 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003095/0.3915, allocations: 1.579 MB / 0.5163 GB, free: 5.043 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.668e-06/0.3915, allocations: 0 / 0.5163 GB, free: 5.043 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002232/0.3938, allocations: 1.095 MB / 0.5174 GB, free: 3.883 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009344/0.3947, allocations: 179.2 kB / 0.5175 GB, free: 3.703 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005735/0.4005, allocations: 3.295 MB / 0.5207 GB, free: 368 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001332/0.4018, allocations: 1.29 MB / 0.522 GB, free: 15.04 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008275/0.4027, allocations: 219.6 kB / 0.5222 GB, free: 14.82 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002165/0.4029, allocations: 67.42 kB / 0.5223 GB, free: 14.75 MB / 378.7 MB Notification: Performance of SimCode: time 1.257e-06/0.4029, allocations: 0 / 0.5223 GB, free: 14.75 MB / 378.7 MB Notification: Performance of Templates: time 0.0336/0.4365, allocations: 14.04 MB / 0.536 GB, free: 0.7266 MB / 378.7 MB