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.002536/0.00254, allocations: 361.4 kB / 17.21 MB, free: 4.926 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 3.448/3.448, allocations: 388.9 MB / 406.9 MB, free: 6.91 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003462/0.003461, allocations: 228 kB / 452.2 MB, free: 0.5938 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.7491/0.7491, allocations: 76.03 MB / 0.56 GB, free: 14.48 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004657/0.0004661, allocations: 8 kB / 0.6222 GB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3395, allocations: 53.21 MB / 0.6742 GB, free: 62.64 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.01187/0.3514, allocations: 10.05 MB / 0.684 GB, free: 52.56 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.008063/0.3596, allocations: 3.837 MB / 0.6878 GB, free: 48.73 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001325/0.3609, allocations: 63.56 kB / 0.6878 GB, free: 48.67 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001067/0.362, allocations: 317.8 kB / 0.6881 GB, free: 48.36 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003125/0.3652, allocations: 0.8784 MB / 0.689 GB, free: 47.47 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001924/0.3671, allocations: 465.4 kB / 0.6894 GB, free: 47.02 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.003042/0.3702, allocations: 2.186 MB / 0.6916 GB, free: 44.83 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002699/0.373, allocations: 1.311 MB / 0.6929 GB, free: 43.47 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001295/0.3743, allocations: 0.6027 MB / 0.6934 GB, free: 42.86 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001494/0.3758, allocations: 0.8645 MB / 0.6943 GB, free: 42 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001744/0.376, allocations: 56 kB / 0.6943 GB, free: 41.94 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00111/0.3771, allocations: 427.1 kB / 0.6947 GB, free: 41.52 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006029/0.3777, allocations: 0.5883 MB / 0.6953 GB, free: 40.93 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003432/0.3781, allocations: 269 kB / 0.6956 GB, free: 40.66 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001831/0.3799, allocations: 1.426 MB / 0.697 GB, free: 39.23 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.38, allocations: 0 / 0.697 GB, free: 39.23 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.38, allocations: 0 / 0.697 GB, free: 39.23 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.725e-05/0.38, allocations: 0 / 0.697 GB, free: 39.23 MB / 346.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.003703/0.3837, allocations: 1.395 MB / 0.6983 GB, free: 37.79 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.3838, allocations: 12.03 kB / 0.6983 GB, free: 37.77 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002604/0.3864, allocations: 286.1 kB / 0.6986 GB, free: 37.49 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00275/0.3892, allocations: 0.8859 MB / 0.6995 GB, free: 36.56 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.218e-05/0.3893, allocations: 82.09 kB / 0.6996 GB, free: 36.48 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004551/0.3898, allocations: 139.9 kB / 0.6997 GB, free: 36.34 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003013/0.3928, allocations: 1.478 MB / 0.7011 GB, free: 34.8 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.629e-05/0.3929, allocations: 11.84 kB / 0.7011 GB, free: 34.79 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001438/0.393, allocations: 47.98 kB / 0.7012 GB, free: 34.74 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004926/0.3935, allocations: 98.16 kB / 0.7013 GB, free: 34.64 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002857/0.3964, allocations: 1.234 MB / 0.7025 GB, free: 33.4 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01023/0.4067, allocations: 5.668 MB / 0.708 GB, free: 27.39 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001244/0.408, allocations: 0.5875 MB / 0.7086 GB, free: 26.79 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007674/0.4088, allocations: 395.3 kB / 0.709 GB, free: 26.39 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.609e-05/0.4088, allocations: 12.55 kB / 0.709 GB, free: 26.38 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.4089, allocations: 39.12 kB / 0.709 GB, free: 26.33 MB / 346.7 MB Notification: Performance of pre-optimization done (n=67): time 3.616e-06/0.4089, allocations: 0 / 0.709 GB, free: 26.33 MB / 346.7 MB Notification: Performance of matching and sorting (n=75): time 0.01125/0.4202, allocations: 3.733 MB / 0.7127 GB, free: 22.45 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.4202, allocations: 85.77 kB / 0.7128 GB, free: 22.35 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.4213, allocations: 0.7235 MB / 0.7135 GB, free: 21.62 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.42e-05/0.4214, allocations: 41.7 kB / 0.7135 GB, free: 21.57 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003758/0.4218, allocations: 0.5957 MB / 0.7141 GB, free: 20.96 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002467/0.4221, allocations: 268.1 kB / 0.7143 GB, free: 20.7 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.96e-05/0.4222, allocations: 20 kB / 0.7144 GB, free: 20.68 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.4223, allocations: 406.8 kB / 0.7147 GB, free: 20.27 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008701/0.4232, allocations: 385.8 kB / 0.7151 GB, free: 19.9 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009924/0.4242, allocations: 0.6652 MB / 0.7158 GB, free: 19.11 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/0.4253, allocations: 0.4987 MB / 0.7162 GB, free: 18.62 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.164e-06/0.4253, allocations: 4 kB / 0.7163 GB, free: 18.61 MB / 346.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004975/0.4303, allocations: 1.713 MB / 0.7179 GB, free: 16.88 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.893e-05/0.4303, allocations: 14.97 kB / 0.7179 GB, free: 16.87 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004068/0.4344, allocations: 1.311 MB / 0.7192 GB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003087/0.4375, allocations: 0.5692 MB / 0.7198 GB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/0.4387, allocations: 171.7 kB / 0.7199 GB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0145/0.4532, allocations: 9.455 MB / 0.7292 GB, free: 4.789 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/0.4544, allocations: 47.95 kB / 0.7292 GB, free: 4.742 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.843e-05/0.4545, allocations: 47.94 kB / 0.7293 GB, free: 4.695 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 (94): * Single equations (assignments): 90 * 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.0007639/0.4553, allocations: 381.4 kB / 0.7296 GB, free: 4.312 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001808/0.4555, allocations: 90.88 kB / 0.7297 GB, free: 4.223 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003295/0.4588, allocations: 1.253 MB / 0.7309 GB, free: 2.941 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.682e-05/0.4589, allocations: 7.938 kB / 0.7309 GB, free: 2.934 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.4589, allocations: 0 / 0.7309 GB, free: 2.934 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005418/0.4594, allocations: 235.8 kB / 0.7312 GB, free: 2.684 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001957/0.4596, allocations: 23.98 kB / 0.7312 GB, free: 2.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007772/0.4604, allocations: 27.97 kB / 0.7312 GB, free: 2.633 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001463/0.4606, allocations: 64.55 kB / 0.7313 GB, free: 2.57 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004971/0.4656, allocations: 1.48 MB / 0.7327 GB, free: 1.062 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003103/0.4687, allocations: 1.567 MB / 0.7343 GB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009737/0.4697, allocations: 412.9 kB / 0.7347 GB, free: 15.07 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001071/0.4708, allocations: 0.5068 MB / 0.7351 GB, free: 14.57 MB / 362.7 MB Notification: Performance of Backend: time 4.71e-07/0.4708, allocations: 0 / 0.7351 GB, free: 14.57 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004373/0.4752, allocations: 1.439 MB / 0.7366 GB, free: 13.08 MB / 362.7 MB Notification: Performance of SimCode: time 0.007559/0.4828, allocations: 3.686 MB / 0.7402 GB, free: 9.344 MB / 362.7 MB Notification: Performance of Templates: time 0.04581/0.5287, allocations: 15.81 MB / 0.7556 GB, free: 9.625 MB / 378.7 MB