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.01488/0.01489, allocations: 163.6 kB / 15.12 MB, free: 5.953 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.914/1.914, allocations: 170.8 MB / 186.7 MB, free: 1.113 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.005176/0.005176, allocations: 106.8 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo): time 0.6498/0.6498, allocations: 50.22 MB / 315.9 MB, free: 34.26 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007783/0.0007787, allocations: 12 kB / 376.9 MB, free: 7.129 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1674, allocations: 50.51 MB / 427.5 MB, free: 4.551 MB / 330.7 MB Notification: Performance of NFInst.instantiate(iPSL.Examples.Machines.PSAT.Order5_2test2): time 0.003856/0.1713, allocations: 1.921 MB / 429.4 MB, free: 2.617 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.005336/0.1768, allocations: 1.993 MB / 431.4 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008001/0.1777, allocations: 8 kB / 431.4 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004883/0.1782, allocations: 75.34 kB / 431.5 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001018/0.1792, allocations: 159.1 kB / 431.6 MB, free: 380 kB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.3692/0.5484, allocations: 0.6259 MB / 432.2 MB, free: 34.55 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001938/0.5504, allocations: 0.7636 MB / 433 MB, free: 34.55 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006652/0.5511, allocations: 203.6 kB / 433.2 MB, free: 34.52 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001003/0.5521, allocations: 356.1 kB / 433.5 MB, free: 34.52 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001379/0.5536, allocations: 0.5148 MB / 434.1 MB, free: 34.51 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004843/0.5541, allocations: 47.94 kB / 434.1 MB, free: 34.51 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006929/0.5548, allocations: 129.5 kB / 434.2 MB, free: 34.51 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003333/0.5552, allocations: 180.3 kB / 434.4 MB, free: 34.47 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002584/0.5555, allocations: 141.8 kB / 434.5 MB, free: 34.41 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001951/0.5574, allocations: 0.7802 MB / 435.3 MB, free: 34.37 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/0.5575, allocations: 1.188 kB / 435.3 MB, free: 34.37 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.945e-06/0.5575, allocations: 0 / 435.3 MB, free: 34.37 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.661e-05/0.5576, allocations: 0 / 435.3 MB, free: 34.37 MB / 330.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.01229/0.5699, allocations: 1.938 MB / 437.3 MB, free: 33.72 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.425e-05/0.57, allocations: 9.594 kB / 437.3 MB, free: 33.72 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005438/0.5705, allocations: 116.6 kB / 437.4 MB, free: 33.68 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007119/0.5777, allocations: 0.6634 MB / 438.1 MB, free: 33.62 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001914/0.5796, allocations: 0.5863 MB / 438.6 MB, free: 33.34 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005735/0.5803, allocations: 221.6 kB / 438.9 MB, free: 33.18 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006623/0.581, allocations: 67.47 kB / 438.9 MB, free: 33.18 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005208/0.5862, allocations: 0.9929 MB / 439.9 MB, free: 33.11 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.933e-05/0.5864, allocations: 4 kB / 439.9 MB, free: 33.11 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001619/0.5865, allocations: 29.25 kB / 439.9 MB, free: 33.11 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.281e-05/0.5866, allocations: 17 kB / 440 MB, free: 33.11 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004143/0.5907, allocations: 0.9778 MB / 440.9 MB, free: 33.09 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01054/0.6013, allocations: 3.212 MB / 444.2 MB, free: 32.11 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003698/0.6051, allocations: 0.8735 MB / 445 MB, free: 31.96 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002803/0.608, allocations: 0.7194 MB / 445.7 MB, free: 31.69 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002431/0.6083, allocations: 12.36 kB / 445.8 MB, free: 31.69 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/0.6083, allocations: 38.81 kB / 445.8 MB, free: 31.64 MB / 330.7 MB Notification: Performance of pre-optimization done (n=78): time 4.168e-06/0.6083, allocations: 0 / 445.8 MB, free: 31.64 MB / 330.7 MB Notification: Performance of matching and sorting (n=78): time 0.05404/0.6624, allocations: 8.098 MB / 453.9 MB, free: 30.29 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.225e-05/0.6625, allocations: 63.88 kB / 454 MB, free: 30.22 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001913/0.6644, allocations: 0.608 MB / 454.6 MB, free: 29.94 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004484/0.665, allocations: 36.67 kB / 454.6 MB, free: 29.9 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005657/0.6656, allocations: 352.6 kB / 454.9 MB, free: 29.62 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009333/0.6665, allocations: 270.8 kB / 455.2 MB, free: 29.41 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002147/0.6668, allocations: 15.97 kB / 455.2 MB, free: 29.4 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003384/0.6672, allocations: 383.8 kB / 455.6 MB, free: 29.05 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004717/0.6719, allocations: 0.5984 MB / 456.2 MB, free: 28.86 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004857/0.6769, allocations: 0.702 MB / 456.9 MB, free: 28.55 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003822/0.6808, allocations: 0.637 MB / 457.5 MB, free: 28.3 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.264e-05/0.6808, allocations: 0 / 457.5 MB, free: 28.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.02882/0.7097, allocations: 4.626 MB / 462.2 MB, free: 27.36 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.193e-05/0.7098, allocations: 5 kB / 462.2 MB, free: 27.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.865e-05/0.7098, allocations: 2.25 kB / 462.2 MB, free: 27.36 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01419/0.724, allocations: 2.107 MB / 464.3 MB, free: 27.01 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/0.7252, allocations: 98.28 kB / 464.4 MB, free: 27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04413/0.7693, allocations: 9.483 MB / 473.9 MB, free: 20.69 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002434/0.7718, allocations: 156.3 kB / 474 MB, free: 20.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002511/0.7721, allocations: 27.98 kB / 474 MB, free: 20.51 MB / 330.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.0007349/0.7729, allocations: 206.3 kB / 474.2 MB, free: 20.3 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004444/0.7733, allocations: 80.08 kB / 474.3 MB, free: 20.23 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02606/0.7994, allocations: 4.673 MB / 479 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-05/0.7995, allocations: 11.95 kB / 479 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.7995, allocations: 0 / 479 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.493e-05/0.7996, allocations: 3.984 kB / 479 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002105/0.8017, allocations: 1.058 MB / 480.1 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.257e-06/0.8017, allocations: 0 / 480.1 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/0.8028, allocations: 78.39 kB / 480.1 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0116/0.8144, allocations: 2.02 MB / 482.2 MB, free: 12.34 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000324/0.8148, allocations: 21.31 kB / 482.2 MB, free: 12.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03424/0.849, allocations: 8.177 MB / 490.4 MB, free: 4.008 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.8491, allocations: 4 kB / 490.4 MB, free: 4.004 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02947/0.8786, allocations: 5.545 MB / 495.9 MB, free: 14.44 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004744/0.8791, allocations: 176 kB / 496.1 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004236/0.8796, allocations: 16 kB / 496.1 MB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002225/0.8818, allocations: 118.8 kB / 496.2 MB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00106/0.8829, allocations: 188.7 kB / 496.4 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001322/0.8831, allocations: 20 kB / 496.4 MB, free: 13.91 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001092/0.8842, allocations: 438.8 kB / 496.8 MB, free: 13.49 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.51e-07/0.8842, allocations: 0 / 496.8 MB, free: 13.49 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002288/0.8865, allocations: 343.5 kB / 497.2 MB, free: 13.15 MB / 346.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.03375/0.9203, allocations: 6.111 MB / 0.4915 GB, free: 7.004 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01305/0.9334, allocations: 2.372 MB / 0.4938 GB, free: 4.625 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.9335, allocations: 0 / 0.4938 GB, free: 4.625 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009781/0.9433, allocations: 1.655 MB / 0.4954 GB, free: 2.965 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/0.9445, allocations: 68.78 kB / 0.4955 GB, free: 2.902 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0435/0.9881, allocations: 9.157 MB / 0.5044 GB, free: 9.672 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008468/0.989, allocations: 0.9856 MB / 0.5054 GB, free: 8.656 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006237/0.9896, allocations: 60.92 kB / 0.5055 GB, free: 8.598 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007719/0.9904, allocations: 283.3 kB / 0.5057 GB, free: 8.32 MB / 362.7 MB Notification: Performance of SimCode: time 1.593e-06/0.9904, allocations: 0 / 0.5057 GB, free: 8.32 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08802/1.078, allocations: 24.88 MB / 0.53 GB, free: 15.57 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004225/1.079, allocations: 200.8 kB / 0.5302 GB, free: 15.32 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.762/4.841, allocations: 0 / 0.5302 GB, free: 15.32 MB / 394.7 MB