Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestThLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.003141/0.003141, allocations: 177.5 kB / 7.456 MB, free: 2.34 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.478/1.478, allocations: 205.2 MB / 213.1 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009731/0.000973, allocations: 96.8 kB / 261.1 MB, free: 13.59 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08047/0.08047, allocations: 12.18 MB / 321.2 MB, free: 1.359 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3006/0.3006, allocations: 78.05 MB / 449.9 MB, free: 3.652 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3298/0.6304, allocations: 76.09 MB / 0.5137 GB, free: 30.28 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.7616, allocations: 69.24 MB / 0.5813 GB, free: 9.137 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4094/1.171, allocations: 100.2 MB / 0.6792 GB, free: 8.66 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002398/1.171, allocations: 84.39 kB / 0.6793 GB, free: 8.617 MB / 426.7 MB 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.07132/1.243, allocations: 25.77 MB / 0.7044 GB, free: 3.215 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/1.243, allocations: 19.94 kB / 0.7044 GB, free: 3.195 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003014/1.246, allocations: 0.4926 MB / 0.7049 GB, free: 2.742 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001387/1.247, allocations: 0.6939 MB / 0.7056 GB, free: 2.129 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002434/1.247, allocations: 202.4 kB / 0.7058 GB, free: 1.906 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/1.248, allocations: 40 kB / 0.7058 GB, free: 1.867 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001525/1.249, allocations: 0.7758 MB / 0.7066 GB, free: 1.391 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001485/1.251, allocations: 0.8205 MB / 0.7074 GB, free: 0.8047 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.216e-05/1.251, allocations: 3.906 kB / 0.7074 GB, free: 0.8008 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.643e-05/1.251, allocations: 0 / 0.7074 GB, free: 0.8008 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.28e-05/1.251, allocations: 20 kB / 0.7074 GB, free: 0.7812 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005485/1.256, allocations: 2.893 MB / 0.7102 GB, free: 14.45 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001096/1.257, allocations: 0.667 MB / 0.7109 GB, free: 14.05 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007215/1.258, allocations: 0.5069 MB / 0.7114 GB, free: 13.77 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001099/1.258, allocations: 8.781 kB / 0.7114 GB, free: 13.76 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/1.258, allocations: 46.39 kB / 0.7114 GB, free: 13.71 MB / 458.7 MB Notification: Performance of pre-optimization done (n=89): time 3.096e-06/1.258, allocations: 0 / 0.7114 GB, free: 13.71 MB / 458.7 MB Notification: Performance of matching and sorting (n=89): time 0.01127/1.269, allocations: 3.664 MB / 0.715 GB, free: 10.51 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.598e-05/1.27, allocations: 85.89 kB / 0.7151 GB, free: 10.41 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001304/1.271, allocations: 0.6619 MB / 0.7157 GB, free: 9.898 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003825/1.271, allocations: 25.7 kB / 0.7158 GB, free: 9.867 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002832/1.272, allocations: 311 kB / 0.7161 GB, free: 9.605 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005517/1.272, allocations: 296.3 kB / 0.7164 GB, free: 9.344 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.428e-05/1.272, allocations: 0 / 0.7164 GB, free: 9.344 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002128/1.273, allocations: 344.5 kB / 0.7167 GB, free: 9.016 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007727/1.273, allocations: 405.3 kB / 0.7171 GB, free: 8.797 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007565/1.274, allocations: 0.4937 MB / 0.7175 GB, free: 8.469 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007442/1.275, allocations: 444.3 kB / 0.718 GB, free: 8.219 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/1.275, allocations: 0 / 0.718 GB, free: 8.219 MB / 458.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.01153/1.286, allocations: 3.802 MB / 0.7217 GB, free: 4.914 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000388/1.287, allocations: 0.8743 MB / 0.7225 GB, free: 3.988 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/1.287, allocations: 8 kB / 0.7225 GB, free: 3.98 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00544/1.292, allocations: 1.514 MB / 0.724 GB, free: 2.668 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008812/1.293, allocations: 147.6 kB / 0.7242 GB, free: 2.527 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003872/1.297, allocations: 1.965 MB / 0.7261 GB, free: 1.082 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001516/1.299, allocations: 179.2 kB / 0.7263 GB, free: 0.9062 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/1.299, allocations: 30.42 kB / 0.7263 GB, free: 0.8828 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/1.299, allocations: 4 kB / 0.7263 GB, free: 0.8789 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01157/1.31, allocations: 3.612 MB / 0.7298 GB, free: 13.77 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/1.31, allocations: 0 / 0.7298 GB, free: 13.77 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005409/1.316, allocations: 1.511 MB / 0.7313 GB, free: 12.46 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009648/1.317, allocations: 147.6 kB / 0.7314 GB, free: 12.32 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0144/1.331, allocations: 6.201 MB / 0.7375 GB, free: 7.684 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001558/1.333, allocations: 167.3 kB / 0.7376 GB, free: 7.52 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/1.333, allocations: 31.98 kB / 0.7377 GB, free: 7.488 MB / 474.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 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.0003705/1.333, allocations: 120.7 kB / 0.7378 GB, free: 7.363 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002538/1.334, allocations: 106.7 kB / 0.7379 GB, free: 7.258 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01177/1.345, allocations: 3.758 MB / 0.7416 GB, free: 3.48 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.521e-05/1.345, allocations: 8 kB / 0.7416 GB, free: 3.473 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/1.345, allocations: 0 / 0.7416 GB, free: 3.473 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.228e-05/1.345, allocations: 3.984 kB / 0.7416 GB, free: 3.469 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01382/1.359, allocations: 4.996 MB / 0.7465 GB, free: 14.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/1.359, allocations: 0 / 0.7465 GB, free: 14.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009332/1.36, allocations: 123.9 kB / 0.7466 GB, free: 14.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005058/1.365, allocations: 1.495 MB / 0.748 GB, free: 12.77 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001864/1.366, allocations: 11.98 kB / 0.748 GB, free: 12.76 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01313/1.379, allocations: 5.598 MB / 0.7535 GB, free: 7.043 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/1.379, allocations: 4 kB / 0.7535 GB, free: 7.039 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01285/1.392, allocations: 4.467 MB / 0.7579 GB, free: 2.547 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01427/1.406, allocations: 5.551 MB / 0.7633 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004977/1.406, allocations: 191.6 kB / 0.7635 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002009/1.407, allocations: 4 kB / 0.7635 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001125/1.408, allocations: 143.8 kB / 0.7636 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003187/1.408, allocations: 108.6 kB / 0.7637 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.051e-05/1.408, allocations: 23.98 kB / 0.7637 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.000735/1.409, allocations: 0.509 MB / 0.7642 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002838/1.412, allocations: 0.5224 MB / 0.7648 GB, free: 11.45 MB / 0.4948 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.0004072/1.412, allocations: 139.1 kB / 0.7649 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008771/1.421, allocations: 2.944 MB / 0.7678 GB, free: 8.34 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.124e-06/1.421, allocations: 0 / 0.7678 GB, free: 8.34 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004225/1.425, allocations: 1.324 MB / 0.7691 GB, free: 7.004 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00122/1.427, allocations: 66.77 kB / 0.7691 GB, free: 6.938 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005283/1.432, allocations: 1.592 MB / 0.7707 GB, free: 5.312 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009943/1.433, allocations: 1.147 MB / 0.7718 GB, free: 4.137 MB / 0.4948 GB Notification: Performance of SimCode: time 1.403e-06/1.433, allocations: 0 / 0.7718 GB, free: 4.137 MB / 0.4948 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestThLoad_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestThLoad.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe 2>&1)