Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL.Tests.FACTS.TCSC_Test") translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.001727/0.001727, allocations: 175.9 kB / 7.46 MB, free: 2.484 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.043/1.043, allocations: 221.4 MB / 229.3 MB, free: 3.176 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.0007964/0.0007964, allocations: 99.48 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.3619/0.3619, allocations: 78.1 MB / 409 MB, free: 15.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.04e-06/5.15e-06, allocations: 0 / 484.4 MB, free: 4.562 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.2345, allocations: 69.34 MB / 0.5407 GB, free: 21.32 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1011/0.3356, allocations: 99.82 MB / 0.6382 GB, free: 5.109 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000184/0.3359, allocations: 71.97 kB / 0.6383 GB, free: 5.039 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.0625/0.3984, allocations: 24.22 MB / 0.6619 GB, free: 12.61 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.502e-05/0.3984, allocations: 19.94 kB / 0.662 GB, free: 12.59 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.003832/0.4023, allocations: 1.562 MB / 0.6635 GB, free: 10.98 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.4023, allocations: 12.03 kB / 0.6635 GB, free: 10.96 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002351/0.4047, allocations: 426 kB / 0.6639 GB, free: 10.55 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001563/0.4063, allocations: 0.7545 MB / 0.6646 GB, free: 9.738 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002199/0.4065, allocations: 197.8 kB / 0.6648 GB, free: 9.516 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001319/0.4066, allocations: 44 kB / 0.6649 GB, free: 9.473 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001212/0.4079, allocations: 0.6704 MB / 0.6655 GB, free: 8.801 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/0.4089, allocations: 0.6247 MB / 0.6661 GB, free: 8.172 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.409, allocations: 0 / 0.6661 GB, free: 8.172 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.679e-05/0.409, allocations: 0 / 0.6661 GB, free: 8.172 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/0.4091, allocations: 16 kB / 0.6662 GB, free: 8.156 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005226/0.4143, allocations: 3.197 MB / 0.6693 GB, free: 4.789 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007932/0.4151, allocations: 455.1 kB / 0.6697 GB, free: 4.34 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005832/0.4157, allocations: 429.3 kB / 0.6701 GB, free: 3.922 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.716e-05/0.4158, allocations: 8.656 kB / 0.6701 GB, free: 3.91 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006895/0.4165, allocations: 483 kB / 0.6706 GB, free: 3.43 MB / 490.7 MB Notification: Performance of pre-optimization done (n=74): time 2.004e-06/0.4165, allocations: 0 / 0.6706 GB, free: 3.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=74): time 0.007861/0.4244, allocations: 2.745 MB / 0.6733 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.652e-05/0.4244, allocations: 64.06 kB / 0.6733 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1343/0.5587, allocations: 0.716 MB / 0.674 GB, free: 143.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001162/0.5588, allocations: 25.7 kB / 0.6741 GB, free: 143.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.559, allocations: 307.1 kB / 0.6743 GB, free: 143.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000188/0.5592, allocations: 249.9 kB / 0.6746 GB, free: 143.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.411e-05/0.5592, allocations: 0 / 0.6746 GB, free: 143.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.408e-05/0.5593, allocations: 336.6 kB / 0.6749 GB, free: 143 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005065/0.5598, allocations: 358.5 kB / 0.6752 GB, free: 143 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005127/0.5603, allocations: 454.2 kB / 0.6757 GB, free: 142.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005179/0.5608, allocations: 395.5 kB / 0.6761 GB, free: 142.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.5608, allocations: 0 / 0.6761 GB, free: 142.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.006798/0.5676, allocations: 2.774 MB / 0.6788 GB, free: 142.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.718e-06/0.5676, allocations: 7.719 kB / 0.6788 GB, free: 142.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.5677, allocations: 0 / 0.6788 GB, free: 142.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003905/0.5716, allocations: 1.282 MB / 0.68 GB, free: 142.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006307/0.5722, allocations: 140.8 kB / 0.6802 GB, free: 142.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00711/0.5793, allocations: 4.084 MB / 0.6841 GB, free: 141.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/0.5804, allocations: 154.7 kB / 0.6843 GB, free: 141.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.24e-05/0.5804, allocations: 31.25 kB / 0.6843 GB, free: 141.4 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.0001867/0.5806, allocations: 115.2 kB / 0.6844 GB, free: 141.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.5808, allocations: 105.8 kB / 0.6845 GB, free: 141.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007391/0.5882, allocations: 2.827 MB / 0.6873 GB, free: 141.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.5882, allocations: 7.188 kB / 0.6873 GB, free: 141.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.5882, allocations: 4 kB / 0.6873 GB, free: 141.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.5882, allocations: 3.891 kB / 0.6873 GB, free: 141.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008256/0.5965, allocations: 3.992 MB / 0.6912 GB, free: 140.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.5965, allocations: 0 / 0.6912 GB, free: 140.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005285/0.597, allocations: 100.9 kB / 0.6913 GB, free: 140.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004264/0.6013, allocations: 1.357 MB / 0.6926 GB, free: 140.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.271e-05/0.6014, allocations: 5.469 kB / 0.6926 GB, free: 140.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008/0.6094, allocations: 4.483 MB / 0.697 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.6094, allocations: 0 / 0.697 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008575/0.618, allocations: 3.437 MB / 0.7004 GB, free: 138.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003105/0.6183, allocations: 190.9 kB / 0.7006 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001632/0.6185, allocations: 5.688 kB / 0.7006 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009812/0.6195, allocations: 117.9 kB / 0.7007 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002273/0.6197, allocations: 91.66 kB / 0.7008 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.871e-05/0.6198, allocations: 18.97 kB / 0.7008 GB, free: 138.4 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0006561/0.6205, allocations: 0.5487 MB / 0.7013 GB, free: 138.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009346/0.6214, allocations: 316.1 kB / 0.7016 GB, free: 138.3 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.0002172/0.6216, allocations: 137.2 kB / 0.7017 GB, free: 138.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003461/0.6251, allocations: 1.524 MB / 0.7032 GB, free: 137.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.6251, allocations: 0 / 0.7032 GB, free: 137.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002775/0.6279, allocations: 1.118 MB / 0.7043 GB, free: 137.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004895/0.6284, allocations: 64.55 kB / 0.7044 GB, free: 137.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002994/0.6314, allocations: 1.299 MB / 0.7057 GB, free: 137.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006288/0.632, allocations: 1.114 MB / 0.7067 GB, free: 136.5 MB / 490.7 MB Notification: Performance of SimCode: time 3.21e-07/0.6321, allocations: 0 / 0.7067 GB, free: 136.5 MB / 490.7 MB Notification: Performance of Templates: time 0.02082/0.6529, allocations: 15.13 MB / 0.7215 GB, free: 135.8 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.sim & ./OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1)