Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.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: translateModel(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ") translateModel(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ") [: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.00391/0.00391, allocations: 179.5 kB / 7.455 MB, free: 2.508 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.319/1.319, allocations: 221.4 MB / 229.3 MB, free: 3.059 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.000915/0.0009149, allocations: 104.9 kB / 280.1 MB, free: 1.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4293/0.4293, allocations: 78.05 MB / 408.9 MB, free: 15.53 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.177e-06/9.408e-06, allocations: 0 / 484.3 MB, free: 4.414 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2901, allocations: 69.36 MB / 0.5407 GB, free: 21.34 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1173/0.4075, allocations: 95.98 MB / 0.6344 GB, free: 8.836 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002624/0.4078, allocations: 75.95 kB / 0.6345 GB, free: 8.762 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.06306/0.4709, allocations: 20.52 MB / 0.6546 GB, free: 4.082 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.35e-05/0.471, allocations: 16 kB / 0.6546 GB, free: 4.066 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.004662/0.4756, allocations: 1.515 MB / 0.6561 GB, free: 2.5 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.4757, allocations: 8.031 kB / 0.6561 GB, free: 2.492 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003323/0.479, allocations: 486.1 kB / 0.6565 GB, free: 2.016 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001474/0.4805, allocations: 0.6095 MB / 0.6571 GB, free: 1.367 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002145/0.4808, allocations: 160.1 kB / 0.6573 GB, free: 1.188 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002106/0.481, allocations: 36 kB / 0.6573 GB, free: 1.152 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001549/0.4825, allocations: 0.6821 MB / 0.658 GB, free: 480 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/0.484, allocations: 0.617 MB / 0.6586 GB, free: 15.85 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.484, allocations: 3.984 kB / 0.6586 GB, free: 15.84 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.757e-05/0.4841, allocations: 0 / 0.6586 GB, free: 15.84 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.967e-05/0.4841, allocations: 19.91 kB / 0.6586 GB, free: 15.82 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004914/0.489, allocations: 2.344 MB / 0.6609 GB, free: 13.39 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009015/0.4899, allocations: 0.5274 MB / 0.6614 GB, free: 12.85 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007662/0.4907, allocations: 476.8 kB / 0.6619 GB, free: 12.39 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001062/0.4908, allocations: 12.66 kB / 0.6619 GB, free: 12.38 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.4909, allocations: 43.22 kB / 0.6619 GB, free: 12.32 MB / 490.7 MB Notification: Performance of pre-optimization done (n=76): time 2.504e-06/0.4909, allocations: 0 / 0.6619 GB, free: 12.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=76): time 0.01132/0.5022, allocations: 3.457 MB / 0.6653 GB, free: 8.852 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.5023, allocations: 60.06 kB / 0.6653 GB, free: 8.781 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001111/0.5034, allocations: 0.575 MB / 0.6659 GB, free: 8.199 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001846/0.5036, allocations: 29.7 kB / 0.6659 GB, free: 8.164 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001992/0.5038, allocations: 264.5 kB / 0.6662 GB, free: 7.902 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003969/0.5042, allocations: 260.1 kB / 0.6664 GB, free: 7.645 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.815e-05/0.5043, allocations: 0 / 0.6664 GB, free: 7.645 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.5044, allocations: 334 kB / 0.6668 GB, free: 7.312 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007709/0.5052, allocations: 361.5 kB / 0.6671 GB, free: 6.961 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000777/0.506, allocations: 449.7 kB / 0.6675 GB, free: 6.492 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007833/0.5068, allocations: 391.1 kB / 0.6679 GB, free: 6.117 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.5068, allocations: 4 kB / 0.6679 GB, free: 6.113 MB / 490.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.01188/0.5187, allocations: 3.543 MB / 0.6714 GB, free: 2.555 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.5188, allocations: 11.98 kB / 0.6714 GB, free: 2.543 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.5188, allocations: 0 / 0.6714 GB, free: 2.543 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005578/0.5244, allocations: 1.414 MB / 0.6728 GB, free: 1.125 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009334/0.5254, allocations: 119.8 kB / 0.6729 GB, free: 1.008 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1759/0.7013, allocations: 5.487 MB / 0.6782 GB, free: 144 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/0.7026, allocations: 153.4 kB / 0.6784 GB, free: 143.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.459e-05/0.7027, allocations: 17.16 kB / 0.6784 GB, free: 143.9 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002368/0.7029, allocations: 116.5 kB / 0.6785 GB, free: 143.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000166/0.7031, allocations: 98.06 kB / 0.6786 GB, free: 143.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009807/0.7129, allocations: 3.517 MB / 0.682 GB, free: 143.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.909e-05/0.713, allocations: 10.28 kB / 0.682 GB, free: 143.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.713, allocations: 0 / 0.682 GB, free: 143.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.438e-05/0.713, allocations: 3.891 kB / 0.682 GB, free: 143.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01188/0.7249, allocations: 4.65 MB / 0.6866 GB, free: 143.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/0.7249, allocations: 0 / 0.6866 GB, free: 143.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006966/0.7256, allocations: 110.4 kB / 0.6867 GB, free: 143.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004347/0.73, allocations: 1.395 MB / 0.6881 GB, free: 143.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001342/0.7302, allocations: 0 / 0.6881 GB, free: 143.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00986/0.74, allocations: 4.8 MB / 0.6927 GB, free: 141.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.7401, allocations: 3.594 kB / 0.6927 GB, free: 141.8 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0115/0.7516, allocations: 4.194 MB / 0.6968 GB, free: 141.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002902/0.7519, allocations: 183.1 kB / 0.697 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001706/0.7521, allocations: 0 / 0.697 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009849/0.7531, allocations: 121.8 kB / 0.6971 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002684/0.7534, allocations: 96.81 kB / 0.6972 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.72e-05/0.7534, allocations: 24.08 kB / 0.6972 GB, free: 141.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0005623/0.754, allocations: 456.8 kB / 0.6977 GB, free: 141.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009778/0.755, allocations: 305.9 kB / 0.698 GB, free: 141.1 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002286/0.7552, allocations: 133.1 kB / 0.6981 GB, free: 141 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00434/0.7596, allocations: 1.6 MB / 0.6997 GB, free: 140.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.7596, allocations: 1.188 kB / 0.6997 GB, free: 140.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003399/0.763, allocations: 1.182 MB / 0.7008 GB, free: 140.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005795/0.7636, allocations: 55.66 kB / 0.7009 GB, free: 140.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003137/0.7667, allocations: 1.221 MB / 0.7021 GB, free: 140.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006017/0.7674, allocations: 1.06 MB / 0.7031 GB, free: 139.5 MB / 490.7 MB Notification: Performance of SimCode: time 5.01e-07/0.7674, allocations: 0 / 0.7031 GB, free: 139.5 MB / 490.7 MB Notification: Performance of Templates: time 0.02425/0.7916, allocations: 15.25 MB / 0.718 GB, free: 138.8 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.sim & ./OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe 2>&1)