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"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(iPSL): time 2.073/2.073, allocations: 222 MB / 229.3 MB, free: 15.63 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2789/2.352, allocations: 56.1 MB / 285.4 MB, free: 7.871 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/2.478, allocations: 50.49 MB / 335.9 MB, free: 5.273 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3617/2.84, allocations: 74.83 MB / 410.7 MB, free: 6.211 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001957/2.84, allocations: 70.16 kB / 410.8 MB, free: 6.18 MB / 330.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.09396/2.934, allocations: 17.45 MB / 428.2 MB, free: 7.703 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/2.934, allocations: 16 kB / 428.2 MB, free: 7.688 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009911/2.944, allocations: 498.3 kB / 428.7 MB, free: 7.199 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002754/2.947, allocations: 0.6 MB / 429.3 MB, free: 6.559 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000596/2.948, allocations: 198.5 kB / 429.5 MB, free: 6.332 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004528/2.948, allocations: 43.89 kB / 429.6 MB, free: 6.289 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003591/2.952, allocations: 0.7421 MB / 430.3 MB, free: 5.543 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00283/2.955, allocations: 0.7102 MB / 431 MB, free: 4.828 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.454e-05/2.955, allocations: 8 kB / 431 MB, free: 4.82 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001424/2.955, allocations: 0 / 431 MB, free: 4.82 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.57e-05/2.955, allocations: 20 kB / 431 MB, free: 4.801 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01212/2.967, allocations: 3.19 MB / 434.2 MB, free: 1.457 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002245/2.969, allocations: 0.6292 MB / 434.9 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00165/2.971, allocations: 0.507 MB / 435.4 MB, free: 316 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001431/2.971, allocations: 8.656 kB / 435.4 MB, free: 308 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.022e-05/2.971, allocations: 43.2 kB / 435.4 MB, free: 252 kB / 346.7 MB Notification: Performance of pre-optimization done (n=79): time 6.002e-06/2.971, allocations: 4.547 kB / 435.4 MB, free: 248 kB / 346.7 MB Notification: Performance of matching and sorting (n=79): time 0.02645/2.998, allocations: 4.125 MB / 439.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.508e-05/2.998, allocations: 60.06 kB / 439.6 MB, free: 12.04 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001816/3, allocations: 0.5141 MB / 440.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003355/3, allocations: 25.7 kB / 440.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003314/3, allocations: 268.2 kB / 440.4 MB, free: 11.22 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006768/3.001, allocations: 271.9 kB / 440.7 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001563/3.001, allocations: 4 kB / 440.7 MB, free: 10.95 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003194/3.002, allocations: 387.5 kB / 441.1 MB, free: 10.56 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003498/3.005, allocations: 397.6 kB / 441.4 MB, free: 10.17 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002583/3.008, allocations: 490.7 kB / 441.9 MB, free: 9.664 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00218/3.01, allocations: 459.5 kB / 442.4 MB, free: 9.215 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/3.01, allocations: 0 / 442.4 MB, free: 9.215 MB / 362.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.03381/3.044, allocations: 4.229 MB / 446.6 MB, free: 4.973 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.469e-05/3.044, allocations: 7.984 kB / 446.6 MB, free: 4.965 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.036e-05/3.044, allocations: 4 kB / 446.6 MB, free: 4.961 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01231/3.056, allocations: 1.776 MB / 448.4 MB, free: 3.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001435/3.058, allocations: 99.83 kB / 448.5 MB, free: 3.082 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03/3.088, allocations: 6.236 MB / 454.7 MB, free: 12.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0024/3.09, allocations: 155.2 kB / 454.9 MB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000231/3.091, allocations: 31.98 kB / 454.9 MB, free: 12.54 MB / 378.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.00049/3.091, allocations: 145 kB / 455.1 MB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003558/3.092, allocations: 71.06 kB / 455.1 MB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03234/3.124, allocations: 4.265 MB / 459.4 MB, free: 8.023 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.6e-05/3.124, allocations: 8 kB / 459.4 MB, free: 8.016 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/3.124, allocations: 0 / 459.4 MB, free: 8.016 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.089e-05/3.124, allocations: 3.984 kB / 459.4 MB, free: 8.012 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003791/3.128, allocations: 0.9747 MB / 460.4 MB, free: 7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-05/3.128, allocations: 4 kB / 460.4 MB, free: 6.996 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001254/3.129, allocations: 75.91 kB / 460.4 MB, free: 6.922 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01207/3.141, allocations: 1.71 MB / 462.2 MB, free: 5.207 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004022/3.142, allocations: 7.984 kB / 462.2 MB, free: 5.199 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03205/3.174, allocations: 5.617 MB / 467.8 MB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/3.174, allocations: 0 / 467.8 MB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03947/3.213, allocations: 4.959 MB / 472.7 MB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03538/3.249, allocations: 6.039 MB / 478.8 MB, free: 4.418 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004614/3.249, allocations: 171.9 kB / 478.9 MB, free: 4.23 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003521/3.25, allocations: 4 kB / 479 MB, free: 4.227 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002343/3.252, allocations: 107.9 kB / 479.1 MB, free: 4.121 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005255/3.253, allocations: 108.5 kB / 479.2 MB, free: 4.016 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001369/3.253, allocations: 20 kB / 479.2 MB, free: 3.996 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0009493/3.254, allocations: 410.9 kB / 479.6 MB, free: 3.598 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002472/3.256, allocations: 323.5 kB / 479.9 MB, free: 3.281 MB / 394.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.000403/3.257, allocations: 123.2 kB / 480 MB, free: 3.152 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01065/3.267, allocations: 1.887 MB / 481.9 MB, free: 1.25 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/3.267, allocations: 4 kB / 481.9 MB, free: 1.246 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009329/3.277, allocations: 1.401 MB / 483.3 MB, free: 15.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007085/3.278, allocations: 42.08 kB / 483.4 MB, free: 15.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006478/3.284, allocations: 1.202 MB / 484.6 MB, free: 14.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001448/3.286, allocations: 1.044 MB / 485.6 MB, free: 13.48 MB / 410.7 MB Notification: Performance of SimCode: time 1.353e-06/3.286, allocations: 3.938 kB / 485.6 MB, free: 13.48 MB / 410.7 MB