Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.LoadTestMixed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed") translateModel(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_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.003637/0.003637, allocations: 179.3 kB / 7.453 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.223/1.223, 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.0009735/0.0009738, allocations: 96.86 kB / 280.1 MB, free: 1.207 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4309/0.4309, allocations: 78.06 MB / 408.9 MB, free: 15.5 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.272e-06/6.312e-06, allocations: 0 / 484.3 MB, free: 4.41 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2797, allocations: 69.34 MB / 0.5407 GB, free: 21.38 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1141/0.3938, allocations: 96.12 MB / 0.6346 GB, free: 8.672 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002058/0.3941, allocations: 79.94 kB / 0.6347 GB, free: 8.594 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.06263/0.4567, allocations: 20.93 MB / 0.6551 GB, free: 3.512 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001374/0.4569, allocations: 16 kB / 0.6551 GB, free: 3.496 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.00512/0.4621, allocations: 1.515 MB / 0.6566 GB, free: 1.934 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.4621, allocations: 15.95 kB / 0.6566 GB, free: 1.918 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00349/0.4656, allocations: 486 kB / 0.6571 GB, free: 1.441 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001433/0.4671, allocations: 0.581 MB / 0.6576 GB, free: 0.8203 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002628/0.4674, allocations: 164.1 kB / 0.6578 GB, free: 0.6328 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000271/0.4677, allocations: 36 kB / 0.6578 GB, free: 0.5977 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001946/0.4696, allocations: 0.7133 MB / 0.6585 GB, free: 15.89 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001548/0.4712, allocations: 0.6443 MB / 0.6592 GB, free: 15.23 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.4712, allocations: 4 kB / 0.6592 GB, free: 15.23 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.22e-05/0.4713, allocations: 0 / 0.6592 GB, free: 15.23 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.821e-05/0.4713, allocations: 15.91 kB / 0.6592 GB, free: 15.21 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005283/0.4766, allocations: 2.421 MB / 0.6615 GB, free: 12.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001294/0.4779, allocations: 0.6058 MB / 0.6621 GB, free: 12.09 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000811/0.4788, allocations: 495.2 kB / 0.6626 GB, free: 11.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001161/0.4789, allocations: 20.73 kB / 0.6626 GB, free: 11.58 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.4789, allocations: 47.34 kB / 0.6627 GB, free: 11.53 MB / 490.7 MB Notification: Performance of pre-optimization done (n=83): time 3.116e-06/0.4789, allocations: 0 / 0.6627 GB, free: 11.53 MB / 490.7 MB Notification: Performance of matching and sorting (n=83): time 0.01271/0.4916, allocations: 3.663 MB / 0.6662 GB, free: 7.848 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.4917, allocations: 60.19 kB / 0.6663 GB, free: 7.777 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/0.4928, allocations: 0.5829 MB / 0.6669 GB, free: 7.188 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002267/0.4931, allocations: 25.7 kB / 0.6669 GB, free: 7.156 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001922/0.4933, allocations: 256.7 kB / 0.6671 GB, free: 6.902 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004032/0.4937, allocations: 287.6 kB / 0.6674 GB, free: 6.617 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.828e-05/0.4938, allocations: 0 / 0.6674 GB, free: 6.617 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.4939, allocations: 341.9 kB / 0.6677 GB, free: 6.277 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007713/0.4947, allocations: 377.5 kB / 0.6681 GB, free: 5.91 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007994/0.4955, allocations: 461.8 kB / 0.6685 GB, free: 5.434 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008226/0.4963, allocations: 422 kB / 0.6689 GB, free: 5.027 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.4963, allocations: 0 / 0.6689 GB, free: 5.027 MB / 490.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.01271/0.509, allocations: 3.725 MB / 0.6726 GB, free: 1.281 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.5091, allocations: 4 kB / 0.6726 GB, free: 1.277 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.5091, allocations: 11.92 kB / 0.6726 GB, free: 1.266 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1721/0.6812, allocations: 1.53 MB / 0.6741 GB, free: 144.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007185/0.682, allocations: 120.9 kB / 0.6742 GB, free: 144.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01321/0.6952, allocations: 6.078 MB / 0.6801 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/0.6965, allocations: 152.6 kB / 0.6803 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.835e-05/0.6966, allocations: 27.62 kB / 0.6803 GB, free: 142.9 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.0002468/0.6969, allocations: 119 kB / 0.6804 GB, free: 142.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000157/0.6971, allocations: 97.62 kB / 0.6805 GB, free: 142.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01115/0.7082, allocations: 3.746 MB / 0.6842 GB, free: 142.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.085e-05/0.7083, allocations: 18.14 kB / 0.6842 GB, free: 142.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.7083, allocations: 3.375 kB / 0.6842 GB, free: 142.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.18e-05/0.7083, allocations: 3.422 kB / 0.6842 GB, free: 142.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01308/0.7214, allocations: 5.003 MB / 0.6891 GB, free: 142.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.278e-06/0.7215, allocations: 3.188 kB / 0.6891 GB, free: 142.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006865/0.7222, allocations: 107.6 kB / 0.6892 GB, free: 142.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005388/0.7276, allocations: 1.507 MB / 0.6907 GB, free: 142 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001293/0.7277, allocations: 5.297 kB / 0.6907 GB, free: 142 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01133/0.739, allocations: 5.292 MB / 0.6958 GB, free: 140.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.7391, allocations: 5.031 kB / 0.6958 GB, free: 140.6 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01309/0.7522, allocations: 4.401 MB / 0.7001 GB, free: 140.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000316/0.7525, allocations: 183.9 kB / 0.7003 GB, free: 140 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001772/0.7527, allocations: 1.062 kB / 0.7003 GB, free: 140 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/0.7538, allocations: 116.6 kB / 0.7004 GB, free: 140 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002811/0.7541, allocations: 96.94 kB / 0.7005 GB, free: 140 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.785e-05/0.7542, allocations: 27.72 kB / 0.7005 GB, free: 140 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0005778/0.7547, allocations: 461.2 kB / 0.701 GB, free: 139.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001068/0.7558, allocations: 329.2 kB / 0.7013 GB, free: 139.9 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.0002384/0.7561, allocations: 129.2 kB / 0.7014 GB, free: 139.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004468/0.7605, allocations: 1.662 MB / 0.703 GB, free: 139.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.7606, allocations: 4.062 kB / 0.703 GB, free: 139.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003627/0.7642, allocations: 1.221 MB / 0.7042 GB, free: 139.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005768/0.7648, allocations: 57.78 kB / 0.7043 GB, free: 139.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003411/0.7682, allocations: 1.309 MB / 0.7056 GB, free: 139 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006223/0.7689, allocations: 1.07 MB / 0.7066 GB, free: 138.3 MB / 490.7 MB Notification: Performance of SimCode: time 1.092e-06/0.7689, allocations: 7.719 kB / 0.7066 GB, free: 138.3 MB / 490.7 MB Notification: Performance of Templates: time 0.02448/0.7934, allocations: 17.31 MB / 0.7235 GB, free: 137.5 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.sim & ./OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe 2>&1)