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 ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package iPSL with version 1.1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/iPSL 1.1.0/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 loadModel(iPSL): time 2.297/2.297, allocations: 222.2 MB / 229.7 MB, free: 3.75 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.854e-05/2.866e-05, allocations: 2.688 kB / 286 MB, free: 7.254 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1235, allocations: 50.5 MB / 336.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4323/0.5559, allocations: 74.81 MB / 411.3 MB, free: 22.58 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/0.5563, allocations: 64.12 kB / 411.4 MB, free: 22.58 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06614/0.6224, allocations: 14.72 MB / 426.1 MB, free: 21.27 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.6225, allocations: 0 / 426.1 MB, free: 21.27 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.873e-05/0.6225, allocations: 18.28 kB / 426.1 MB, free: 21.27 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.006399/0.629, allocations: 1.383 MB / 427.5 MB, free: 20.65 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/0.629, allocations: 10.25 kB / 427.5 MB, free: 20.65 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004474/0.6335, allocations: 467.7 kB / 428 MB, free: 20.59 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001574/0.6351, allocations: 0.5842 MB / 428.5 MB, free: 20.3 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002965/0.6355, allocations: 202.3 kB / 428.7 MB, free: 20.14 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002019/0.6357, allocations: 42.19 kB / 428.8 MB, free: 20.14 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002099/0.6378, allocations: 0.7351 MB / 429.5 MB, free: 20.13 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001902/0.6397, allocations: 0.7051 MB / 430.2 MB, free: 20.08 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.764e-05/0.6398, allocations: 7.891 kB / 430.2 MB, free: 20.07 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001276/0.6399, allocations: 0 / 430.2 MB, free: 20.07 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.736e-05/0.6399, allocations: 15.53 kB / 430.2 MB, free: 20.07 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008785/0.6487, allocations: 3.125 MB / 433.4 MB, free: 19.11 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001791/0.6506, allocations: 0.6413 MB / 434 MB, free: 19.07 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001119/0.6517, allocations: 0.509 MB / 434.5 MB, free: 19.07 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001953/0.6519, allocations: 16.53 kB / 434.5 MB, free: 19.06 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.652, allocations: 50.33 kB / 434.6 MB, free: 19.01 MB / 346.7 MB Notification: Performance of pre-optimization done (n=78): time 4.579e-06/0.652, allocations: 0 / 434.6 MB, free: 19.01 MB / 346.7 MB Notification: Performance of matching and sorting (n=78): time 0.02209/0.6741, allocations: 3.901 MB / 438.5 MB, free: 18.73 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.6742, allocations: 67.14 kB / 438.6 MB, free: 18.66 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001084/0.6753, allocations: 0.4901 MB / 439 MB, free: 18.55 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002666/0.6756, allocations: 29.2 kB / 439.1 MB, free: 18.52 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002427/0.6758, allocations: 355.7 kB / 439.4 MB, free: 18.35 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003544/0.6762, allocations: 263.6 kB / 439.7 MB, free: 18.17 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.6763, allocations: 0 / 439.7 MB, free: 18.17 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.6764, allocations: 379.9 kB / 440 MB, free: 17.86 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009919/0.6775, allocations: 399.6 kB / 440.4 MB, free: 17.86 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001016/0.6785, allocations: 489.6 kB / 440.9 MB, free: 17.77 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001408/0.6799, allocations: 467.9 kB / 441.4 MB, free: 17.76 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.313e-06/0.6799, allocations: 0 / 441.4 MB, free: 17.76 MB / 346.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.02734/0.7073, allocations: 4.003 MB / 445.4 MB, free: 17.45 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.393e-05/0.7074, allocations: 3.906 kB / 445.4 MB, free: 17.45 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.254e-05/0.7074, allocations: 7.906 kB / 445.4 MB, free: 17.45 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01508/0.7225, allocations: 1.704 MB / 447.1 MB, free: 17.35 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001466/0.7241, allocations: 97.52 kB / 447.2 MB, free: 17.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03309/0.7572, allocations: 7.009 MB / 454.2 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002628/0.7599, allocations: 148 kB / 454.3 MB, free: 15.81 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002386/0.7602, allocations: 26.38 kB / 454.4 MB, free: 15.81 MB / 346.7 MB Warning: Assuming fixed start value for the following 3 variables: order5Type2_Inputs_Outputs.e2d:VARIABLE(start = order5Type2_Inputs_Outputs.e2d0 ) "d-axis sub-transient voltage" type: Real order5Type2_Inputs_Outputs.e2q:VARIABLE(start = order5Type2_Inputs_Outputs.e2q0 ) "q-axis sub-transient voltage" type: Real order5Type2_Inputs_Outputs.e1q:VARIABLE(start = order5Type2_Inputs_Outputs.e1q0 ) "q-axis transient voltage" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pwLine1.ir.re:VARIABLE() "Real part of complex number" type: Real pwLine2.ir.re:VARIABLE() "Real part of complex number" type: Real pwLine2.ir.im:VARIABLE() "Imaginary part of complex number" type: Real pwLinewithOpening1.is.im:VARIABLE() "Imaginary part of complex number" type: Real pwLinewithOpening1.is.re:VARIABLE() "Real part of complex number" type: Real pwLinewithOpening1.ir.re:VARIABLE() "Real part of complex number" type: Real pwLine4.ir.re:VARIABLE() "Real part of complex number" type: Real pwLine4.is.im:VARIABLE() "Imaginary part of complex number" type: Real pwLine4.is.re:VARIABLE() "Real part of complex number" type: Real pwLinewithOpening1.ir.im:VARIABLE() "Imaginary part of complex number" type: Real pwLine4.ir.im:VARIABLE() "Imaginary part of complex number" type: Real pwLine3.is.im:VARIABLE() "Imaginary part of complex number" type: Real pwLine2.is.im:VARIABLE() "Imaginary part of complex number" type: Real pwLine1.is.re:VARIABLE() "Real part of complex number" type: Real pwLine3.ir.im:VARIABLE() "Imaginary part of complex number" type: Real pwLine3.ir.re:VARIABLE() "Real part of complex number" 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.0006015/0.7608, allocations: 140.5 kB / 454.5 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02341/0.7842, allocations: 3.912 MB / 458.4 MB, free: 15.39 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005727/0.7848, allocations: 74.12 kB / 458.5 MB, free: 15.35 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02103/0.8059, allocations: 4.026 MB / 462.5 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.958e-05/0.806, allocations: 7.781 kB / 462.5 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.806, allocations: 0 / 462.5 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-05/0.806, allocations: 7.922 kB / 462.5 MB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001839/0.8079, allocations: 0.9637 MB / 463.5 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.8079, allocations: 0 / 463.5 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008813/0.8088, allocations: 78.38 kB / 463.6 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008725/0.8175, allocations: 1.637 MB / 465.2 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002478/0.8178, allocations: 0 / 465.2 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02012/0.838, allocations: 6.148 MB / 471.4 MB, free: 27.12 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.838, allocations: 3.984 kB / 471.4 MB, free: 27.12 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0227/0.8607, allocations: 4.709 MB / 476.1 MB, free: 23.62 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003962/0.8612, allocations: 162.2 kB / 476.2 MB, free: 23.45 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003046/0.8615, allocations: 10.5 kB / 476.2 MB, free: 23.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001833/0.8634, allocations: 95.92 kB / 476.3 MB, free: 23.35 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008751/0.8643, allocations: 191.4 kB / 476.5 MB, free: 23.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/0.8644, allocations: 19.25 kB / 476.5 MB, free: 23.17 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007656/0.8652, allocations: 395.8 kB / 476.9 MB, free: 22.81 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.8652, allocations: 3.938 kB / 476.9 MB, free: 22.81 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001711/0.8669, allocations: 311.5 kB / 477.2 MB, free: 22.5 MB / 362.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 () * 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.02326/0.8902, allocations: 5.295 MB / 482.5 MB, free: 17.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.008553/0.8988, allocations: 1.88 MB / 484.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.8989, allocations: 0 / 484.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007367/0.9062, allocations: 1.399 MB / 485.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007668/0.9071, allocations: 50.08 kB / 485.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004757/0.9118, allocations: 1.232 MB / 487.1 MB, free: 12.56 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007497/0.9126, allocations: 0.9895 MB / 488.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005679/0.9132, allocations: 60.86 kB / 488.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006681/0.9139, allocations: 287.3 kB / 488.4 MB, free: 11.2 MB / 362.7 MB Notification: Performance of SimCode: time 1.002e-06/0.9139, allocations: 0 / 488.4 MB, free: 11.2 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09894/1.013, allocations: 23.18 MB / 0.4996 GB, free: 4.008 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002914/1.013, allocations: 122.5 kB / 0.4997 GB, free: 3.809 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.68/4.693, allocations: 0 / 0.4997 GB, free: 3.809 MB / 378.7 MB