Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.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.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test") translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test") [: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.003156/0.003156, allocations: 183.9 kB / 7.459 MB, free: 2.52 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.248/1.248, 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.0009385/0.0009382, allocations: 91.92 kB / 280.1 MB, free: 1.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4777/0.4777, allocations: 78.92 MB / 409.8 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.244e-06/7.254e-06, allocations: 0 / 485.3 MB, free: 3.645 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3861/0.3861, allocations: 69.51 MB / 0.5418 GB, free: 20.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1373/0.5235, allocations: 100.4 MB / 0.6399 GB, free: 3.547 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002732/0.5238, allocations: 71.97 kB / 0.64 GB, free: 3.477 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.06912/0.5929, allocations: 24.39 MB / 0.6638 GB, free: 10.88 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.83e-05/0.593, allocations: 23.94 kB / 0.6638 GB, free: 10.85 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.004824/0.5979, allocations: 1.558 MB / 0.6653 GB, free: 9.242 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.5979, allocations: 12.03 kB / 0.6653 GB, free: 9.23 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002576/0.6005, allocations: 434 kB / 0.6658 GB, free: 8.805 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001704/0.6022, allocations: 0.7507 MB / 0.6665 GB, free: 8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002604/0.6025, allocations: 189.8 kB / 0.6667 GB, free: 7.785 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.6026, allocations: 40 kB / 0.6667 GB, free: 7.746 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001314/0.604, allocations: 0.6704 MB / 0.6674 GB, free: 7.074 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.6052, allocations: 0.6286 MB / 0.668 GB, free: 6.441 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.6052, allocations: 0 / 0.668 GB, free: 6.441 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.244e-05/0.6053, allocations: 0 / 0.668 GB, free: 6.441 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.697e-05/0.6053, allocations: 16 kB / 0.668 GB, free: 6.426 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005746/0.611, allocations: 3.197 MB / 0.6711 GB, free: 3.059 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008717/0.6119, allocations: 455 kB / 0.6715 GB, free: 2.609 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006448/0.6126, allocations: 422.8 kB / 0.672 GB, free: 2.195 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.68e-05/0.6127, allocations: 16.62 kB / 0.672 GB, free: 2.176 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007717/0.6135, allocations: 479 kB / 0.6724 GB, free: 1.699 MB / 490.7 MB Notification: Performance of pre-optimization done (n=74): time 2.254e-06/0.6135, allocations: 0 / 0.6724 GB, free: 1.699 MB / 490.7 MB Notification: Performance of matching and sorting (n=74): time 0.2362/0.8497, allocations: 2.743 MB / 0.6751 GB, free: 143.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.8498, allocations: 63.31 kB / 0.6752 GB, free: 143.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/0.8509, allocations: 0.7144 MB / 0.6759 GB, free: 143 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001756/0.8511, allocations: 25.7 kB / 0.6759 GB, free: 143 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.8512, allocations: 310 kB / 0.6762 GB, free: 142.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002454/0.8515, allocations: 258.1 kB / 0.6764 GB, free: 142.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.349e-05/0.8516, allocations: 0 / 0.6764 GB, free: 142.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.339e-05/0.8516, allocations: 334.4 kB / 0.6767 GB, free: 142.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005714/0.8522, allocations: 356.9 kB / 0.6771 GB, free: 142.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005705/0.8528, allocations: 449.9 kB / 0.6775 GB, free: 142.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006003/0.8534, allocations: 390.8 kB / 0.6779 GB, free: 142.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.8534, allocations: 0 / 0.6779 GB, free: 142.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.007439/0.8609, allocations: 2.78 MB / 0.6806 GB, free: 142.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.8609, allocations: 3.812 kB / 0.6806 GB, free: 142.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/0.8609, allocations: 6.344 kB / 0.6806 GB, free: 142.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004371/0.8653, allocations: 1.286 MB / 0.6819 GB, free: 142.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008197/0.8662, allocations: 140.8 kB / 0.682 GB, free: 142.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007694/0.8739, allocations: 4.078 MB / 0.686 GB, free: 140.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/0.8754, allocations: 155.5 kB / 0.6861 GB, free: 140.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.09e-05/0.8755, allocations: 28.81 kB / 0.6862 GB, free: 140.8 MB / 490.7 MB Warning: Assuming fixed start value for the following 1 variables: Gen1.delta:VARIABLE(start = Gen1.delta0 unit = "rad" ) "Rotor angle" 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: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {14 8} Notification: Performance of prepare postOptimizeDAE: time 0.0002656/0.8757, allocations: 126 kB / 0.6863 GB, free: 140.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000154/0.8759, allocations: 106.8 kB / 0.6864 GB, free: 140.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007864/0.8838, allocations: 2.822 MB / 0.6891 GB, free: 140.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.381e-05/0.8838, allocations: 6.531 kB / 0.6891 GB, free: 140.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.8838, allocations: 3.562 kB / 0.6891 GB, free: 140.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.36e-05/0.8838, allocations: 10.7 kB / 0.6892 GB, free: 140.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009551/0.8934, allocations: 3.994 MB / 0.6931 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.926e-06/0.8935, allocations: 0 / 0.6931 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006132/0.8941, allocations: 102.9 kB / 0.6932 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004598/0.8987, allocations: 1.363 MB / 0.6945 GB, free: 139.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001263/0.8989, allocations: 3.812 kB / 0.6945 GB, free: 139.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009478/0.9083, allocations: 4.467 MB / 0.6989 GB, free: 138.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.9084, allocations: 3.422 kB / 0.6989 GB, free: 138.3 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01016/0.9185, allocations: 3.442 MB / 0.7022 GB, free: 137.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004355/0.919, allocations: 199.3 kB / 0.7024 GB, free: 137.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003407/0.9194, allocations: 1.156 kB / 0.7024 GB, free: 137.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001365/0.9207, allocations: 112 kB / 0.7025 GB, free: 137.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002997/0.9211, allocations: 95.47 kB / 0.7026 GB, free: 137.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.691e-05/0.9212, allocations: 20.88 kB / 0.7026 GB, free: 137.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.00104/0.9222, allocations: 0.5467 MB / 0.7032 GB, free: 137.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001426/0.9236, allocations: 310.7 kB / 0.7035 GB, free: 137.6 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (tCSC.PIcontroller.x_scaled[1],tCSC.X1.state,Gen1.delta,Gen1.w) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {15 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003199/0.924, allocations: 131.9 kB / 0.7036 GB, free: 137.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00397/0.928, allocations: 1.526 MB / 0.7051 GB, free: 137.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.928, allocations: 1.125 kB / 0.7051 GB, free: 137.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00302/0.931, allocations: 1.118 MB / 0.7062 GB, free: 137 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007808/0.9318, allocations: 66.81 kB / 0.7062 GB, free: 137 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004087/0.9359, allocations: 1.297 MB / 0.7075 GB, free: 136.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008711/0.9368, allocations: 1.113 MB / 0.7086 GB, free: 135.9 MB / 490.7 MB Notification: Performance of SimCode: time 8.62e-07/0.9368, allocations: 0 / 0.7086 GB, free: 135.9 MB / 490.7 MB Notification: Performance of Templates: time 0.02788/0.9647, allocations: 15.13 MB / 0.7234 GB, free: 135.2 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1)