Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr iPSL_iPSL.Examples.Machines.PSAT.Order6test2.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.Order6test2,fileNamePrefix="iPSL_iPSL_Examples_Machines_PSAT_Order6test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(iPSL): time 2.347/2.347, allocations: 222.2 MB / 229.7 MB, free: 3.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.133e-05/2.147e-05, allocations: 2.859 kB / 286 MB, free: 7.152 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.117, allocations: 50.5 MB / 336.5 MB, free: 10.68 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4723/0.5894, allocations: 74.9 MB / 411.4 MB, free: 22.68 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002539/0.5897, allocations: 66.34 kB / 411.5 MB, free: 22.68 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07398/0.6637, allocations: 16.31 MB / 427.8 MB, free: 21.29 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.066e-06/0.6638, allocations: 2.031 kB / 427.8 MB, free: 21.29 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.832e-05/0.6638, allocations: 12.84 kB / 427.8 MB, free: 21.29 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: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.006487/0.6703, allocations: 1.413 MB / 429.2 MB, free: 20.65 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.66e-05/0.6704, allocations: 12.17 kB / 429.2 MB, free: 20.65 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00451/0.6749, allocations: 479.6 kB / 429.7 MB, free: 20.59 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001685/0.6767, allocations: 0.5959 MB / 430.3 MB, free: 20.3 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00031/0.677, allocations: 195.6 kB / 430.5 MB, free: 20.14 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002109/0.6772, allocations: 39 kB / 430.5 MB, free: 20.14 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00209/0.6794, allocations: 0.7467 MB / 431.3 MB, free: 20.14 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001975/0.6814, allocations: 0.706 MB / 432 MB, free: 20.09 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.104e-05/0.6814, allocations: 3.953 kB / 432 MB, free: 20.08 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00013/0.6816, allocations: 4 kB / 432 MB, free: 20.08 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.723e-05/0.6816, allocations: 19.56 kB / 432 MB, free: 20.07 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009577/0.6912, allocations: 3.166 MB / 435.2 MB, free: 19.11 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001909/0.6932, allocations: 0.6684 MB / 435.8 MB, free: 19.06 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001264/0.6945, allocations: 0.506 MB / 436.3 MB, free: 19.05 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002035/0.6947, allocations: 16.19 kB / 436.3 MB, free: 19.05 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.6947, allocations: 38.42 kB / 436.4 MB, free: 19.01 MB / 346.7 MB Notification: Performance of pre-optimization done (n=79): time 4.097e-06/0.6948, allocations: 0 / 436.4 MB, free: 19.01 MB / 346.7 MB Notification: Performance of matching and sorting (n=79): time 0.02095/0.7157, allocations: 3.911 MB / 440.3 MB, free: 18.72 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.7158, allocations: 67.75 kB / 440.4 MB, free: 18.65 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/0.7169, allocations: 0.5054 MB / 440.9 MB, free: 18.54 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003204/0.7173, allocations: 25.7 kB / 440.9 MB, free: 18.51 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000282/0.7176, allocations: 359.2 kB / 441.2 MB, free: 18.34 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004338/0.718, allocations: 271.7 kB / 441.5 MB, free: 18.16 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.7181, allocations: 0 / 441.5 MB, free: 18.16 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.7183, allocations: 384.9 kB / 441.9 MB, free: 17.85 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001083/0.7194, allocations: 396.8 kB / 442.3 MB, free: 17.85 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001108/0.7205, allocations: 0.4897 MB / 442.8 MB, free: 17.77 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001466/0.722, allocations: 475.1 kB / 443.2 MB, free: 17.75 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.847e-06/0.7221, allocations: 0 / 443.2 MB, free: 17.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0214/0.7435, allocations: 4.026 MB / 447.3 MB, free: 17.44 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.964e-05/0.7436, allocations: 6.312 kB / 447.3 MB, free: 17.44 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.737e-05/0.7436, allocations: 3.188 kB / 447.3 MB, free: 17.44 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00979/0.7534, allocations: 1.701 MB / 449 MB, free: 17.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001139/0.7546, allocations: 96.67 kB / 449.1 MB, free: 17.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02318/0.7778, allocations: 7.024 MB / 456.1 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002093/0.78, allocations: 144.4 kB / 456.2 MB, free: 15.81 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001478/0.7802, allocations: 30.02 kB / 456.3 MB, free: 15.81 MB / 346.7 MB Warning: Assuming fixed start value for the following 4 variables: order6Type2_1.e2d:VARIABLE(start = order6Type2_1.e2d0 ) "d-axis sub-transient voltage" type: Real order6Type2_1.e2q:VARIABLE(start = order6Type2_1.e2q0 ) "q-axis sub-transient voltage" type: Real order6Type2_1.e1d:VARIABLE(start = order6Type2_1.e1d0 ) "d-axis transient voltage" type: Real order6Type2_1.e1q:VARIABLE(start = order6Type2_1.e1q0 ) "q-axis transient voltage" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pwLine1.ir.im:VARIABLE() "Imaginary part of complex number" type: Real pwLine2.ir.im:VARIABLE() "Imaginary part of complex number" type: Real pwLine1.ir.re:VARIABLE() "Real part of complex number" type: Real pwLine2.ir.re:VARIABLE() "Real part of complex number" type: Real pwLinewithOpening1.is.im:VARIABLE() "Imaginary 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 pwLinewithOpening1.is.re:VARIABLE() "Real part of complex number" type: Real pwLine4.is.re:VARIABLE() "Real part of complex number" type: Real pwLine4.is.im:VARIABLE() "Imaginary 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 pwLine1.is.re:VARIABLE() "Real part of complex number" type: Real pwLine1.is.im:VARIABLE() "Imaginary part of complex number" type: Real pwLine3.ir.re:VARIABLE() "Real part of complex number" type: Real pwLine3.ir.im:VARIABLE() "Imaginary 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 (61): * Single equations (assignments): 60 * 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.0004627/0.7806, allocations: 148.8 kB / 456.4 MB, free: 15.67 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02054/0.8012, allocations: 3.91 MB / 460.3 MB, free: 14.85 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006162/0.8019, allocations: 74.22 kB / 460.4 MB, free: 14.81 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02092/0.8228, allocations: 4.056 MB / 464.4 MB, free: 13.6 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.928e-05/0.8229, allocations: 7.75 kB / 464.4 MB, free: 13.6 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.8229, allocations: 0 / 464.4 MB, free: 13.6 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.64e-05/0.8229, allocations: 7.922 kB / 464.5 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001909/0.8249, allocations: 0.969 MB / 465.4 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.8249, allocations: 4 kB / 465.4 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009683/0.8259, allocations: 83.92 kB / 465.5 MB, free: 13.08 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0087/0.8346, allocations: 1.639 MB / 467.1 MB, free: 12.65 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002754/0.8349, allocations: 3.875 kB / 467.1 MB, free: 12.65 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02061/0.8555, allocations: 6.148 MB / 473.3 MB, free: 25.99 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.8556, allocations: 4 kB / 473.3 MB, free: 25.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02261/0.8782, allocations: 4.74 MB / 478 MB, free: 21.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004378/0.8787, allocations: 180 kB / 478.2 MB, free: 21.55 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002256/0.879, allocations: 3.953 kB / 478.2 MB, free: 21.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001803/0.8808, allocations: 91.92 kB / 478.3 MB, free: 21.46 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008959/0.8817, allocations: 188.4 kB / 478.5 MB, free: 21.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001107/0.8818, allocations: 23.98 kB / 478.5 MB, free: 21.25 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007581/0.8826, allocations: 410.9 kB / 478.9 MB, free: 20.85 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.51e-07/0.8826, allocations: 0 / 478.9 MB, free: 20.85 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001635/0.8842, allocations: 323.5 kB / 479.2 MB, free: 20.54 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (order6Type2_1.delta,order6Type2_1.w,order6Type2_1.e1q,order6Type2_1.e1d,order6Type2_1.e2q,order6Type2_1.e2d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 49 * 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.02293/0.9072, allocations: 5.297 MB / 484.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.008977/0.9162, allocations: 1.897 MB / 486.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.9163, allocations: 0 / 486.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007485/0.9238, allocations: 1.411 MB / 487.8 MB, free: 11.88 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007457/0.9246, allocations: 46.03 kB / 487.9 MB, free: 11.83 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004681/0.9293, allocations: 1.284 MB / 489.2 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007244/0.93, allocations: 0.9937 MB / 490.2 MB, free: 9.488 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005672/0.9306, allocations: 60.91 kB / 490.2 MB, free: 9.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006766/0.9313, allocations: 295.3 kB / 490.5 MB, free: 9.141 MB / 362.7 MB Notification: Performance of SimCode: time 1.182e-06/0.9313, allocations: 0 / 490.5 MB, free: 9.141 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0929/1.024, allocations: 23.48 MB / 0.5019 GB, free: 1.641 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003452/1.025, allocations: 115.1 kB / 0.5021 GB, free: 1.449 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.573/4.598, allocations: 0 / 0.5021 GB, free: 1.449 MB / 378.7 MB