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 ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package iPSL with version 1.1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/iPSL 1.1.0/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 loadModel(iPSL): time 1.926/1.926, allocations: 221.9 MB / 234.5 MB, free: 11.23 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.115e-05/3.131e-05, allocations: 4 kB / 292.3 MB, free: 1.883 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1026, allocations: 50.5 MB / 342.8 MB, free: 15.28 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3923/0.495, allocations: 75.41 MB / 418.2 MB, free: 1.074 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002251/0.4953, allocations: 63.97 kB / 418.3 MB, free: 1.012 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06562/0.5609, allocations: 14.63 MB / 432.9 MB, free: 2.316 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.561, allocations: 4 kB / 432.9 MB, free: 2.312 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.409e-05/0.5611, allocations: 12.66 kB / 432.9 MB, free: 2.301 MB / 346.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.006377/0.5674, allocations: 1.383 MB / 434.3 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.616e-05/0.5675, allocations: 8.031 kB / 434.3 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003398/0.5679, allocations: 118.5 kB / 434.4 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004374/0.5723, allocations: 466.4 kB / 434.9 MB, free: 288 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001448/0.5737, allocations: 0.5572 MB / 435.5 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003362/0.5741, allocations: 222.5 kB / 435.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002272/0.5743, allocations: 64 kB / 435.7 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002417/0.5768, allocations: 0.7961 MB / 436.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.961e-05/0.5768, allocations: 0 / 436.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001481/0.577, allocations: 36 kB / 436.6 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.471e-05/0.577, allocations: 16 kB / 436.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002351/0.5794, allocations: 0.7733 MB / 437.4 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009374/0.5888, allocations: 3.201 MB / 440.6 MB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002157/0.591, allocations: 0.6619 MB / 441.2 MB, free: 9.707 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001392/0.5924, allocations: 0.5347 MB / 441.7 MB, free: 9.168 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002065/0.5926, allocations: 8.781 kB / 441.8 MB, free: 9.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.5927, allocations: 35.34 kB / 441.8 MB, free: 9.117 MB / 362.7 MB Notification: Performance of pre-optimization done (n=78): time 3.396e-06/0.5927, allocations: 4 kB / 441.8 MB, free: 9.113 MB / 362.7 MB Notification: Performance of matching and sorting (n=78): time 0.02252/0.6152, allocations: 3.945 MB / 445.7 MB, free: 5.152 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.768e-05/0.6153, allocations: 60.19 kB / 445.8 MB, free: 5.082 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.6165, allocations: 0.4971 MB / 446.3 MB, free: 4.582 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002761/0.6168, allocations: 41.7 kB / 446.3 MB, free: 4.535 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003461/0.6171, allocations: 348.3 kB / 446.7 MB, free: 4.188 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004444/0.6176, allocations: 279.9 kB / 447 MB, free: 3.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.6177, allocations: 20 kB / 447 MB, free: 3.891 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001971/0.6179, allocations: 386.8 kB / 447.3 MB, free: 3.504 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001304/0.6193, allocations: 405.6 kB / 447.7 MB, free: 3.109 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001568/0.6209, allocations: 0.4886 MB / 448.2 MB, free: 2.594 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001563/0.6225, allocations: 456.3 kB / 448.7 MB, free: 2.148 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.008e-05/0.6226, allocations: 0 / 448.7 MB, free: 2.148 MB / 362.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.02367/0.6462, allocations: 4.035 MB / 452.7 MB, free: 14.1 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.263e-05/0.6463, allocations: 7.938 kB / 452.7 MB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/0.6464, allocations: 4 kB / 452.7 MB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0107/0.6571, allocations: 1.737 MB / 454.5 MB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009973/0.6581, allocations: 91.91 kB / 454.6 MB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02692/0.6851, allocations: 7.229 MB / 461.8 MB, free: 4.883 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001944/0.687, allocations: 155.2 kB / 461.9 MB, free: 4.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001381/0.6872, allocations: 31.94 kB / 462 MB, free: 4.699 MB / 378.7 MB Warning: Assuming fixed start value for the following 3 variables: order5Type1_Inputs_Outputs.e2d:VARIABLE(start = order5Type1_Inputs_Outputs.e2d0 ) "d-axis sub-transient voltage" type: Real order5Type1_Inputs_Outputs.e1d:VARIABLE(start = order5Type1_Inputs_Outputs.e1d0 ) "d-axis transient voltage" type: Real order5Type1_Inputs_Outputs.e1q:VARIABLE(start = order5Type1_Inputs_Outputs.e1q0 ) "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 () * 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.000364/0.6876, allocations: 144.7 kB / 462.1 MB, free: 4.555 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002537/0.6878, allocations: 75.11 kB / 462.2 MB, free: 4.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02252/0.7104, allocations: 4.071 MB / 466.2 MB, free: 400 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.095e-05/0.7104, allocations: 11.94 kB / 466.3 MB, free: 388 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.7105, allocations: 0 / 466.3 MB, free: 388 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.641e-05/0.7105, allocations: 3.984 kB / 466.3 MB, free: 384 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002216/0.7127, allocations: 1.037 MB / 467.3 MB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/0.7128, allocations: 0 / 467.3 MB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009281/0.7137, allocations: 83.89 kB / 467.4 MB, free: 15.21 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009593/0.7233, allocations: 1.652 MB / 469 MB, free: 13.55 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002318/0.7236, allocations: 16 kB / 469.1 MB, free: 13.54 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0232/0.7468, allocations: 6.301 MB / 475.4 MB, free: 7.09 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.7469, allocations: 4 kB / 475.4 MB, free: 7.086 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02434/0.7712, allocations: 4.733 MB / 480.1 MB, free: 2.328 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003411/0.7716, allocations: 172 kB / 480.3 MB, free: 2.141 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001994/0.7718, allocations: 16 kB / 480.3 MB, free: 2.125 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001733/0.7736, allocations: 107.9 kB / 480.4 MB, free: 2.02 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009129/0.7745, allocations: 184.4 kB / 480.6 MB, free: 1.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001149/0.7746, allocations: 23.95 kB / 480.6 MB, free: 1.816 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008089/0.7755, allocations: 413.6 kB / 481 MB, free: 1.414 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.7755, allocations: 0 / 481 MB, free: 1.414 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001566/0.777, allocations: 347.5 kB / 481.3 MB, free: 1.074 MB / 394.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 () * 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.02482/0.8019, allocations: 5.319 MB / 486.6 MB, free: 11.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009266/0.8112, allocations: 1.956 MB / 488.6 MB, free: 9.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.8113, allocations: 0 / 488.6 MB, free: 9.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007518/0.8188, allocations: 1.442 MB / 490 MB, free: 8.297 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006215/0.8195, allocations: 54.08 kB / 490.1 MB, free: 8.242 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004113/0.8236, allocations: 1.281 MB / 491.4 MB, free: 6.926 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006662/0.8243, allocations: 0.9856 MB / 492.4 MB, free: 5.91 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004931/0.8248, allocations: 60.88 kB / 492.4 MB, free: 5.848 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006268/0.8254, allocations: 283.3 kB / 492.7 MB, free: 5.57 MB / 410.7 MB Notification: Performance of SimCode: time 1.172e-06/0.8254, allocations: 0 / 492.7 MB, free: 5.57 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09341/0.9189, allocations: 24.57 MB / 0.5051 GB, free: 13.05 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002621/0.9192, allocations: 169.6 kB / 0.5053 GB, free: 12.82 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.349/4.269, allocations: 4 kB / 0.5053 GB, free: 12.82 MB / 442.7 MB