Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed",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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003608/0.003608, allocations: 178.7 kB / 7.46 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 221.4 MB / 229.3 MB, free: 3.004 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001058, allocations: 107 kB / 280.1 MB, free: 1.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5154/0.5154, allocations: 78.92 MB / 409.8 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1896/0.705, allocations: 75.66 MB / 485.5 MB, free: 3.539 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4238/1.129, allocations: 69.49 MB / 0.542 GB, free: 20.79 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1509/1.28, allocations: 96.7 MB / 0.6364 GB, free: 7.23 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/1.28, allocations: 79.95 kB / 0.6365 GB, free: 7.152 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.07029/1.35, allocations: 22.68 MB / 0.6586 GB, free: 272 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/1.351, allocations: 12 kB / 0.6586 GB, free: 260 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003273/1.354, allocations: 482 kB / 0.6591 GB, free: 15.78 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001492/1.355, allocations: 0.5965 MB / 0.6597 GB, free: 15.14 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002495/1.356, allocations: 164.1 kB / 0.6598 GB, free: 14.96 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002255/1.356, allocations: 36 kB / 0.6599 GB, free: 14.92 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001714/1.358, allocations: 0.7094 MB / 0.6606 GB, free: 14.21 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00146/1.359, allocations: 0.6482 MB / 0.6612 GB, free: 13.56 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/1.359, allocations: 0 / 0.6612 GB, free: 13.56 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.389e-05/1.359, allocations: 0 / 0.6612 GB, free: 13.56 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.159e-05/1.359, allocations: 19.91 kB / 0.6612 GB, free: 13.54 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006241/1.365, allocations: 2.42 MB / 0.6636 GB, free: 11.03 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001468/1.367, allocations: 0.6039 MB / 0.6642 GB, free: 10.42 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008973/1.368, allocations: 0.4913 MB / 0.6646 GB, free: 9.922 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001145/1.368, allocations: 8.781 kB / 0.6647 GB, free: 9.914 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/1.368, allocations: 39.34 kB / 0.6647 GB, free: 9.867 MB / 490.7 MB Notification: Performance of pre-optimization done (n=83): time 3.296e-06/1.368, allocations: 0 / 0.6647 GB, free: 9.867 MB / 490.7 MB Notification: Performance of matching and sorting (n=83): time 0.01233/1.38, allocations: 3.675 MB / 0.6683 GB, free: 6.176 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.509e-05/1.38, allocations: 64.17 kB / 0.6683 GB, free: 6.102 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001321/1.382, allocations: 0.5751 MB / 0.6689 GB, free: 5.52 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002351/1.382, allocations: 25.7 kB / 0.6689 GB, free: 5.488 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002571/1.382, allocations: 260.6 kB / 0.6692 GB, free: 5.23 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005166/1.383, allocations: 283.8 kB / 0.6694 GB, free: 4.949 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.451e-05/1.383, allocations: 0 / 0.6694 GB, free: 4.949 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001651/1.383, allocations: 337.9 kB / 0.6698 GB, free: 4.613 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008558/1.384, allocations: 377.5 kB / 0.6701 GB, free: 4.246 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008635/1.385, allocations: 461.8 kB / 0.6706 GB, free: 3.77 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00085/1.386, allocations: 422 kB / 0.671 GB, free: 3.363 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/1.386, allocations: 0 / 0.671 GB, free: 3.363 MB / 490.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.2821/1.668, allocations: 3.729 MB / 0.6746 GB, free: 143.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.144e-05/1.668, allocations: 3.625 kB / 0.6746 GB, free: 143.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.566e-05/1.668, allocations: 11.16 kB / 0.6746 GB, free: 143.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005987/1.674, allocations: 1.529 MB / 0.6761 GB, free: 143.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007045/1.675, allocations: 125.7 kB / 0.6762 GB, free: 143.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01388/1.689, allocations: 6.076 MB / 0.6822 GB, free: 141.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001375/1.69, allocations: 152.3 kB / 0.6823 GB, free: 141.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001741/1.69, allocations: 26.39 kB / 0.6823 GB, free: 141.8 MB / 490.7 MB Warning: Assuming fixed start value for the following 3 variables: order3_Inputs_Outputs1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real mixed.y:VARIABLE(start = 0.0 protected = true ) type: Real mixed.x:VARIABLE(start = (-mixed.v_0) / mixed.Tfv protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * 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 {19 19} Notification: Performance of prepare postOptimizeDAE: time 0.0003224/1.691, allocations: 128.8 kB / 0.6825 GB, free: 141.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002581/1.691, allocations: 98.56 kB / 0.6826 GB, free: 141.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0112/1.702, allocations: 3.731 MB / 0.6862 GB, free: 141.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.226e-05/1.702, allocations: 7.688 kB / 0.6862 GB, free: 141.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/1.702, allocations: 0.5625 kB / 0.6862 GB, free: 141.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.32e-05/1.702, allocations: 8.656 kB / 0.6862 GB, free: 141.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01369/1.716, allocations: 5.015 MB / 0.6911 GB, free: 141 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/1.716, allocations: 0 / 0.6911 GB, free: 141 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007408/1.717, allocations: 103.8 kB / 0.6912 GB, free: 141 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005178/1.722, allocations: 1.506 MB / 0.6927 GB, free: 140.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001465/1.722, allocations: 13.84 kB / 0.6927 GB, free: 140.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01226/1.734, allocations: 5.29 MB / 0.6979 GB, free: 139.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.114e-06/1.734, allocations: 1.094 kB / 0.6979 GB, free: 139.4 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01318/1.748, allocations: 4.402 MB / 0.7022 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01411/1.762, allocations: 5.447 MB / 0.7075 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004418/1.762, allocations: 182.8 kB / 0.7077 GB, free: 138 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003561/1.763, allocations: 3.812 kB / 0.7077 GB, free: 138 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001299/1.764, allocations: 120.6 kB / 0.7078 GB, free: 138 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000416/1.764, allocations: 95.09 kB / 0.7079 GB, free: 138 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001345/1.764, allocations: 22.3 kB / 0.7079 GB, free: 138 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0009633/1.765, allocations: 460.1 kB / 0.7083 GB, free: 137.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002366/1.768, allocations: 335.2 kB / 0.7086 GB, free: 137.9 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,mixed.x,mixed.y) * 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 {20 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003348/1.768, allocations: 130.1 kB / 0.7088 GB, free: 137.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004537/1.773, allocations: 1.67 MB / 0.7104 GB, free: 137.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/1.773, allocations: 0 / 0.7104 GB, free: 137.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003561/1.776, allocations: 1.221 MB / 0.7116 GB, free: 136.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/1.777, allocations: 53.06 kB / 0.7116 GB, free: 136.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004376/1.782, allocations: 1.316 MB / 0.7129 GB, free: 136.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007959/1.783, allocations: 1.085 MB / 0.714 GB, free: 135.5 MB / 490.7 MB Notification: Performance of SimCode: time 1.132e-06/1.783, allocations: 4 kB / 0.714 GB, free: 135.4 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-05 OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed.fmu > OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe 2>&1)