Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2.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_1test2,fileNamePrefix="iPSL_iPSL_Examples_Machines_PSAT_Order5_1test2",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.01237/0.01237, allocations: 105 kB / 15.06 MB, free: 5.949 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.002113/0.002113, allocations: 174 kB / 15.93 MB, free: 5.91 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.827/1.827, allocations: 170.9 MB / 187.5 MB, free: 0.8516 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.3528/0.3528, allocations: 50.51 MB / 277.5 MB, free: 7.406 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007609/0.0007613, allocations: 12 kB / 337.8 MB, free: 16.05 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1162, allocations: 50.51 MB / 388.3 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFInst.instantiate(iPSL.Examples.Machines.PSAT.Order5_1test2): time 0.004481/0.1208, allocations: 1.936 MB / 390.2 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005457/0.1263, allocations: 1.974 MB / 392.2 MB, free: 9.562 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003935/0.1267, allocations: 8 kB / 392.2 MB, free: 9.555 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003292/0.127, allocations: 79.28 kB / 392.3 MB, free: 9.477 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008636/0.1279, allocations: 171.4 kB / 392.5 MB, free: 9.309 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003048/0.131, allocations: 0.6196 MB / 393.1 MB, free: 8.688 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001426/0.1324, allocations: 491.4 kB / 393.5 MB, free: 8.207 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006281/0.1331, allocations: 202.8 kB / 393.7 MB, free: 8 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006983/0.1338, allocations: 354.5 kB / 394.1 MB, free: 7.652 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001156/0.135, allocations: 482 kB / 394.6 MB, free: 7.18 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001692/0.1352, allocations: 48 kB / 394.6 MB, free: 7.133 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004077/0.1356, allocations: 123.9 kB / 394.7 MB, free: 7.012 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002217/0.1358, allocations: 171.3 kB / 394.9 MB, free: 6.844 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000153/0.136, allocations: 137.3 kB / 395 MB, free: 6.703 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001235/0.1372, allocations: 0.7871 MB / 395.8 MB, free: 5.914 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.1373, allocations: 0 / 395.8 MB, free: 5.914 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.118e-06/0.1373, allocations: 0 / 395.8 MB, free: 5.914 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.1373, allocations: 3.938 kB / 395.8 MB, free: 5.91 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.01059/0.1479, allocations: 1.898 MB / 397.7 MB, free: 3.961 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.148, allocations: 8.031 kB / 397.7 MB, free: 3.953 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002878/0.1483, allocations: 118.5 kB / 397.8 MB, free: 3.828 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006544/0.1548, allocations: 0.6584 MB / 398.5 MB, free: 3.168 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00124/0.1561, allocations: 0.5648 MB / 399.1 MB, free: 2.562 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003426/0.1564, allocations: 222.5 kB / 399.3 MB, free: 2.316 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002135/0.1567, allocations: 64 kB / 399.4 MB, free: 2.254 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003468/0.1601, allocations: 0.995 MB / 400.3 MB, free: 1.25 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.504e-05/0.1602, allocations: 0 / 400.3 MB, free: 1.25 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001476/0.1603, allocations: 28 kB / 400.4 MB, free: 1.223 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.541e-05/0.1604, allocations: 16 kB / 400.4 MB, free: 1.207 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003525/0.1639, allocations: 0.976 MB / 401.4 MB, free: 236 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008448/0.1724, allocations: 3.166 MB / 404.5 MB, free: 12.9 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003436/0.1759, allocations: 0.8756 MB / 405.4 MB, free: 12.01 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001704/0.1761, allocations: 12.64 kB / 405.4 MB, free: 12 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.1761, allocations: 47.22 kB / 405.5 MB, free: 11.95 MB / 314.7 MB Notification: Performance of pre-optimization done (n=78): time 3.958e-06/0.1761, allocations: 0 / 405.5 MB, free: 11.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=78): time 0.05121/0.2274, allocations: 7.757 MB / 413.2 MB, free: 4.156 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.677e-05/0.2275, allocations: 64.06 kB / 413.3 MB, free: 4.078 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001246/0.2288, allocations: 0.5772 MB / 413.9 MB, free: 3.492 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002354/0.229, allocations: 41.7 kB / 413.9 MB, free: 3.445 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003755/0.2294, allocations: 348.3 kB / 414.2 MB, free: 3.098 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004345/0.2298, allocations: 272 kB / 414.5 MB, free: 2.828 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.23, allocations: 16 kB / 414.5 MB, free: 2.812 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002025/0.2302, allocations: 382.8 kB / 414.9 MB, free: 2.43 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002462/0.2326, allocations: 0.5954 MB / 415.5 MB, free: 1.836 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002579/0.2352, allocations: 0.6937 MB / 416.2 MB, free: 1.113 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002607/0.2379, allocations: 0.6385 MB / 416.8 MB, free: 488 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.2379, allocations: 0 / 416.8 MB, free: 488 kB / 314.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.3024/0.5403, allocations: 4.615 MB / 421.4 MB, free: 32.33 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.744e-05/0.5404, allocations: 5.562 kB / 421.4 MB, free: 32.33 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.107e-05/0.5404, allocations: 4.203 kB / 421.4 MB, free: 32.33 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01329/0.5537, allocations: 2.097 MB / 423.5 MB, free: 32.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009667/0.5547, allocations: 100.5 kB / 423.6 MB, free: 32.22 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04141/0.5962, allocations: 9.947 MB / 433.6 MB, free: 28.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001844/0.598, allocations: 157.9 kB / 433.7 MB, free: 28.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001268/0.5982, allocations: 33.77 kB / 433.8 MB, free: 28.02 MB / 314.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.0005154/0.5987, allocations: 212.2 kB / 434 MB, free: 27.85 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002062/0.5989, allocations: 69.12 kB / 434.1 MB, free: 27.81 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02381/0.6228, allocations: 4.639 MB / 438.7 MB, free: 24.86 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.61e-05/0.6228, allocations: 8 kB / 438.7 MB, free: 24.85 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.6228, allocations: 2.25 kB / 438.7 MB, free: 24.85 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.082e-05/0.6229, allocations: 7.984 kB / 438.7 MB, free: 24.84 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001677/0.6245, allocations: 1.043 MB / 439.8 MB, free: 23.78 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.6246, allocations: 0 / 439.8 MB, free: 23.78 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008721/0.6254, allocations: 75.91 kB / 439.8 MB, free: 23.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01075/0.6362, allocations: 2.022 MB / 441.8 MB, free: 21.68 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001652/0.6364, allocations: 19.98 kB / 441.9 MB, free: 21.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0326/0.669, allocations: 8.616 MB / 450.5 MB, free: 12.92 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.6691, allocations: 3.984 kB / 450.5 MB, free: 12.91 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02655/0.6956, allocations: 5.511 MB / 456 MB, free: 7.391 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002797/0.696, allocations: 176 kB / 456.2 MB, free: 7.199 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001851/0.6962, allocations: 19.95 kB / 456.2 MB, free: 7.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001676/0.6978, allocations: 115.8 kB / 456.3 MB, free: 7.066 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009162/0.6988, allocations: 184.7 kB / 456.5 MB, free: 6.883 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/0.6989, allocations: 20 kB / 456.5 MB, free: 6.863 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006602/0.6996, allocations: 418.8 kB / 456.9 MB, free: 6.453 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.6996, allocations: 0 / 456.9 MB, free: 6.453 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001369/0.701, allocations: 330.8 kB / 457.2 MB, free: 6.133 MB / 314.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.02685/0.7278, allocations: 6.075 MB / 463.3 MB, free: 32 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.01189/0.7397, allocations: 2.371 MB / 465.7 MB, free: 13.64 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.7398, allocations: 0 / 465.7 MB, free: 13.64 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009049/0.7489, allocations: 1.673 MB / 467.4 MB, free: 11.97 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006406/0.7496, allocations: 61.94 kB / 467.4 MB, free: 11.91 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0393/0.7889, allocations: 10.26 MB / 477.7 MB, free: 1.555 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000741/0.7897, allocations: 0.9817 MB / 478.7 MB, free: 0.543 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005213/0.7902, allocations: 60.86 kB / 478.7 MB, free: 496 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006407/0.7909, allocations: 279.3 kB / 479 MB, free: 216 kB / 330.7 MB Notification: Performance of SimCode: time 1.413e-06/0.7909, allocations: 4 kB / 479 MB, free: 212 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0747/0.8656, allocations: 24.55 MB / 0.4917 GB, free: 7.781 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002928/0.866, allocations: 182.2 kB / 0.4919 GB, free: 7.547 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.385/4.251, allocations: 7 kB / 0.4919 GB, free: 7.543 MB / 362.7 MB