Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.LoadTestFreqDependent,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestFreqDependent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestFreqDependent",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.002907/0.002907, allocations: 180 kB / 7.453 MB, free: 2.512 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.345/1.345, allocations: 221.4 MB / 229.3 MB, free: 3.016 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.0009612/0.0009614, allocations: 93.73 kB / 280.1 MB, free: 1.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5205/0.5205, allocations: 78.06 MB / 408.9 MB, free: 15.52 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1629/0.6834, allocations: 75.49 MB / 484.4 MB, free: 4.344 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3718/1.055, allocations: 69.34 MB / 0.5408 GB, free: 21.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1269/1.182, allocations: 95.84 MB / 0.6344 GB, free: 8.863 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002056/1.182, allocations: 83.95 kB / 0.6345 GB, free: 8.781 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.06493/1.247, allocations: 22.16 MB / 0.6561 GB, free: 2.418 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/1.247, allocations: 8 kB / 0.6561 GB, free: 2.41 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0033/1.251, allocations: 478.1 kB / 0.6566 GB, free: 1.941 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001715/1.252, allocations: 0.5887 MB / 0.6572 GB, free: 1.312 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002265/1.253, allocations: 168.1 kB / 0.6573 GB, free: 1.121 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002348/1.253, allocations: 39.91 kB / 0.6574 GB, free: 1.082 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001742/1.255, allocations: 0.686 MB / 0.658 GB, free: 408 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001582/1.256, allocations: 0.6404 MB / 0.6587 GB, free: 15.75 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/1.256, allocations: 4 kB / 0.6587 GB, free: 15.74 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.499e-05/1.256, allocations: 4 kB / 0.6587 GB, free: 15.74 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.161e-05/1.256, allocations: 12 kB / 0.6587 GB, free: 15.73 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005311/1.262, allocations: 2.404 MB / 0.661 GB, free: 13.23 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009939/1.263, allocations: 0.5665 MB / 0.6616 GB, free: 12.66 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00087/1.264, allocations: 482.8 kB / 0.662 GB, free: 12.18 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001197/1.264, allocations: 12.64 kB / 0.662 GB, free: 12.17 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/1.264, allocations: 51.2 kB / 0.6621 GB, free: 12.11 MB / 490.7 MB Notification: Performance of pre-optimization done (n=81): time 4.93e-06/1.264, allocations: 0 / 0.6621 GB, free: 12.11 MB / 490.7 MB Notification: Performance of matching and sorting (n=81): time 0.01195/1.276, allocations: 3.563 MB / 0.6656 GB, free: 8.535 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.47e-05/1.276, allocations: 64.06 kB / 0.6656 GB, free: 8.457 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/1.277, allocations: 0.5865 MB / 0.6662 GB, free: 7.863 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000257/1.277, allocations: 25.7 kB / 0.6662 GB, free: 7.832 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002065/1.278, allocations: 256.7 kB / 0.6665 GB, free: 7.578 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004763/1.278, allocations: 275.8 kB / 0.6667 GB, free: 7.305 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.796e-05/1.278, allocations: 0 / 0.6667 GB, free: 7.305 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001414/1.278, allocations: 334 kB / 0.6671 GB, free: 6.973 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007696/1.279, allocations: 373.5 kB / 0.6674 GB, free: 6.605 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008188/1.28, allocations: 457.8 kB / 0.6679 GB, free: 6.133 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008458/1.281, allocations: 404.5 kB / 0.6682 GB, free: 5.738 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.606e-06/1.281, allocations: 7.906 kB / 0.6682 GB, free: 5.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.01183/1.293, allocations: 3.643 MB / 0.6718 GB, free: 2.07 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/1.293, allocations: 4 kB / 0.6718 GB, free: 2.066 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/1.293, allocations: 4 kB / 0.6718 GB, free: 2.062 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00562/1.298, allocations: 1.464 MB / 0.6732 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008626/1.299, allocations: 123.9 kB / 0.6734 GB, free: 484 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2329/1.532, allocations: 5.794 MB / 0.679 GB, free: 143.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/1.534, allocations: 155.1 kB / 0.6792 GB, free: 143 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.605e-05/1.534, allocations: 25.62 kB / 0.6792 GB, free: 143 MB / 490.7 MB Warning: Assuming fixed start value for the following 1 variables: order3_Inputs_Outputs1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002485/1.534, allocations: 115.4 kB / 0.6793 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001729/1.534, allocations: 98.75 kB / 0.6794 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01063/1.545, allocations: 3.657 MB / 0.683 GB, free: 142.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/1.545, allocations: 10.81 kB / 0.683 GB, free: 142.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/1.545, allocations: 0 / 0.683 GB, free: 142.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.423e-05/1.545, allocations: 7.688 kB / 0.683 GB, free: 142.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01273/1.558, allocations: 4.952 MB / 0.6878 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.385e-06/1.558, allocations: 4 kB / 0.6878 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006819/1.558, allocations: 101.3 kB / 0.6879 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004988/1.563, allocations: 1.497 MB / 0.6894 GB, free: 142.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001326/1.564, allocations: 4.906 kB / 0.6894 GB, free: 142.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0111/1.575, allocations: 5.248 MB / 0.6945 GB, free: 140.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/1.575, allocations: 1.188 kB / 0.6945 GB, free: 140.8 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01264/1.587, allocations: 4.347 MB / 0.6988 GB, free: 140.4 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0153/1.603, allocations: 5.388 MB / 0.704 GB, free: 139.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004321/1.603, allocations: 184.7 kB / 0.7042 GB, free: 139.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003434/1.603, allocations: 0.9688 kB / 0.7042 GB, free: 139.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001275/1.605, allocations: 116.3 kB / 0.7043 GB, free: 139.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003608/1.605, allocations: 95.27 kB / 0.7044 GB, free: 139.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001158/1.605, allocations: 30 kB / 0.7044 GB, free: 139.4 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0007457/1.606, allocations: 454.5 kB / 0.7049 GB, free: 139.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001846/1.608, allocations: 327.2 kB / 0.7052 GB, free: 139.3 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,frequencyDependent.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 47 * 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 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003035/1.608, allocations: 134.4 kB / 0.7053 GB, free: 139.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004348/1.613, allocations: 1.641 MB / 0.7069 GB, free: 139 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/1.613, allocations: 0 / 0.7069 GB, free: 139 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003355/1.616, allocations: 1.21 MB / 0.7081 GB, free: 138.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006828/1.617, allocations: 52.38 kB / 0.7081 GB, free: 138.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003305/1.62, allocations: 1.287 MB / 0.7094 GB, free: 138.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006568/1.621, allocations: 1.083 MB / 0.7105 GB, free: 137.6 MB / 490.7 MB Notification: Performance of SimCode: time 7.11e-07/1.621, allocations: 0 / 0.7105 GB, free: 137.6 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestFreqDependent_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-05 OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestFreqDependent.fmu > OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent.pipe 2>&1)