Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr iPSL_iPSL.Examples.Machines.PSAT.Order5_2test2.conf.json Using package iPSL with version 1.1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/iPSL 1.1.0/package.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01108/0.01108, allocations: 102.6 kB / 15.05 MB, free: 6.023 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.001207/0.001207, allocations: 171.2 kB / 15.93 MB, free: 5.965 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.801/1.801, allocations: 170.9 MB / 187.6 MB, free: 1.004 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/iPSL 1.1.0/package.mo): time 0.3544/0.3544, allocations: 50.5 MB / 277.5 MB, free: 7.43 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000971/0.0009711, allocations: 16 kB / 337.8 MB, free: 16.08 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1127, allocations: 50.49 MB / 388.3 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFInst.instantiate(iPSL.Examples.Machines.PSAT.Order5_2test2): time 0.004364/0.1172, allocations: 1.948 MB / 390.2 MB, free: 11.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005774/0.123, allocations: 1.998 MB / 392.2 MB, free: 9.559 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005496/0.1236, allocations: 8 kB / 392.2 MB, free: 9.551 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003883/0.124, allocations: 71.28 kB / 392.3 MB, free: 9.48 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009986/0.125, allocations: 179.4 kB / 392.5 MB, free: 9.305 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003332/0.1284, allocations: 0.6236 MB / 393.1 MB, free: 8.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001598/0.13, allocations: 0.4993 MB / 393.6 MB, free: 8.18 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006181/0.1307, allocations: 202.9 kB / 393.8 MB, free: 7.973 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007429/0.1314, allocations: 358.5 kB / 394.1 MB, free: 7.621 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001262/0.1327, allocations: 0.4979 MB / 394.6 MB, free: 7.121 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002113/0.133, allocations: 44 kB / 394.7 MB, free: 7.078 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005658/0.1335, allocations: 119.9 kB / 394.8 MB, free: 6.961 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003192/0.1339, allocations: 187.2 kB / 395 MB, free: 6.777 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002378/0.1341, allocations: 137.3 kB / 395.1 MB, free: 6.637 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001798/0.1359, allocations: 0.8028 MB / 395.9 MB, free: 5.832 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.136, allocations: 0 / 395.9 MB, free: 5.832 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.136, allocations: 0 / 395.9 MB, free: 5.832 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.247e-05/0.136, allocations: 0 / 395.9 MB, free: 5.832 MB / 298.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.01582/0.1518, allocations: 1.93 MB / 397.9 MB, free: 3.852 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.941e-05/0.1519, allocations: 8.031 kB / 397.9 MB, free: 3.844 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004399/0.1524, allocations: 122.4 kB / 398 MB, free: 3.715 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01059/0.163, allocations: 0.6661 MB / 398.6 MB, free: 3.047 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002027/0.1651, allocations: 0.5805 MB / 399.2 MB, free: 2.426 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004789/0.1656, allocations: 218.5 kB / 399.4 MB, free: 2.184 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003156/0.1659, allocations: 64 kB / 399.5 MB, free: 2.121 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003865/0.1698, allocations: 0.995 MB / 400.5 MB, free: 1.117 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.108e-05/0.1699, allocations: 0 / 400.5 MB, free: 1.117 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001528/0.17, allocations: 28 kB / 400.5 MB, free: 1.09 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.858e-05/0.1701, allocations: 23.98 kB / 400.5 MB, free: 1.066 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00366/0.1738, allocations: 0.98 MB / 401.5 MB, free: 88 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009427/0.1832, allocations: 3.217 MB / 404.7 MB, free: 12.7 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003541/0.1868, allocations: 0.8795 MB / 405.6 MB, free: 11.81 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002054/0.1871, allocations: 12.64 kB / 405.6 MB, free: 11.8 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.397e-05/0.1871, allocations: 47.22 kB / 405.7 MB, free: 11.75 MB / 314.7 MB Notification: Performance of pre-optimization done (n=78): time 3.366e-06/0.1871, allocations: 0 / 405.7 MB, free: 11.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=78): time 0.05418/0.2413, allocations: 8.092 MB / 413.8 MB, free: 3.621 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.429e-05/0.2415, allocations: 60.06 kB / 413.8 MB, free: 3.547 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001342/0.2428, allocations: 0.6008 MB / 414.4 MB, free: 2.938 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000254/0.2431, allocations: 45.7 kB / 414.5 MB, free: 2.887 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003592/0.2435, allocations: 352.2 kB / 414.8 MB, free: 2.535 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004889/0.244, allocations: 276 kB / 415.1 MB, free: 2.262 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.2441, allocations: 12 kB / 415.1 MB, free: 2.25 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002053/0.2443, allocations: 382.8 kB / 415.5 MB, free: 1.867 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002451/0.2468, allocations: 0.6032 MB / 416.1 MB, free: 1.266 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002571/0.2494, allocations: 0.6976 MB / 416.8 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2706/0.52, allocations: 0.6323 MB / 417.4 MB, free: 32.36 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.064e-05/0.5201, allocations: 1.859 kB / 417.4 MB, free: 32.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.02762/0.5477, allocations: 4.614 MB / 422 MB, free: 32.25 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.398e-05/0.5478, allocations: 5.906 kB / 422 MB, free: 32.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/0.5478, allocations: 6.031 kB / 422 MB, free: 32.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01349/0.5613, allocations: 2.1 MB / 424.1 MB, free: 31.99 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/0.5625, allocations: 97 kB / 424.2 MB, free: 31.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0449/0.6074, allocations: 9.954 MB / 434.2 MB, free: 27.76 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002053/0.6095, allocations: 160.1 kB / 434.3 MB, free: 27.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001565/0.6097, allocations: 28.86 kB / 434.4 MB, free: 27.71 MB / 314.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.0005872/0.6103, allocations: 209.1 kB / 434.6 MB, free: 27.55 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002551/0.6105, allocations: 73.75 kB / 434.6 MB, free: 27.51 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0244/0.6349, allocations: 4.673 MB / 439.3 MB, free: 24.25 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.765e-05/0.635, allocations: 8 kB / 439.3 MB, free: 24.25 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.635, allocations: 0 / 439.3 MB, free: 24.25 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.573e-05/0.6351, allocations: 3.984 kB / 439.3 MB, free: 24.24 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001731/0.6368, allocations: 1.061 MB / 440.4 MB, free: 23.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.543e-06/0.6369, allocations: 1.078 kB / 440.4 MB, free: 23.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009069/0.6378, allocations: 75.84 kB / 440.5 MB, free: 23.08 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.011/0.6488, allocations: 2.021 MB / 442.5 MB, free: 21.06 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002512/0.6491, allocations: 16 kB / 442.5 MB, free: 21.05 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03349/0.6826, allocations: 8.633 MB / 451.1 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.6827, allocations: 0 / 451.1 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02711/0.7098, allocations: 5.537 MB / 456.7 MB, free: 6.73 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002919/0.7101, allocations: 179.9 kB / 456.9 MB, free: 6.535 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000243/0.7104, allocations: 21.27 kB / 456.9 MB, free: 6.516 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001807/0.7122, allocations: 115.9 kB / 457 MB, free: 6.402 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009292/0.7132, allocations: 184.7 kB / 457.2 MB, free: 6.219 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001109/0.7133, allocations: 20 kB / 457.2 MB, free: 6.199 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007581/0.714, allocations: 434.8 kB / 457.6 MB, free: 5.773 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.7141, allocations: 0 / 457.6 MB, free: 5.773 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001569/0.7156, allocations: 335.5 kB / 457.9 MB, free: 5.445 MB / 314.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.02789/0.7436, allocations: 6.122 MB / 464.1 MB, free: 15.3 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.01208/0.7557, allocations: 2.374 MB / 466.4 MB, free: 12.92 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.7558, allocations: 0 / 466.4 MB, free: 12.92 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00905/0.7649, allocations: 1.666 MB / 468.1 MB, free: 11.25 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006807/0.7656, allocations: 58.27 kB / 468.2 MB, free: 11.2 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04053/0.8061, allocations: 10.37 MB / 478.5 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007853/0.807, allocations: 0.9818 MB / 479.5 MB, free: 15.71 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005414/0.8075, allocations: 64.91 kB / 479.6 MB, free: 15.64 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007012/0.8083, allocations: 283.3 kB / 479.9 MB, free: 15.36 MB / 346.7 MB Notification: Performance of SimCode: time 1.453e-06/0.8083, allocations: 3.062 kB / 479.9 MB, free: 15.36 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1046/0.9128, allocations: 24.86 MB / 0.4929 GB, free: 6.633 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003367/0.9132, allocations: 186.2 kB / 0.4931 GB, free: 6.395 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.452/4.366, allocations: 0 / 0.4931 GB, free: 6.395 MB / 362.7 MB