Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr iPSL_iPSL.Examples.Machines.PSAT.Order5_2test2.conf.json Using package iPSL with version 1.1.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(iPSL.Examples.Machines.PSAT.Order5_2test2,fileNamePrefix="iPSL_iPSL_Examples_Machines_PSAT_Order5_2test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01055/0.01055, allocations: 166.5 kB / 15.11 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.636/1.636, allocations: 170.8 MB / 186.6 MB, free: 1.117 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00195/0.00195, allocations: 114.4 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo): time 0.5471/0.5471, allocations: 50.22 MB / 315.8 MB, free: 34.29 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005412/0.0005412, allocations: 12 kB / 376.9 MB, free: 7.141 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1285, allocations: 50.51 MB / 427.4 MB, free: 4.562 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3952/0.5238, allocations: 75.56 MB / 0.4912 GB, free: 9.918 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/0.5241, allocations: 68.84 kB / 0.4913 GB, free: 9.852 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06775/0.5919, allocations: 14.99 MB / 0.5059 GB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.5919, allocations: 0 / 0.5059 GB, free: 10.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.075e-05/0.592, allocations: 16 kB / 0.5059 GB, free: 10.87 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.00753/0.5995, allocations: 1.555 MB / 0.5075 GB, free: 9.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/0.5996, allocations: 8.031 kB / 0.5075 GB, free: 9.262 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004414/0.6, allocations: 122.5 kB / 0.5076 GB, free: 9.133 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004624/0.6047, allocations: 470.3 kB / 0.508 GB, free: 8.672 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001642/0.6064, allocations: 0.5921 MB / 0.5086 GB, free: 8.039 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000371/0.6068, allocations: 230.4 kB / 0.5088 GB, free: 7.785 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002414/0.6071, allocations: 67.27 kB / 0.5089 GB, free: 7.723 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003855/0.6109, allocations: 0.9873 MB / 0.5099 GB, free: 6.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.211e-05/0.611, allocations: 0 / 0.5099 GB, free: 6.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001544/0.6112, allocations: 31.98 kB / 0.5099 GB, free: 6.699 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.481e-05/0.6112, allocations: 18.81 kB / 0.5099 GB, free: 6.684 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003628/0.6149, allocations: 0.98 MB / 0.5109 GB, free: 5.699 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009755/0.6247, allocations: 3.253 MB / 0.514 GB, free: 2.277 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003421/0.6281, allocations: 0.8698 MB / 0.5149 GB, free: 1.402 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000212/0.6284, allocations: 16.64 kB / 0.5149 GB, free: 1.387 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.667e-05/0.6285, allocations: 43.2 kB / 0.5149 GB, free: 1.336 MB / 362.7 MB Notification: Performance of pre-optimization done (n=78): time 3.296e-06/0.6285, allocations: 0 / 0.5149 GB, free: 1.336 MB / 362.7 MB Notification: Performance of matching and sorting (n=78): time 0.05426/0.6827, allocations: 8.077 MB / 0.5228 GB, free: 9.223 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.254e-05/0.6828, allocations: 60.06 kB / 0.5229 GB, free: 9.152 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001283/0.6841, allocations: 0.5336 MB / 0.5234 GB, free: 8.613 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002385/0.6844, allocations: 41.7 kB / 0.5235 GB, free: 8.566 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003407/0.6847, allocations: 352.2 kB / 0.5238 GB, free: 8.215 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004319/0.6852, allocations: 280 kB / 0.5241 GB, free: 7.938 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/0.6853, allocations: 12 kB / 0.5241 GB, free: 7.926 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002025/0.6856, allocations: 378.8 kB / 0.5244 GB, free: 7.547 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002461/0.688, allocations: 0.5993 MB / 0.525 GB, free: 6.949 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002544/0.6906, allocations: 0.6898 MB / 0.5257 GB, free: 6.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002578/0.6932, allocations: 0.6423 MB / 0.5263 GB, free: 5.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.6932, allocations: 0 / 0.5263 GB, free: 5.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.02678/0.72, allocations: 4.618 MB / 0.5308 GB, free: 0.957 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.288e-05/0.7201, allocations: 7.953 kB / 0.5308 GB, free: 0.9492 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.767e-05/0.7201, allocations: 4 kB / 0.5308 GB, free: 0.9453 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01298/0.7331, allocations: 2.113 MB / 0.5329 GB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/0.7342, allocations: 95.84 kB / 0.533 GB, free: 14.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04237/0.7766, allocations: 9.95 MB / 0.5427 GB, free: 4.645 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001954/0.7786, allocations: 155.3 kB / 0.5429 GB, free: 4.492 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/0.7787, allocations: 24 kB / 0.5429 GB, free: 4.469 MB / 394.7 MB Warning: Assuming fixed start value for the following 3 variables: order5Type2_Inputs_Outputs.e2d:VARIABLE(start = order5Type2_Inputs_Outputs.e2d0 fixed = true ) "d-axis sub-transient voltage" type: Real order5Type2_Inputs_Outputs.e2q:VARIABLE(start = order5Type2_Inputs_Outputs.e2q0 fixed = true ) "q-axis sub-transient voltage" type: Real order5Type2_Inputs_Outputs.e1q:VARIABLE(start = order5Type2_Inputs_Outputs.e1q0 fixed = true ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {27 10} Notification: Performance of prepare postOptimizeDAE: time 0.0006081/0.7794, allocations: 212 kB / 0.5431 GB, free: 4.254 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002447/0.7796, allocations: 79.02 kB / 0.5432 GB, free: 4.176 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02639/0.806, allocations: 4.65 MB / 0.5477 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.97e-05/0.8061, allocations: 8 kB / 0.5477 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.8061, allocations: 7.938 kB / 0.5477 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.06e-05/0.8061, allocations: 7.984 kB / 0.5477 GB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002223/0.8084, allocations: 1.045 MB / 0.5487 GB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.8084, allocations: 3.938 kB / 0.5487 GB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009429/0.8094, allocations: 79.89 kB / 0.5488 GB, free: 14.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01209/0.8215, allocations: 2.021 MB / 0.5508 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002253/0.8217, allocations: 20 kB / 0.5508 GB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03802/0.8598, allocations: 8.615 MB / 0.5592 GB, free: 3.516 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.722e-06/0.8598, allocations: 3.953 kB / 0.5592 GB, free: 3.512 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02991/0.8898, allocations: 5.517 MB / 0.5646 GB, free: 13.97 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003878/0.8902, allocations: 180 kB / 0.5648 GB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002379/0.8904, allocations: 12 kB / 0.5648 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001781/0.8922, allocations: 107.9 kB / 0.5649 GB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009374/0.8932, allocations: 188.7 kB / 0.5651 GB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001113/0.8933, allocations: 20 kB / 0.5651 GB, free: 13.46 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009109/0.8943, allocations: 442.8 kB / 0.5655 GB, free: 13.03 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.8943, allocations: 0 / 0.5655 GB, free: 13.03 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001522/0.8958, allocations: 343.5 kB / 0.5659 GB, free: 12.69 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (order5Type2_Inputs_Outputs.delta,order5Type2_Inputs_Outputs.w,order5Type2_Inputs_Outputs.e1q,order5Type2_Inputs_Outputs.e2q,order5Type2_Inputs_Outputs.e2d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.03003/0.9258, allocations: 6.113 MB / 0.5718 GB, free: 6.539 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01189/0.9378, allocations: 2.372 MB / 0.5741 GB, free: 4.164 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.9378, allocations: 0 / 0.5741 GB, free: 4.164 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009011/0.9469, allocations: 1.659 MB / 0.5758 GB, free: 2.496 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006679/0.9476, allocations: 50.31 kB / 0.5758 GB, free: 2.445 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3303/1.278, allocations: 10.4 MB / 0.586 GB, free: 112.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007206/1.279, allocations: 0.9899 MB / 0.5869 GB, free: 111.9 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007367/1.279, allocations: 60.33 kB / 0.587 GB, free: 111.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001055/1.281, allocations: 288 kB / 0.5873 GB, free: 111.9 MB / 426.7 MB Notification: Performance of SimCode: time 1.202e-06/1.281, allocations: 0 / 0.5873 GB, free: 111.9 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08022/1.361, allocations: 24.9 MB / 0.6116 GB, free: 109.7 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.001041/1.362, allocations: 188.1 kB / 0.6118 GB, free: 109.5 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.543/4.905, allocations: 2.516 kB / 0.6118 GB, free: 109.5 MB / 426.7 MB