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/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_1test2,fileNamePrefix="iPSL_iPSL_Examples_Machines_PSAT_Order5_1test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(iPSL): time 2.201/2.201, allocations: 222.2 MB / 229.7 MB, free: 3.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.284e-05/2.278e-05, allocations: 1.719 kB / 286 MB, free: 7.156 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1118, allocations: 50.5 MB / 336.5 MB, free: 10.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4355/0.5474, allocations: 74.74 MB / 411.3 MB, free: 22.79 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002244/0.5477, allocations: 63.98 kB / 411.3 MB, free: 22.79 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06482/0.6125, allocations: 14.45 MB / 425.8 MB, free: 21.51 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.6125, allocations: 5.312 kB / 425.8 MB, free: 21.51 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.504e-05/0.6126, allocations: 16.72 kB / 425.8 MB, free: 21.51 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.006213/0.6188, allocations: 1.376 MB / 427.2 MB, free: 20.88 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/0.6189, allocations: 9.375 kB / 427.2 MB, free: 20.88 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004443/0.6234, allocations: 471.2 kB / 427.6 MB, free: 20.83 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001391/0.6248, allocations: 0.563 MB / 428.2 MB, free: 20.55 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002952/0.6251, allocations: 190.7 kB / 428.4 MB, free: 20.39 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001976/0.6253, allocations: 39.16 kB / 428.4 MB, free: 20.39 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002031/0.6274, allocations: 0.7365 MB / 429.2 MB, free: 20.38 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001862/0.6292, allocations: 0.6995 MB / 429.9 MB, free: 20.33 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.657e-05/0.6293, allocations: 4 kB / 429.9 MB, free: 20.32 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001248/0.6294, allocations: 4 kB / 429.9 MB, free: 20.32 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.94e-05/0.6294, allocations: 15.62 kB / 429.9 MB, free: 20.32 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00815/0.6376, allocations: 3.087 MB / 433 MB, free: 19.35 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001738/0.6394, allocations: 0.6462 MB / 433.6 MB, free: 19.32 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001081/0.6405, allocations: 0.4988 MB / 434.1 MB, free: 19.31 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001926/0.6407, allocations: 19.5 kB / 434.1 MB, free: 19.3 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.6407, allocations: 43.02 kB / 434.2 MB, free: 19.26 MB / 346.7 MB Notification: Performance of pre-optimization done (n=78): time 3.807e-06/0.6408, allocations: 0 / 434.2 MB, free: 19.26 MB / 346.7 MB Notification: Performance of matching and sorting (n=78): time 0.02093/0.6617, allocations: 3.924 MB / 438.1 MB, free: 18.97 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.6618, allocations: 60 kB / 438.2 MB, free: 18.9 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/0.6628, allocations: 477.8 kB / 438.6 MB, free: 18.79 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002443/0.6631, allocations: 25.7 kB / 438.6 MB, free: 18.76 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002198/0.6633, allocations: 345.3 kB / 439 MB, free: 18.59 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003333/0.6637, allocations: 258 kB / 439.2 MB, free: 18.42 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.6638, allocations: 0 / 439.2 MB, free: 18.42 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.6639, allocations: 384.2 kB / 439.6 MB, free: 18.1 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000997/0.6649, allocations: 397 kB / 440 MB, free: 18.1 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/0.6659, allocations: 486.1 kB / 440.5 MB, free: 18.02 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001287/0.6672, allocations: 472.1 kB / 440.9 MB, free: 18.01 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.6673, allocations: 0 / 440.9 MB, free: 18.01 MB / 346.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0212/0.6885, allocations: 3.998 MB / 444.9 MB, free: 17.7 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.861e-05/0.6885, allocations: 3.906 kB / 444.9 MB, free: 17.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/0.6886, allocations: 7.906 kB / 444.9 MB, free: 17.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009691/0.6983, allocations: 1.698 MB / 446.6 MB, free: 17.6 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009677/0.6993, allocations: 99.75 kB / 446.7 MB, free: 17.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02306/0.7224, allocations: 7.013 MB / 453.8 MB, free: 16.11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001955/0.7244, allocations: 145.4 kB / 453.9 MB, free: 16.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001338/0.7245, allocations: 27.03 kB / 453.9 MB, free: 16.07 MB / 346.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 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.0004391/0.725, allocations: 140.7 kB / 454.1 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02083/0.7458, allocations: 3.912 MB / 458 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005312/0.7464, allocations: 74.25 kB / 458 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02086/0.7673, allocations: 4.029 MB / 462.1 MB, free: 14.49 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.761e-05/0.7673, allocations: 11.75 kB / 462.1 MB, free: 14.49 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.7673, allocations: 0 / 462.1 MB, free: 14.49 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.988e-05/0.7674, allocations: 3.984 kB / 462.1 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001792/0.7692, allocations: 0.9391 MB / 463 MB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-06/0.7692, allocations: 3.938 kB / 463 MB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008746/0.7701, allocations: 78.03 kB / 463.1 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008747/0.7789, allocations: 1.64 MB / 464.7 MB, free: 13.56 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002294/0.7791, allocations: 3.984 kB / 464.8 MB, free: 13.56 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01999/0.7991, allocations: 6.157 MB / 470.9 MB, free: 27.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.775e-06/0.7992, allocations: 3.938 kB / 470.9 MB, free: 27.47 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02264/0.8219, allocations: 4.699 MB / 475.6 MB, free: 24.17 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003657/0.8223, allocations: 172.3 kB / 475.8 MB, free: 24 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002179/0.8225, allocations: 3.953 kB / 475.8 MB, free: 23.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001738/0.8243, allocations: 99.91 kB / 475.9 MB, free: 23.89 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008622/0.8251, allocations: 185.1 kB / 476.1 MB, free: 23.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/0.8253, allocations: 20 kB / 476.1 MB, free: 23.7 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006539/0.8259, allocations: 374.9 kB / 476.4 MB, free: 23.33 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.8259, allocations: 0 / 476.4 MB, free: 23.33 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001527/0.8275, allocations: 311.5 kB / 476.8 MB, free: 23.02 MB / 362.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.02297/0.8505, allocations: 5.281 MB / 482 MB, free: 17.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.008485/0.859, allocations: 1.874 MB / 483.9 MB, free: 15.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/0.859, allocations: 0.5 kB / 483.9 MB, free: 15.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007239/0.8663, allocations: 1.399 MB / 485.3 MB, free: 14.41 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000708/0.8671, allocations: 42.05 kB / 485.3 MB, free: 14.37 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004393/0.8715, allocations: 1.204 MB / 486.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007448/0.8722, allocations: 0.9895 MB / 487.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005555/0.8728, allocations: 56.81 kB / 487.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006596/0.8735, allocations: 283.3 kB / 487.9 MB, free: 11.78 MB / 362.7 MB Notification: Performance of SimCode: time 1.213e-06/0.8735, allocations: 4 kB / 487.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1063/0.9798, allocations: 22.92 MB / 0.4988 GB, free: 4.852 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003597/0.9802, allocations: 114.5 kB / 0.4989 GB, free: 4.66 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.484/4.464, allocations: 0 / 0.4989 GB, free: 4.66 MB / 378.7 MB