Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.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: translateModel(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed") translateModel(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed") [: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.002191/0.002191, allocations: 179.6 kB / 7.461 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.232/1.232, allocations: 221.4 MB / 229.3 MB, free: 2.996 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.000986/0.0009859, allocations: 97.59 kB / 280.1 MB, free: 1.297 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4619/0.4619, allocations: 78.91 MB / 409.8 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.374e-06/7.484e-06, allocations: 0 / 485.4 MB, free: 3.633 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3933/0.3933, allocations: 69.5 MB / 0.5419 GB, free: 20.85 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1265/0.5198, allocations: 96.7 MB / 0.6363 GB, free: 7.246 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/0.5202, allocations: 75.95 kB / 0.6364 GB, free: 7.172 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.05672/0.5769, allocations: 21.14 MB / 0.657 GB, free: 1.871 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.522e-05/0.577, allocations: 16 kB / 0.657 GB, free: 1.855 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: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.004424/0.5814, allocations: 1.512 MB / 0.6585 GB, free: 304 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.5815, allocations: 12.03 kB / 0.6585 GB, free: 292 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003117/0.5846, allocations: 490 kB / 0.659 GB, free: 15.8 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001465/0.5861, allocations: 0.5887 MB / 0.6596 GB, free: 15.18 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002059/0.5863, allocations: 160.1 kB / 0.6597 GB, free: 14.99 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002014/0.5865, allocations: 44 kB / 0.6598 GB, free: 14.95 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001547/0.5881, allocations: 0.7094 MB / 0.6605 GB, free: 14.24 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001376/0.5895, allocations: 0.6404 MB / 0.6611 GB, free: 13.59 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.5895, allocations: 0 / 0.6611 GB, free: 13.59 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.687e-05/0.5896, allocations: 0 / 0.6611 GB, free: 13.59 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.708e-05/0.5896, allocations: 19.91 kB / 0.6611 GB, free: 13.57 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00496/0.5946, allocations: 2.423 MB / 0.6635 GB, free: 11.06 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00115/0.5958, allocations: 0.6136 MB / 0.6641 GB, free: 10.44 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007256/0.5965, allocations: 495.2 kB / 0.6645 GB, free: 9.953 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001075/0.5966, allocations: 16.77 kB / 0.6646 GB, free: 9.938 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.5967, allocations: 47.34 kB / 0.6646 GB, free: 9.883 MB / 490.7 MB Notification: Performance of pre-optimization done (n=83): time 2.775e-06/0.5967, allocations: 0 / 0.6646 GB, free: 9.883 MB / 490.7 MB Notification: Performance of matching and sorting (n=83): time 0.01131/0.608, allocations: 3.671 MB / 0.6682 GB, free: 6.195 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.6081, allocations: 60.19 kB / 0.6682 GB, free: 6.125 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/0.6091, allocations: 0.5789 MB / 0.6688 GB, free: 5.539 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001617/0.6093, allocations: 25.7 kB / 0.6688 GB, free: 5.508 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001866/0.6095, allocations: 256.7 kB / 0.6691 GB, free: 5.254 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003954/0.6099, allocations: 279.8 kB / 0.6693 GB, free: 4.977 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.017e-05/0.6099, allocations: 0 / 0.6693 GB, free: 4.977 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.6101, allocations: 345.8 kB / 0.6697 GB, free: 4.633 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007056/0.6108, allocations: 381.5 kB / 0.67 GB, free: 4.262 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007595/0.6115, allocations: 461.8 kB / 0.6705 GB, free: 3.785 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008237/0.6124, allocations: 418 kB / 0.6709 GB, free: 3.383 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.6124, allocations: 4 kB / 0.6709 GB, free: 3.379 MB / 490.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.225/0.8374, allocations: 3.723 MB / 0.6745 GB, free: 143.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/0.8375, allocations: 3.5 kB / 0.6745 GB, free: 143.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.8375, allocations: 7.266 kB / 0.6745 GB, free: 143.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005549/0.8431, allocations: 1.535 MB / 0.676 GB, free: 143.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007149/0.8438, allocations: 112.1 kB / 0.6761 GB, free: 143.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01268/0.8565, allocations: 6.075 MB / 0.6821 GB, free: 142.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0013/0.8579, allocations: 158.3 kB / 0.6822 GB, free: 142.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.653e-05/0.858, allocations: 27.56 kB / 0.6822 GB, free: 142.2 MB / 490.7 MB Warning: Assuming fixed start value for the following 3 variables: order3_Inputs_Outputs1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real mixed.y:VARIABLE(start = 0.0 protected = true ) type: Real mixed.x:VARIABLE(start = (-mixed.v_0) / mixed.Tfv protected = true ) 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 19} Notification: Performance of prepare postOptimizeDAE: time 0.0002664/0.8582, allocations: 121.9 kB / 0.6824 GB, free: 142.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001661/0.8584, allocations: 100.7 kB / 0.6825 GB, free: 142 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0105/0.8689, allocations: 3.733 MB / 0.6861 GB, free: 142 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.449e-05/0.869, allocations: 10.27 kB / 0.6861 GB, free: 142 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.869, allocations: 0.75 kB / 0.6861 GB, free: 142 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.597e-05/0.869, allocations: 3.094 kB / 0.6861 GB, free: 142 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01235/0.8814, allocations: 5.011 MB / 0.691 GB, free: 141.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-05/0.8814, allocations: 6.656 kB / 0.691 GB, free: 141.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006914/0.8821, allocations: 107.4 kB / 0.6911 GB, free: 141.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00513/0.8873, allocations: 1.507 MB / 0.6926 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001539/0.8874, allocations: 11.78 kB / 0.6926 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01155/0.899, allocations: 5.298 MB / 0.6978 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.491e-06/0.899, allocations: 0 / 0.6978 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01338/0.9124, allocations: 4.399 MB / 0.7021 GB, free: 139.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004319/0.9129, allocations: 183.4 kB / 0.7022 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001685/0.9131, allocations: 3.469 kB / 0.7022 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009989/0.9141, allocations: 114.9 kB / 0.7024 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002922/0.9144, allocations: 98.59 kB / 0.7025 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.349e-05/0.9145, allocations: 26.19 kB / 0.7025 GB, free: 139.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0006328/0.9151, allocations: 460 kB / 0.7029 GB, free: 139.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001313/0.9164, allocations: 337.2 kB / 0.7032 GB, free: 139.1 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,mixed.x,mixed.y) * 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 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002941/0.9168, allocations: 127.1 kB / 0.7034 GB, free: 139 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004783/0.9215, allocations: 1.67 MB / 0.705 GB, free: 138.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.9216, allocations: 0 / 0.705 GB, free: 138.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00357/0.9252, allocations: 1.215 MB / 0.7062 GB, free: 138.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008152/0.926, allocations: 59.09 kB / 0.7062 GB, free: 138.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003597/0.9296, allocations: 1.312 MB / 0.7075 GB, free: 138.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006336/0.9302, allocations: 1.075 MB / 0.7086 GB, free: 137.5 MB / 490.7 MB Notification: Performance of SimCode: time 1.172e-06/0.9303, allocations: 0 / 0.7086 GB, free: 137.5 MB / 490.7 MB Notification: Performance of Templates: time 0.0298/0.9601, allocations: 17.33 MB / 0.7255 GB, free: 136.7 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe 2>&1)