Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2.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_1test2,fileNamePrefix="iPSL_iPSL_Examples_Machines_PSAT_Order5_1test2",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.0155/0.0155, allocations: 162 kB / 15.12 MB, free: 6.027 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.843/1.843, allocations: 170.8 MB / 186.6 MB, free: 1.121 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.001765/0.001764, allocations: 114.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.5235/0.5235, allocations: 50.22 MB / 315.9 MB, free: 34.34 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005165/0.0005167, allocations: 16 kB / 377 MB, free: 7.145 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1017, allocations: 50.51 MB / 427.5 MB, free: 4.57 MB / 330.7 MB Notification: Performance of NFInst.instantiate(iPSL.Examples.Machines.PSAT.Order5_1test2): time 0.003241/0.1049, allocations: 1.913 MB / 429.4 MB, free: 2.648 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003885/0.1089, allocations: 1.986 MB / 431.4 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002988/0.1092, allocations: 8 kB / 431.4 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000249/0.1094, allocations: 67.36 kB / 431.4 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005894/0.11, allocations: 155.1 kB / 431.6 MB, free: 432 kB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.2893/0.3994, allocations: 0.6234 MB / 432.2 MB, free: 34.22 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001817/0.4013, allocations: 0.7467 MB / 433 MB, free: 34.22 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000695/0.402, allocations: 199.2 kB / 433.1 MB, free: 34.19 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007705/0.4028, allocations: 352.4 kB / 433.5 MB, free: 34.19 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001197/0.404, allocations: 499.2 kB / 434 MB, free: 34.17 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001981/0.4042, allocations: 45.66 kB / 434 MB, free: 34.17 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005845/0.4048, allocations: 130.5 kB / 434.1 MB, free: 34.17 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002891/0.4051, allocations: 177 kB / 434.3 MB, free: 34.13 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002271/0.4054, allocations: 142.6 kB / 434.5 MB, free: 34.07 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001721/0.4071, allocations: 0.7585 MB / 435.2 MB, free: 34.03 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.4071, allocations: 0 / 435.2 MB, free: 34.03 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.476e-06/0.4072, allocations: 2.25 kB / 435.2 MB, free: 34.03 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.011e-05/0.4072, allocations: 0 / 435.2 MB, free: 34.03 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.01488/0.4221, allocations: 1.896 MB / 437.1 MB, free: 33.4 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/0.4222, allocations: 8.906 kB / 437.1 MB, free: 33.4 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004171/0.4226, allocations: 114.8 kB / 437.2 MB, free: 33.36 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01021/0.4328, allocations: 0.6654 MB / 437.9 MB, free: 33.3 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001754/0.4346, allocations: 0.565 MB / 438.5 MB, free: 33.02 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004066/0.4351, allocations: 219.1 kB / 438.7 MB, free: 32.86 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003128/0.4354, allocations: 67.56 kB / 438.7 MB, free: 32.86 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004628/0.44, allocations: 0.9937 MB / 439.7 MB, free: 32.79 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.962e-05/0.4401, allocations: 0 / 439.7 MB, free: 32.79 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001983/0.4403, allocations: 27.22 kB / 439.8 MB, free: 32.79 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.605e-05/0.4403, allocations: 22.52 kB / 439.8 MB, free: 32.79 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0048/0.4452, allocations: 0.9698 MB / 440.8 MB, free: 32.77 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009066/0.4543, allocations: 3.176 MB / 443.9 MB, free: 31.79 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003087/0.4574, allocations: 0.869 MB / 444.8 MB, free: 31.74 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002543/0.46, allocations: 0.7188 MB / 445.5 MB, free: 31.61 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002019/0.4602, allocations: 13.34 kB / 445.5 MB, free: 31.6 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.4603, allocations: 38.47 kB / 445.6 MB, free: 31.56 MB / 330.7 MB Notification: Performance of pre-optimization done (n=78): time 3.617e-06/0.4603, allocations: 3.938 kB / 445.6 MB, free: 31.55 MB / 330.7 MB Notification: Performance of matching and sorting (n=78): time 0.04848/0.5088, allocations: 7.77 MB / 453.3 MB, free: 30.22 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.5089, allocations: 59.94 kB / 453.4 MB, free: 30.16 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001122/0.51, allocations: 0.5745 MB / 454 MB, free: 29.89 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002616/0.5103, allocations: 37.7 kB / 454 MB, free: 29.85 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002544/0.5106, allocations: 348.4 kB / 454.4 MB, free: 29.57 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004436/0.511, allocations: 273.5 kB / 454.6 MB, free: 29.36 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/0.5112, allocations: 18.78 kB / 454.6 MB, free: 29.35 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.5113, allocations: 381.1 kB / 455 MB, free: 29 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002382/0.5137, allocations: 0.5952 MB / 455.6 MB, free: 28.8 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002341/0.5161, allocations: 0.6957 MB / 456.3 MB, free: 28.51 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002497/0.5186, allocations: 0.6399 MB / 456.9 MB, free: 28.25 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.235e-06/0.5187, allocations: 4 kB / 457 MB, free: 28.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.02669/0.5454, allocations: 4.615 MB / 461.6 MB, free: 27.31 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.061e-05/0.5454, allocations: 6.188 kB / 461.6 MB, free: 27.31 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/0.5455, allocations: 2.938 kB / 461.6 MB, free: 27.31 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01471/0.5602, allocations: 2.1 MB / 463.7 MB, free: 26.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/0.5615, allocations: 95.88 kB / 463.8 MB, free: 26.95 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08288/0.6445, allocations: 9.492 MB / 473.3 MB, free: 21.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002665/0.6472, allocations: 159.2 kB / 473.4 MB, free: 21.14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002032/0.6474, allocations: 24.75 kB / 473.4 MB, free: 21.11 MB / 330.7 MB Warning: Assuming fixed start value for the following 3 variables: order5Type1_Inputs_Outputs.e2d:VARIABLE(start = order5Type1_Inputs_Outputs.e2d0 fixed = true ) "d-axis sub-transient voltage" type: Real order5Type1_Inputs_Outputs.e1d:VARIABLE(start = order5Type1_Inputs_Outputs.e1d0 fixed = true ) "d-axis transient voltage" type: Real order5Type1_Inputs_Outputs.e1q:VARIABLE(start = order5Type1_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.0007792/0.6482, allocations: 217.6 kB / 473.7 MB, free: 20.9 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003181/0.6485, allocations: 75.95 kB / 473.7 MB, free: 20.82 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02429/0.6728, allocations: 4.633 MB / 478.4 MB, free: 16.18 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.737e-05/0.6729, allocations: 11.95 kB / 478.4 MB, free: 16.17 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.6729, allocations: 0 / 478.4 MB, free: 16.17 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.879e-05/0.673, allocations: 13.91 kB / 478.4 MB, free: 16.16 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001787/0.6748, allocations: 1.032 MB / 479.4 MB, free: 15.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.6748, allocations: 0 / 479.4 MB, free: 15.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008967/0.6757, allocations: 81.66 kB / 479.5 MB, free: 15.01 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01089/0.6866, allocations: 2.023 MB / 481.5 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002303/0.6869, allocations: 16.66 kB / 481.5 MB, free: 12.97 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03142/0.7183, allocations: 8.187 MB / 489.7 MB, free: 4.648 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.7184, allocations: 0 / 489.7 MB, free: 4.648 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02727/0.7456, allocations: 5.511 MB / 495.2 MB, free: 15.12 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003859/0.7461, allocations: 173.4 kB / 495.4 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002456/0.7463, allocations: 8 kB / 495.4 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001852/0.7482, allocations: 119.9 kB / 495.5 MB, free: 14.81 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009034/0.7491, allocations: 187.9 kB / 495.7 MB, free: 14.63 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001583/0.7493, allocations: 20 kB / 495.7 MB, free: 14.61 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008714/0.7502, allocations: 414.8 kB / 496.1 MB, free: 14.21 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.7502, allocations: 0 / 496.1 MB, free: 14.21 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001746/0.752, allocations: 343.5 kB / 496.5 MB, free: 13.87 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (order5Type1_Inputs_Outputs.delta,order5Type1_Inputs_Outputs.w,order5Type1_Inputs_Outputs.e1q,order5Type1_Inputs_Outputs.e1d,order5Type1_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.02999/0.782, allocations: 6.072 MB / 0.4908 GB, free: 7.758 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01196/0.794, allocations: 2.362 MB / 0.4931 GB, free: 5.387 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.7941, allocations: 0 / 0.4931 GB, free: 5.387 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008835/0.8029, allocations: 1.657 MB / 0.4947 GB, free: 3.727 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008859/0.8038, allocations: 73.27 kB / 0.4948 GB, free: 3.66 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03834/0.8422, allocations: 9.031 MB / 0.5036 GB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007324/0.843, allocations: 0.9856 MB / 0.5045 GB, free: 9.539 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004882/0.8435, allocations: 55.27 kB / 0.5046 GB, free: 9.484 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006387/0.8441, allocations: 283.3 kB / 0.5049 GB, free: 9.207 MB / 362.7 MB Notification: Performance of SimCode: time 1.182e-06/0.8441, allocations: 8 kB / 0.5049 GB, free: 9.199 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09214/0.9363, allocations: 24.57 MB / 0.5289 GB, free: 0.7617 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002681/0.9366, allocations: 197.1 kB / 0.5291 GB, free: 0.5195 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.703/4.64, allocations: 0 / 0.5291 GB, free: 0.5195 MB / 378.7 MB