Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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.LoadTestThLoad,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestThLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad,fileNamePrefix="OpenIPSL_dev_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.00415/0.00415, allocations: 181.6 kB / 7.455 MB, free: 2.246 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.522/1.522, 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.001132/0.001132, allocations: 96.33 kB / 280.1 MB, free: 1.227 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6525/0.6525, allocations: 78.92 MB / 409.8 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2212/0.8737, allocations: 75.64 MB / 485.5 MB, free: 3.543 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4366/1.31, allocations: 69.51 MB / 0.542 GB, free: 20.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1476/1.458, allocations: 99.26 MB / 0.6389 GB, free: 4.723 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002941/1.458, allocations: 83.95 kB / 0.639 GB, free: 4.641 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: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.07805/1.536, allocations: 26.6 MB / 0.6649 GB, free: 9.828 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/1.537, allocations: 8 kB / 0.665 GB, free: 9.82 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003372/1.54, allocations: 0.4979 MB / 0.6654 GB, free: 9.32 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001763/1.542, allocations: 0.6848 MB / 0.6661 GB, free: 8.578 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003167/1.542, allocations: 194.5 kB / 0.6663 GB, free: 8.359 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003131/1.542, allocations: 47.91 kB / 0.6663 GB, free: 8.312 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001991/1.544, allocations: 0.7733 MB / 0.6671 GB, free: 7.539 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00177/1.546, allocations: 0.8189 MB / 0.6679 GB, free: 6.703 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/1.546, allocations: 0 / 0.6679 GB, free: 6.703 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.266e-05/1.546, allocations: 4 kB / 0.6679 GB, free: 6.699 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.031e-05/1.546, allocations: 16 kB / 0.6679 GB, free: 6.684 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006399/1.553, allocations: 2.892 MB / 0.6707 GB, free: 3.691 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001285/1.554, allocations: 0.676 MB / 0.6714 GB, free: 3.012 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008462/1.555, allocations: 0.4992 MB / 0.6719 GB, free: 2.508 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001369/1.555, allocations: 20.77 kB / 0.6719 GB, free: 2.484 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/1.555, allocations: 43.33 kB / 0.6719 GB, free: 2.434 MB / 490.7 MB Notification: Performance of pre-optimization done (n=89): time 2.795e-06/1.555, allocations: 0 / 0.6719 GB, free: 2.434 MB / 490.7 MB Notification: Performance of matching and sorting (n=89): time 0.2613/1.816, allocations: 3.658 MB / 0.6755 GB, free: 142.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/1.817, allocations: 85.27 kB / 0.6756 GB, free: 142.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001307/1.818, allocations: 0.6672 MB / 0.6763 GB, free: 142.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002545/1.818, allocations: 25.7 kB / 0.6763 GB, free: 142.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001738/1.818, allocations: 303.7 kB / 0.6766 GB, free: 142.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002931/1.819, allocations: 302.7 kB / 0.6769 GB, free: 142.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.957e-05/1.819, allocations: 3.5 kB / 0.6769 GB, free: 142.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.809e-05/1.819, allocations: 333 kB / 0.6772 GB, free: 142 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006783/1.819, allocations: 405.2 kB / 0.6776 GB, free: 142 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000679/1.82, allocations: 0.4993 MB / 0.6781 GB, free: 141.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000707/1.821, allocations: 438.3 kB / 0.6785 GB, free: 141.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/1.821, allocations: 0 / 0.6785 GB, free: 141.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.0109/1.832, allocations: 3.801 MB / 0.6822 GB, free: 141.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002349/1.832, allocations: 0.8738 MB / 0.683 GB, free: 140.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/1.832, allocations: 4.375 kB / 0.683 GB, free: 140.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005159/1.837, allocations: 1.525 MB / 0.6845 GB, free: 140.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008783/1.838, allocations: 142.9 kB / 0.6847 GB, free: 140.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003596/1.842, allocations: 1.963 MB / 0.6866 GB, free: 140.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/1.843, allocations: 181.5 kB / 0.6868 GB, free: 140.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/1.843, allocations: 32.39 kB / 0.6868 GB, free: 140.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/1.843, allocations: 2.844 kB / 0.6868 GB, free: 140.2 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01122/1.855, allocations: 3.611 MB / 0.6903 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.748e-05/1.855, allocations: 256 / 0.6903 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005096/1.86, allocations: 1.521 MB / 0.6918 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008188/1.861, allocations: 137.3 kB / 0.6919 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01443/1.875, allocations: 6.194 MB / 0.698 GB, free: 138.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001719/1.877, allocations: 168.5 kB / 0.6981 GB, free: 138.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00014/1.877, allocations: 31.11 kB / 0.6982 GB, free: 138.3 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 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.0004044/1.878, allocations: 115 kB / 0.6983 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003074/1.878, allocations: 111.8 kB / 0.6984 GB, free: 138.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01173/1.89, allocations: 3.748 MB / 0.702 GB, free: 137.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.597e-05/1.89, allocations: 12.59 kB / 0.7021 GB, free: 137.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/1.89, allocations: 4.812 kB / 0.7021 GB, free: 137.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-05/1.89, allocations: 3.562 kB / 0.7021 GB, free: 137.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01442/1.904, allocations: 4.986 MB / 0.7069 GB, free: 137.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-05/1.904, allocations: 0 / 0.7069 GB, free: 137.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000862/1.905, allocations: 125.3 kB / 0.7071 GB, free: 137.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004878/1.91, allocations: 1.494 MB / 0.7085 GB, free: 137 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002755/1.91, allocations: 10.19 kB / 0.7085 GB, free: 137 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01196/1.922, allocations: 5.609 MB / 0.714 GB, free: 135.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/1.922, allocations: 3.656 kB / 0.714 GB, free: 135.2 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01203/1.934, allocations: 4.471 MB / 0.7184 GB, free: 133.9 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01364/1.948, allocations: 5.55 MB / 0.7238 GB, free: 131.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007593/1.949, allocations: 196.9 kB / 0.724 GB, free: 131.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002342/1.949, allocations: 2.75 kB / 0.724 GB, free: 131.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001208/1.95, allocations: 137.5 kB / 0.7241 GB, free: 131.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000332/1.951, allocations: 107.4 kB / 0.7242 GB, free: 131.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.49e-05/1.951, allocations: 24.7 kB / 0.7242 GB, free: 131.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0007317/1.952, allocations: 0.5102 MB / 0.7247 GB, free: 131.4 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003354/1.955, allocations: 0.5227 MB / 0.7252 GB, free: 131.4 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,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.0003312/1.955, allocations: 131.8 kB / 0.7254 GB, free: 131.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009888/1.965, allocations: 2.94 MB / 0.7282 GB, free: 130.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/1.965, allocations: 1.219 kB / 0.7282 GB, free: 130.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004136/1.969, allocations: 1.325 MB / 0.7295 GB, free: 129.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008073/1.97, allocations: 72.16 kB / 0.7296 GB, free: 129.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005366/1.976, allocations: 1.586 MB / 0.7312 GB, free: 128.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001048/1.977, allocations: 1.145 MB / 0.7323 GB, free: 127.7 MB / 490.7 MB Notification: Performance of SimCode: time 1.232e-06/1.977, allocations: 0 / 0.7323 GB, free: 127.7 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestThLoad_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestThLoad.fmu > OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe 2>&1)