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"}) [: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.142/2.142, allocations: 222 MB / 229.3 MB, free: 15.62 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2501/2.393, allocations: 56.1 MB / 285.4 MB, free: 7.852 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/2.513, allocations: 50.5 MB / 335.9 MB, free: 5.25 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3666/2.88, allocations: 74.73 MB / 410.6 MB, free: 6.352 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/2.88, allocations: 64.03 kB / 410.7 MB, free: 6.324 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.09491/2.975, allocations: 15.83 MB / 426.5 MB, free: 9.223 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/2.975, allocations: 8 kB / 426.5 MB, free: 9.215 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005163/2.98, allocations: 497.9 kB / 427 MB, free: 8.77 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001856/2.982, allocations: 0.5876 MB / 427.6 MB, free: 8.277 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003964/2.982, allocations: 202.5 kB / 427.8 MB, free: 8.047 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002231/2.983, allocations: 36 kB / 427.8 MB, free: 8.012 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002679/2.985, allocations: 0.7421 MB / 428.6 MB, free: 7.266 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002452/2.988, allocations: 0.6985 MB / 429.3 MB, free: 6.562 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.519e-05/2.988, allocations: 0 / 429.3 MB, free: 6.562 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001411/2.988, allocations: 0 / 429.3 MB, free: 6.562 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.552e-05/2.988, allocations: 23.84 kB / 429.3 MB, free: 6.539 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0134/3.001, allocations: 3.162 MB / 432.4 MB, free: 3.223 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002436/3.004, allocations: 0.6094 MB / 433.1 MB, free: 2.602 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001589/3.006, allocations: 0.4992 MB / 433.6 MB, free: 2.102 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001421/3.006, allocations: 16.58 kB / 433.6 MB, free: 2.086 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/3.006, allocations: 43.22 kB / 433.6 MB, free: 2.035 MB / 346.7 MB Notification: Performance of pre-optimization done (n=78): time 3.196e-06/3.006, allocations: 0 / 433.6 MB, free: 2.035 MB / 346.7 MB Notification: Performance of matching and sorting (n=78): time 0.03538/3.041, allocations: 4.121 MB / 437.7 MB, free: 13.9 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.658e-05/3.041, allocations: 60.06 kB / 437.8 MB, free: 13.83 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002561/3.044, allocations: 0.4945 MB / 438.3 MB, free: 13.33 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003267/3.044, allocations: 29.7 kB / 438.3 MB, free: 13.29 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003019/3.045, allocations: 272.2 kB / 438.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006615/3.045, allocations: 260 kB / 438.8 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001626/3.046, allocations: 0 / 438.8 MB, free: 12.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003368/3.046, allocations: 378.8 kB / 439.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003146/3.049, allocations: 401.5 kB / 439.6 MB, free: 12 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001678/3.051, allocations: 483.6 kB / 440.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002013/3.053, allocations: 442.7 kB / 440.5 MB, free: 11.06 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.282e-05/3.053, allocations: 4 kB / 440.5 MB, free: 11.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.03099/3.084, allocations: 4.221 MB / 444.7 MB, free: 6.824 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/3.084, allocations: 4 kB / 444.7 MB, free: 6.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.066e-05/3.084, allocations: 8 kB / 444.7 MB, free: 6.812 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01177/3.096, allocations: 1.772 MB / 446.5 MB, free: 5.035 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/3.097, allocations: 103.8 kB / 446.6 MB, free: 4.934 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03075/3.128, allocations: 6.225 MB / 452.8 MB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00232/3.13, allocations: 151.3 kB / 453 MB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002156/3.13, allocations: 28 kB / 453 MB, free: 14.4 MB / 378.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.0005058/3.131, allocations: 141 kB / 453.2 MB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000379/3.131, allocations: 79 kB / 453.2 MB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0263/3.158, allocations: 4.238 MB / 457.5 MB, free: 9.918 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.271e-05/3.158, allocations: 8 kB / 457.5 MB, free: 9.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/3.158, allocations: 0 / 457.5 MB, free: 9.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.749e-05/3.158, allocations: 3.984 kB / 457.5 MB, free: 9.906 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002201/3.16, allocations: 0.9552 MB / 458.4 MB, free: 8.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/3.16, allocations: 0 / 458.4 MB, free: 8.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00118/3.161, allocations: 79.91 kB / 458.5 MB, free: 8.832 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01162/3.173, allocations: 1.702 MB / 460.2 MB, free: 7.125 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003985/3.173, allocations: 7.922 kB / 460.2 MB, free: 7.117 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03083/3.204, allocations: 5.621 MB / 465.8 MB, free: 1.371 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/3.204, allocations: 0 / 465.8 MB, free: 1.371 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03302/3.237, allocations: 4.928 MB / 470.8 MB, free: 12.42 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04432/3.282, allocations: 6.004 MB / 476.8 MB, free: 6.387 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004004/3.282, allocations: 164.1 kB / 476.9 MB, free: 6.207 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002978/3.282, allocations: 3.906 kB / 476.9 MB, free: 6.203 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002134/3.285, allocations: 111.9 kB / 477 MB, free: 6.094 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000468/3.285, allocations: 100.6 kB / 477.1 MB, free: 5.996 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001339/3.285, allocations: 27.98 kB / 477.2 MB, free: 5.969 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0008979/3.286, allocations: 387 kB / 477.6 MB, free: 5.594 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002405/3.289, allocations: 319.5 kB / 477.9 MB, free: 5.281 MB / 394.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.0004202/3.289, allocations: 126 kB / 478 MB, free: 5.152 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01298/3.302, allocations: 1.875 MB / 479.9 MB, free: 3.27 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/3.302, allocations: 0.5 kB / 479.9 MB, free: 3.27 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00901/3.311, allocations: 1.401 MB / 481.3 MB, free: 1.855 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/3.312, allocations: 42 kB / 481.3 MB, free: 1.816 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005885/3.318, allocations: 1.159 MB / 482.5 MB, free: 0.6211 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001478/3.32, allocations: 1.028 MB / 483.5 MB, free: 15.57 MB / 410.7 MB Notification: Performance of SimCode: time 1.873e-06/3.32, allocations: 0 / 483.5 MB, free: 15.57 MB / 410.7 MB