Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.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.TurbineGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002396/0.0024, allocations: 352.4 kB / 16.57 MB, free: 5.59 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.226/3.226, allocations: 388.9 MB / 406.2 MB, free: 6.992 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.003512/0.003512, allocations: 223.1 kB / 451.6 MB, free: 0.5977 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.631/0.631, allocations: 76.03 MB / 0.5594 GB, free: 14.5 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004843/0.0004845, allocations: 16 kB / 0.6216 GB, free: 14.92 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2685/0.269, allocations: 53.22 MB / 0.6736 GB, free: 62.61 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.007056/0.2761, allocations: 7.838 MB / 0.6813 GB, free: 54.75 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004682/0.2808, allocations: 3.168 MB / 0.6844 GB, free: 51.59 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005238/0.2814, allocations: 47.69 kB / 0.6844 GB, free: 51.54 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004952/0.2819, allocations: 202.5 kB / 0.6846 GB, free: 51.34 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001411/0.2833, allocations: 0.6849 MB / 0.6853 GB, free: 50.66 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008858/0.2842, allocations: 365.8 kB / 0.6856 GB, free: 50.3 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001427/0.2857, allocations: 1.594 MB / 0.6872 GB, free: 48.71 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001384/0.2871, allocations: 0.9131 MB / 0.6881 GB, free: 47.75 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004709/0.2876, allocations: 446 kB / 0.6885 GB, free: 47.32 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000739/0.2883, allocations: 0.6074 MB / 0.6891 GB, free: 46.71 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.502e-05/0.2884, allocations: 36 kB / 0.6891 GB, free: 46.67 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006375/0.2891, allocations: 371.2 kB / 0.6895 GB, free: 46.31 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003636/0.2895, allocations: 414.9 kB / 0.6899 GB, free: 45.9 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001985/0.2897, allocations: 205.2 kB / 0.6901 GB, free: 45.7 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009116/0.2906, allocations: 1.052 MB / 0.6911 GB, free: 44.64 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.605e-06/0.2906, allocations: 7.922 kB / 0.6911 GB, free: 44.63 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.782e-06/0.2906, allocations: 0 / 0.6911 GB, free: 44.63 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.2907, allocations: 0 / 0.6911 GB, free: 44.63 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.001877/0.2925, allocations: 1.114 MB / 0.6922 GB, free: 43.47 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.2926, allocations: 16.02 kB / 0.6922 GB, free: 43.45 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001434/0.294, allocations: 214.5 kB / 0.6924 GB, free: 43.24 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001481/0.2955, allocations: 0.697 MB / 0.6931 GB, free: 42.5 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.161e-05/0.2956, allocations: 61.95 kB / 0.6931 GB, free: 42.45 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002488/0.2959, allocations: 103.9 kB / 0.6932 GB, free: 42.34 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001728/0.2976, allocations: 1.084 MB / 0.6943 GB, free: 41.21 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.498e-05/0.2977, allocations: 3.938 kB / 0.6943 GB, free: 41.21 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.419e-05/0.2978, allocations: 36 kB / 0.6943 GB, free: 41.18 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001793/0.2979, allocations: 73.95 kB / 0.6944 GB, free: 41.11 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00151/0.2995, allocations: 0.8509 MB / 0.6952 GB, free: 40.25 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005337/0.3048, allocations: 4.005 MB / 0.6991 GB, free: 36.05 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006844/0.3055, allocations: 439.8 kB / 0.6996 GB, free: 35.58 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004454/0.306, allocations: 276.8 kB / 0.6998 GB, free: 35.31 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.068e-05/0.3061, allocations: 16.36 kB / 0.6998 GB, free: 35.29 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.3061, allocations: 38.95 kB / 0.6999 GB, free: 35.25 MB / 346.7 MB Notification: Performance of pre-optimization done (n=48): time 3.241e-06/0.3061, allocations: 0 / 0.6999 GB, free: 35.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=52): time 0.003261/0.3094, allocations: 1.769 MB / 0.7016 GB, free: 33.43 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.3094, allocations: 81.55 kB / 0.7017 GB, free: 33.33 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006806/0.3101, allocations: 0.5821 MB / 0.7023 GB, free: 32.74 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.926e-05/0.3102, allocations: 37.7 kB / 0.7023 GB, free: 32.7 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002464/0.3104, allocations: 466.4 kB / 0.7027 GB, free: 32.23 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001281/0.3106, allocations: 193.3 kB / 0.7029 GB, free: 32.04 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.011e-05/0.3106, allocations: 12 kB / 0.7029 GB, free: 32.03 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.3107, allocations: 386.8 kB / 0.7033 GB, free: 31.64 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004321/0.3112, allocations: 253.8 kB / 0.7035 GB, free: 31.39 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005203/0.3117, allocations: 469 kB / 0.704 GB, free: 30.84 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005454/0.3123, allocations: 341.9 kB / 0.7043 GB, free: 30.51 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.991e-06/0.3123, allocations: 7.953 kB / 0.7043 GB, free: 30.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002214/0.3145, allocations: 1.107 MB / 0.7054 GB, free: 29.36 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.3145, allocations: 8.375 kB / 0.7054 GB, free: 29.35 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001538/0.3161, allocations: 0.7957 MB / 0.7062 GB, free: 28.53 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008034/0.3169, allocations: 226.3 kB / 0.7064 GB, free: 28.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006717/0.3176, allocations: 159.7 kB / 0.7066 GB, free: 28.14 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005045/0.3227, allocations: 5.228 MB / 0.7117 GB, free: 22.51 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005886/0.3233, allocations: 39.92 kB / 0.7117 GB, free: 22.47 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.074e-05/0.3234, allocations: 35.98 kB / 0.7117 GB, free: 22.43 MB / 346.7 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 (81): * Single equations (assignments): 78 * 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.000441/0.3238, allocations: 305.6 kB / 0.712 GB, free: 22.12 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/0.3239, allocations: 71.14 kB / 0.7121 GB, free: 22.05 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001057/0.325, allocations: 0.6127 MB / 0.7127 GB, free: 21.43 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.741e-06/0.325, allocations: 4 kB / 0.7127 GB, free: 21.43 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.44e-06/0.325, allocations: 4 kB / 0.7127 GB, free: 21.43 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.623e-06/0.3251, allocations: 3.984 kB / 0.7127 GB, free: 21.42 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002609/0.3277, allocations: 1.498 MB / 0.7142 GB, free: 19.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.307e-06/0.3277, allocations: 4 kB / 0.7142 GB, free: 19.85 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007545/0.3285, allocations: 131.8 kB / 0.7143 GB, free: 19.72 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.002e-06/0.3285, allocations: 7.953 kB / 0.7143 GB, free: 19.71 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.882e-05/0.3286, allocations: 19.98 kB / 0.7143 GB, free: 19.7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.966e-06/0.3286, allocations: 4 kB / 0.7143 GB, free: 19.69 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.98e-06/0.3286, allocations: 0 / 0.7143 GB, free: 19.69 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001336/0.3299, allocations: 0.9348 MB / 0.7152 GB, free: 18.72 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002691/0.3302, allocations: 192.1 kB / 0.7154 GB, free: 18.52 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.3303, allocations: 23.94 kB / 0.7154 GB, free: 18.49 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003959/0.3308, allocations: 19.98 kB / 0.7155 GB, free: 18.47 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.11e-05/0.3308, allocations: 32.39 kB / 0.7155 GB, free: 18.44 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-05/0.3309, allocations: 16 kB / 0.7155 GB, free: 18.43 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004827/0.3314, allocations: 411 kB / 0.7159 GB, free: 18.03 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.49e-07/0.3314, allocations: 0 / 0.7159 GB, free: 18.03 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009701/0.3324, allocations: 236 kB / 0.7161 GB, free: 17.8 MB / 346.7 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 (55): * Single equations (assignments): 54 * 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.0002657/0.3327, allocations: 143.1 kB / 0.7163 GB, free: 17.64 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001689/0.3344, allocations: 1.022 MB / 0.7173 GB, free: 16.58 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.252e-06/0.3344, allocations: 5.312 kB / 0.7173 GB, free: 16.58 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004418/0.3348, allocations: 258.3 kB / 0.7175 GB, free: 16.33 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009662/0.3358, allocations: 158.1 kB / 0.7177 GB, free: 16.18 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003367/0.3392, allocations: 2.508 MB / 0.7201 GB, free: 13.62 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006125/0.3398, allocations: 1.098 MB / 0.7212 GB, free: 12.5 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006825/0.3405, allocations: 193.9 kB / 0.7214 GB, free: 12.3 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001969/0.3407, allocations: 63.42 kB / 0.7214 GB, free: 12.24 MB / 346.7 MB Notification: Performance of SimCode: time 1.603e-06/0.3408, allocations: 0 / 0.7214 GB, free: 12.24 MB / 346.7 MB Notification: Performance of Templates: time 0.01909/0.3599, allocations: 8.503 MB / 0.7297 GB, free: 3.82 MB / 346.7 MB