Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.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.LoadTestThLoad,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestThLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestThLoad",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.003176/0.003175, allocations: 179 kB / 7.455 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.365/1.365, allocations: 221.4 MB / 229.3 MB, free: 3.055 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.001081/0.001081, allocations: 104.1 kB / 280.1 MB, free: 1.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5245/0.5245, allocations: 78.05 MB / 408.9 MB, free: 15.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1797/0.7042, allocations: 75.49 MB / 484.4 MB, free: 4.324 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4764/1.181, allocations: 69.36 MB / 0.5408 GB, free: 13.41 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.15/1.331, allocations: 98.69 MB / 0.6372 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002777/1.331, allocations: 75.95 kB / 0.6373 GB, free: 10.49 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.09601/1.427, allocations: 26.37 MB / 0.663 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.109e-05/1.427, allocations: 8 kB / 0.663 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005927/1.433, allocations: 0.4978 MB / 0.6635 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003428/1.437, allocations: 0.7003 MB / 0.6642 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004592/1.437, allocations: 190.5 kB / 0.6644 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004853/1.438, allocations: 43.94 kB / 0.6644 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003306/1.441, allocations: 0.781 MB / 0.6652 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002974/1.444, allocations: 0.8151 MB / 0.666 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.135e-05/1.444, allocations: 4 kB / 0.666 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000161/1.444, allocations: 3.984 kB / 0.666 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.904e-05/1.444, allocations: 16 kB / 0.666 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01138/1.456, allocations: 2.888 MB / 0.6688 GB, free: 9.766 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002231/1.458, allocations: 0.6648 MB / 0.6695 GB, free: 9.094 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001563/1.46, allocations: 0.5005 MB / 0.67 GB, free: 8.59 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001905/1.46, allocations: 20.75 kB / 0.67 GB, free: 8.57 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.016e-05/1.46, allocations: 43.34 kB / 0.67 GB, free: 8.516 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=89): time 6.091e-06/1.46, allocations: 0 / 0.67 GB, free: 8.516 MB / 0.5261 GB Notification: Performance of matching and sorting (n=89): time 0.0205/1.48, allocations: 3.659 MB / 0.6736 GB, free: 4.844 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.145e-05/1.481, allocations: 85.89 kB / 0.6737 GB, free: 4.742 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002031/1.483, allocations: 0.6682 MB / 0.6743 GB, free: 4.055 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002885/1.483, allocations: 25.7 kB / 0.6743 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000319/1.483, allocations: 308.5 kB / 0.6746 GB, free: 3.715 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006419/1.484, allocations: 303.3 kB / 0.6749 GB, free: 3.414 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/1.484, allocations: 0 / 0.6749 GB, free: 3.414 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002401/1.484, allocations: 338 kB / 0.6752 GB, free: 3.078 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001253/1.486, allocations: 402 kB / 0.6756 GB, free: 2.684 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001344/1.487, allocations: 0.506 MB / 0.6761 GB, free: 2.141 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/1.488, allocations: 432.4 kB / 0.6765 GB, free: 1.719 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/1.488, allocations: 0 / 0.6765 GB, free: 1.719 MB / 0.5261 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.01978/1.508, allocations: 3.803 MB / 0.6803 GB, free: 13.9 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005102/1.509, allocations: 0.8737 MB / 0.6811 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.154e-05/1.509, allocations: 4 kB / 0.6811 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005956/1.515, allocations: 1.522 MB / 0.6826 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/1.516, allocations: 143.8 kB / 0.6827 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004411/1.52, allocations: 1.963 MB / 0.6847 GB, free: 9.297 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001806/1.522, allocations: 171.3 kB / 0.6848 GB, free: 9.129 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002278/1.522, allocations: 39.98 kB / 0.6849 GB, free: 9.09 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/1.522, allocations: 6.344 kB / 0.6849 GB, free: 9.086 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01196/1.534, allocations: 3.608 MB / 0.6884 GB, free: 5.473 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/1.534, allocations: 0 / 0.6884 GB, free: 5.473 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00564/1.54, allocations: 1.512 MB / 0.6899 GB, free: 3.957 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008855/1.541, allocations: 143.8 kB / 0.69 GB, free: 3.816 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01551/1.556, allocations: 6.211 MB / 0.6961 GB, free: 13.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001636/1.558, allocations: 163.3 kB / 0.6962 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001949/1.558, allocations: 31.94 kB / 0.6962 GB, free: 13.29 MB / 0.5573 GB Warning: Assuming fixed start value for the following 1 variables: order3_Inputs_Outputs1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: thLoad.Limiter1.y:VARIABLE() "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 1 (thLoad.Limiter.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 61 * 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.0003566/1.559, allocations: 128.8 kB / 0.6964 GB, free: 13.16 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003983/1.559, allocations: 110.6 kB / 0.6965 GB, free: 13.05 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01202/1.571, allocations: 3.746 MB / 0.7001 GB, free: 9.285 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-05/1.571, allocations: 11.94 kB / 0.7001 GB, free: 9.273 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/1.571, allocations: 0 / 0.7001 GB, free: 9.273 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.785e-05/1.571, allocations: 3.984 kB / 0.7001 GB, free: 9.27 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01619/1.587, allocations: 4.98 MB / 0.705 GB, free: 4.215 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.702e-05/1.587, allocations: 0 / 0.705 GB, free: 4.215 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001033/1.589, allocations: 127.9 kB / 0.7051 GB, free: 4.09 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005402/1.594, allocations: 1.5 MB / 0.7066 GB, free: 2.586 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002458/1.594, allocations: 7.984 kB / 0.7066 GB, free: 2.578 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3544/1.949, allocations: 5.593 MB / 0.7121 GB, free: 188.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.772e-06/1.949, allocations: 3.969 kB / 0.7121 GB, free: 188.9 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01196/1.961, allocations: 4.471 MB / 0.7164 GB, free: 188.7 MB / 0.5573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01277/1.974, allocations: 5.548 MB / 0.7219 GB, free: 188 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003555/1.974, allocations: 198.1 kB / 0.722 GB, free: 187.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001859/1.974, allocations: 3.234 kB / 0.722 GB, free: 187.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/1.975, allocations: 136.9 kB / 0.7222 GB, free: 187.9 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00029/1.975, allocations: 111.9 kB / 0.7223 GB, free: 187.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.772e-05/1.976, allocations: 22.44 kB / 0.7223 GB, free: 187.9 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.000607/1.976, allocations: 0.5149 MB / 0.7228 GB, free: 187.8 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002529/1.979, allocations: 0.5174 MB / 0.7233 GB, free: 187.7 MB / 0.5573 GB 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,thLoad.firstOrder.state,thLoad.Limiter.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 50 * 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 {21 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002811/1.979, allocations: 126.8 kB / 0.7234 GB, free: 187.7 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.007856/1.987, allocations: 2.946 MB / 0.7263 GB, free: 187.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.987, allocations: 0 / 0.7263 GB, free: 187.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003708/1.991, allocations: 1.327 MB / 0.7276 GB, free: 187.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008792/1.992, allocations: 73.17 kB / 0.7277 GB, free: 187.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005077/1.997, allocations: 1.584 MB / 0.7292 GB, free: 186.7 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007632/1.997, allocations: 1.145 MB / 0.7303 GB, free: 185.9 MB / 0.5573 GB Notification: Performance of SimCode: time 1.302e-06/1.997, allocations: 1.688 kB / 0.7303 GB, free: 185.9 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestThLoad_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestThLoad.fmu > OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe 2>&1)