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.002248/0.002248, allocations: 354.3 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.38/3.38, allocations: 388.9 MB / 406.2 MB, free: 12 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003254/0.003254, allocations: 233.4 kB / 451.6 MB, free: 14.58 MB / 378.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.6261/0.6261, allocations: 76 MB / 0.5594 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004384/0.0004386, allocations: 12 kB / 0.6216 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06544/0.0659, allocations: 53.23 MB / 0.6736 GB, free: 60.82 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.00884/0.07478, allocations: 10.04 MB / 0.6834 GB, free: 50.74 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.005146/0.07995, allocations: 3.843 MB / 0.6872 GB, free: 46.89 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000516/0.08049, allocations: 63.56 kB / 0.6872 GB, free: 46.82 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006593/0.08116, allocations: 305.9 kB / 0.6875 GB, free: 46.52 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001695/0.08287, allocations: 0.8862 MB / 0.6884 GB, free: 45.63 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.08394, allocations: 466.9 kB / 0.6888 GB, free: 45.18 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001832/0.08579, allocations: 2.178 MB / 0.691 GB, free: 42.99 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001914/0.08772, allocations: 1.307 MB / 0.6922 GB, free: 41.63 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005638/0.0883, allocations: 0.6027 MB / 0.6928 GB, free: 41.03 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001022/0.08933, allocations: 0.8723 MB / 0.6937 GB, free: 40.15 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001311/0.08949, allocations: 56 kB / 0.6937 GB, free: 40.1 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007726/0.09027, allocations: 423.1 kB / 0.6941 GB, free: 39.68 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004606/0.09075, allocations: 0.5884 MB / 0.6947 GB, free: 39.09 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002292/0.09099, allocations: 265 kB / 0.695 GB, free: 38.83 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001179/0.09218, allocations: 1.434 MB / 0.6964 GB, free: 37.39 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.83e-06/0.0922, allocations: 0 / 0.6964 GB, free: 37.39 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.901e-06/0.09221, allocations: 0 / 0.6964 GB, free: 37.39 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.462e-05/0.09223, allocations: 0 / 0.6964 GB, free: 37.39 MB / 442.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.002329/0.09457, allocations: 1.403 MB / 0.6977 GB, free: 35.93 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.874e-05/0.09461, allocations: 8.031 kB / 0.6977 GB, free: 35.93 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001737/0.09636, allocations: 286 kB / 0.698 GB, free: 35.64 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001765/0.09814, allocations: 0.886 MB / 0.6989 GB, free: 34.71 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.642e-05/0.09821, allocations: 82.09 kB / 0.6989 GB, free: 34.63 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003203/0.09854, allocations: 139.8 kB / 0.6991 GB, free: 34.5 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002196/0.1008, allocations: 1.474 MB / 0.7005 GB, free: 32.95 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.967e-05/0.1008, allocations: 8 kB / 0.7005 GB, free: 32.95 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/0.1009, allocations: 40 kB / 0.7006 GB, free: 32.91 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002862/0.1012, allocations: 102.2 kB / 0.7007 GB, free: 32.8 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002193/0.1034, allocations: 1.242 MB / 0.7019 GB, free: 31.55 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007058/0.1105, allocations: 5.665 MB / 0.7074 GB, free: 25.55 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009557/0.1115, allocations: 0.5898 MB / 0.708 GB, free: 24.94 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006036/0.1121, allocations: 400 kB / 0.7084 GB, free: 24.54 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.405e-05/0.1122, allocations: 8.562 kB / 0.7084 GB, free: 24.54 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.1122, allocations: 43.08 kB / 0.7084 GB, free: 24.48 MB / 442.7 MB Notification: Performance of pre-optimization done (n=67): time 4.036e-06/0.1122, allocations: 4 kB / 0.7084 GB, free: 24.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=75): time 0.007969/0.1202, allocations: 3.737 MB / 0.7121 GB, free: 20.58 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/0.1203, allocations: 89.77 kB / 0.7122 GB, free: 20.47 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008441/0.1211, allocations: 0.7195 MB / 0.7129 GB, free: 19.74 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.261e-05/0.1212, allocations: 41.7 kB / 0.7129 GB, free: 19.7 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003514/0.1215, allocations: 0.5957 MB / 0.7135 GB, free: 19.09 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002006/0.1218, allocations: 272.1 kB / 0.7137 GB, free: 18.82 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.496e-05/0.1218, allocations: 24.03 kB / 0.7138 GB, free: 18.8 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.122, allocations: 402.7 kB / 0.7141 GB, free: 18.39 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007035/0.1227, allocations: 389.8 kB / 0.7145 GB, free: 18.01 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007993/0.1235, allocations: 0.6613 MB / 0.7152 GB, free: 17.23 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009046/0.1244, allocations: 0.5026 MB / 0.7157 GB, free: 16.73 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.697e-06/0.1244, allocations: 4 kB / 0.7157 GB, free: 16.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003657/0.1281, allocations: 1.698 MB / 0.7173 GB, free: 15.01 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.1281, allocations: 8 kB / 0.7173 GB, free: 15 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002778/0.1309, allocations: 1.307 MB / 0.7186 GB, free: 13.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002104/0.133, allocations: 0.5769 MB / 0.7192 GB, free: 13.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007501/0.1338, allocations: 175.7 kB / 0.7193 GB, free: 12.92 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01097/0.1448, allocations: 9.451 MB / 0.7286 GB, free: 2.906 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008278/0.1456, allocations: 47.88 kB / 0.7286 GB, free: 2.859 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.838e-05/0.1457, allocations: 43.98 kB / 0.7286 GB, free: 2.816 MB / 442.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.0005687/0.1463, allocations: 385.4 kB / 0.729 GB, free: 2.43 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000149/0.1465, allocations: 90.88 kB / 0.7291 GB, free: 2.34 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002448/0.1489, allocations: 1.249 MB / 0.7303 GB, free: 1.059 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.149, allocations: 8 kB / 0.7303 GB, free: 1.051 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.54e-06/0.149, allocations: 4 kB / 0.7303 GB, free: 1.047 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.149, allocations: 7.984 kB / 0.7303 GB, free: 1.039 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2304/0.3794, allocations: 2.399 MB / 0.7327 GB, free: 125.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.83e-06/0.3795, allocations: 2.656 kB / 0.7327 GB, free: 125.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006003/0.3801, allocations: 112.8 kB / 0.7328 GB, free: 125.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001483/0.3816, allocations: 370 kB / 0.7331 GB, free: 125.2 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.588e-05/0.3817, allocations: 25.77 kB / 0.7332 GB, free: 125.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007808/0.3895, allocations: 8.501 MB / 0.7415 GB, free: 118.7 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.072e-06/0.3896, allocations: 2.75 kB / 0.7415 GB, free: 118.7 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00333/0.3929, allocations: 1.681 MB / 0.7431 GB, free: 118.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004925/0.3934, allocations: 234.4 kB / 0.7433 GB, free: 118.4 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001648/0.3936, allocations: 21.48 kB / 0.7434 GB, free: 118.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005261/0.3942, allocations: 26.86 kB / 0.7434 GB, free: 118.4 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/0.3943, allocations: 67.8 kB / 0.7434 GB, free: 118.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.804e-05/0.3944, allocations: 22.31 kB / 0.7435 GB, free: 118.4 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007392/0.3951, allocations: 0.4962 MB / 0.744 GB, free: 118.3 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.1e-07/0.3951, allocations: 0 / 0.744 GB, free: 118.3 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00159/0.3967, allocations: 365.7 kB / 0.7443 GB, free: 118.3 MB / 442.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.0003109/0.3971, allocations: 158.1 kB / 0.7445 GB, free: 118.2 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002652/0.3997, allocations: 1.58 MB / 0.746 GB, free: 117.6 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.703e-06/0.3998, allocations: 0 / 0.746 GB, free: 117.6 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001984/0.4018, allocations: 1.098 MB / 0.7471 GB, free: 116.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/0.403, allocations: 191.5 kB / 0.7473 GB, free: 116.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004928/0.4079, allocations: 3.305 MB / 0.7505 GB, free: 115.1 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001176/0.4091, allocations: 1.281 MB / 0.7517 GB, free: 114.3 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0009549/0.4101, allocations: 218.3 kB / 0.7519 GB, free: 114.3 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002123/0.4103, allocations: 69.02 kB / 0.752 GB, free: 114.3 MB / 442.7 MB Notification: Performance of SimCode: time 1.567e-06/0.4104, allocations: 0 / 0.752 GB, free: 114.3 MB / 442.7 MB Notification: Performance of Templates: time 0.03054/0.4409, allocations: 14.1 MB / 0.7658 GB, free: 113.2 MB / 442.7 MB