Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL_Tests_Loads_PSAT_LoadTestThLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad,fileNamePrefix="OpenIPSL_release_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.002196/0.002196, allocations: 178.8 kB / 7.457 MB, free: 2.5 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.086/1.086, allocations: 221.4 MB / 229.3 MB, free: 3.023 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.0008958/0.0008957, allocations: 102.2 kB / 280.1 MB, free: 1.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3706/0.3706, allocations: 78.11 MB / 409 MB, free: 15.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1209/0.4915, allocations: 75.49 MB / 484.5 MB, free: 4.562 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.7312, allocations: 69.34 MB / 0.5408 GB, free: 21.4 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1013/0.8325, allocations: 98.68 MB / 0.6372 GB, free: 6.254 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001947/0.8327, allocations: 75.95 kB / 0.6373 GB, free: 6.18 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.06875/0.9015, allocations: 26.38 MB / 0.663 GB, free: 11.59 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.9015, allocations: 8 kB / 0.663 GB, free: 11.58 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002878/0.9044, allocations: 0.4901 MB / 0.6635 GB, free: 11.09 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001223/0.9057, allocations: 0.6964 MB / 0.6642 GB, free: 10.34 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002065/0.9059, allocations: 194.5 kB / 0.6644 GB, free: 10.12 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001525/0.9061, allocations: 51.91 kB / 0.6644 GB, free: 10.07 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001388/0.9075, allocations: 0.7732 MB / 0.6652 GB, free: 9.293 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001374/0.9088, allocations: 0.8112 MB / 0.666 GB, free: 8.465 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.9089, allocations: 0 / 0.666 GB, free: 8.465 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.682e-05/0.9089, allocations: 0 / 0.666 GB, free: 8.465 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.628e-05/0.909, allocations: 16 kB / 0.666 GB, free: 8.449 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004908/0.9139, allocations: 2.9 MB / 0.6688 GB, free: 5.449 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/0.915, allocations: 0.6692 MB / 0.6695 GB, free: 4.773 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007528/0.9157, allocations: 0.5051 MB / 0.67 GB, free: 4.266 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.939e-05/0.9158, allocations: 16.77 kB / 0.67 GB, free: 4.246 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.9159, allocations: 43.34 kB / 0.67 GB, free: 4.195 MB / 490.7 MB Notification: Performance of pre-optimization done (n=89): time 1.984e-06/0.9159, allocations: 0 / 0.67 GB, free: 4.195 MB / 490.7 MB Notification: Performance of matching and sorting (n=89): time 0.01045/0.9263, allocations: 3.655 MB / 0.6736 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.9264, allocations: 85.89 kB / 0.6737 GB, free: 436 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1406/1.067, allocations: 0.669 MB / 0.6743 GB, free: 143.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002194/1.067, allocations: 25.7 kB / 0.6744 GB, free: 143.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/1.067, allocations: 302.4 kB / 0.6747 GB, free: 143 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000352/1.068, allocations: 302.9 kB / 0.6749 GB, free: 142.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.316e-05/1.068, allocations: 0 / 0.6749 GB, free: 142.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.965e-05/1.068, allocations: 339.2 kB / 0.6753 GB, free: 142.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000618/1.069, allocations: 395.3 kB / 0.6756 GB, free: 142.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006648/1.069, allocations: 0.5041 MB / 0.6761 GB, free: 142.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006593/1.07, allocations: 436.8 kB / 0.6766 GB, free: 142.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/1.07, allocations: 3.969 kB / 0.6766 GB, free: 142.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.01027/1.08, allocations: 3.803 MB / 0.6803 GB, free: 142.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001494/1.08, allocations: 0.8756 MB / 0.6811 GB, free: 141.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/1.08, allocations: 0 / 0.6811 GB, free: 141.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004655/1.085, allocations: 1.528 MB / 0.6826 GB, free: 141.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006559/1.086, allocations: 139.6 kB / 0.6828 GB, free: 141.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003107/1.089, allocations: 1.969 MB / 0.6847 GB, free: 140.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/1.09, allocations: 179.9 kB / 0.6848 GB, free: 140.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/1.09, allocations: 22.28 kB / 0.6849 GB, free: 140.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.753e-06/1.09, allocations: 3.781 kB / 0.6849 GB, free: 140.8 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009707/1.1, allocations: 3.618 MB / 0.6884 GB, free: 140.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/1.1, allocations: 5.844 kB / 0.6884 GB, free: 140.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004494/1.104, allocations: 1.51 MB / 0.6899 GB, free: 140.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006408/1.105, allocations: 140.7 kB / 0.69 GB, free: 140.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01145/1.117, allocations: 6.194 MB / 0.6961 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/1.118, allocations: 167.5 kB / 0.6962 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.045e-05/1.118, allocations: 31.88 kB / 0.6963 GB, free: 139 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.0002298/1.118, allocations: 120.2 kB / 0.6964 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001929/1.118, allocations: 114.2 kB / 0.6965 GB, free: 138.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01014/1.128, allocations: 3.748 MB / 0.7001 GB, free: 138.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/1.128, allocations: 7.938 kB / 0.7001 GB, free: 138.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.175e-06/1.128, allocations: 1.281 kB / 0.7002 GB, free: 138.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/1.128, allocations: 3.609 kB / 0.7002 GB, free: 138.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01167/1.14, allocations: 4.984 MB / 0.705 GB, free: 137.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.768e-06/1.14, allocations: 0 / 0.705 GB, free: 137.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007261/1.141, allocations: 126.1 kB / 0.7051 GB, free: 137.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004571/1.145, allocations: 1.499 MB / 0.7066 GB, free: 137.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001378/1.146, allocations: 6.812 kB / 0.7066 GB, free: 137.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01067/1.156, allocations: 5.598 MB / 0.7121 GB, free: 136.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.156, allocations: 11.91 kB / 0.7121 GB, free: 136.1 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01072/1.167, allocations: 4.473 MB / 0.7165 GB, free: 134.8 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01173/1.179, allocations: 5.542 MB / 0.7219 GB, free: 132.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003382/1.179, allocations: 201 kB / 0.7221 GB, free: 132.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002504/1.179, allocations: 4 kB / 0.7221 GB, free: 132.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001144/1.181, allocations: 134.9 kB / 0.7222 GB, free: 132.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002919/1.181, allocations: 107.9 kB / 0.7223 GB, free: 132.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.328e-05/1.181, allocations: 25.03 kB / 0.7223 GB, free: 132.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0007027/1.182, allocations: 0.5135 MB / 0.7228 GB, free: 132.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002587/1.184, allocations: 0.5202 MB / 0.7233 GB, free: 132.3 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.000243/1.184, allocations: 132.8 kB / 0.7235 GB, free: 132.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007624/1.192, allocations: 2.939 MB / 0.7263 GB, free: 131.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/1.192, allocations: 4.062 kB / 0.7263 GB, free: 131.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003564/1.196, allocations: 1.321 MB / 0.7276 GB, free: 130.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005603/1.196, allocations: 69.16 kB / 0.7277 GB, free: 130.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004532/1.201, allocations: 1.588 MB / 0.7292 GB, free: 130.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008505/1.202, allocations: 1.144 MB / 0.7304 GB, free: 129.3 MB / 490.7 MB Notification: Performance of SimCode: time 2.8e-07/1.202, allocations: 0 / 0.7304 GB, free: 129.3 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Loads_PSAT_LoadTestThLoad_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Loads_PSAT_LoadTestThLoad.fmu > OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe 2>&1)