Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test") translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.002865/0.002865, allocations: 178.7 kB / 7.447 MB, free: 2.312 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.0009525/0.0009523, allocations: 93.48 kB / 280.1 MB, free: 1.227 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4113/0.4113, allocations: 78.06 MB / 408.9 MB, free: 15.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.492e-06/6.512e-06, allocations: 4 kB / 484.3 MB, free: 4.496 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2506/0.2506, allocations: 69.33 MB / 0.5407 GB, free: 21.49 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1137/0.3643, allocations: 99.83 MB / 0.6382 GB, free: 5.09 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001995/0.3646, allocations: 71.97 kB / 0.6383 GB, free: 5.02 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.07423/0.4388, allocations: 24.23 MB / 0.6619 GB, free: 12.56 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.705e-05/0.4389, allocations: 19.94 kB / 0.6619 GB, free: 12.54 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.004854/0.4438, allocations: 1.554 MB / 0.6635 GB, free: 10.93 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.4438, allocations: 8.031 kB / 0.6635 GB, free: 10.93 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002917/0.4468, allocations: 434 kB / 0.6639 GB, free: 10.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002187/0.449, allocations: 0.7507 MB / 0.6646 GB, free: 9.695 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002994/0.4493, allocations: 201.7 kB / 0.6648 GB, free: 9.469 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000247/0.4496, allocations: 36 kB / 0.6648 GB, free: 9.434 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001521/0.4511, allocations: 0.6743 MB / 0.6655 GB, free: 8.758 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001453/0.4526, allocations: 0.6248 MB / 0.6661 GB, free: 8.129 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.4526, allocations: 0 / 0.6661 GB, free: 8.129 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.2e-05/0.4527, allocations: 0 / 0.6661 GB, free: 8.129 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.952e-05/0.4527, allocations: 16 kB / 0.6661 GB, free: 8.113 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006478/0.4592, allocations: 3.193 MB / 0.6692 GB, free: 4.75 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009988/0.4602, allocations: 451 kB / 0.6697 GB, free: 4.305 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006757/0.4609, allocations: 426.7 kB / 0.6701 GB, free: 3.887 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.964e-05/0.461, allocations: 20.62 kB / 0.6701 GB, free: 3.863 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008243/0.4619, allocations: 483 kB / 0.6706 GB, free: 3.383 MB / 490.7 MB Notification: Performance of pre-optimization done (n=74): time 3.126e-06/0.4619, allocations: 0 / 0.6706 GB, free: 3.383 MB / 490.7 MB Notification: Performance of matching and sorting (n=74): time 0.009152/0.471, allocations: 2.745 MB / 0.6732 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.267e-05/0.4711, allocations: 56.06 kB / 0.6733 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1489/0.62, allocations: 0.7189 MB / 0.674 GB, free: 143.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001965/0.6202, allocations: 25.7 kB / 0.674 GB, free: 143.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.6204, allocations: 304.4 kB / 0.6743 GB, free: 143.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002335/0.6206, allocations: 251.4 kB / 0.6745 GB, free: 143.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.072e-05/0.6207, allocations: 3.625 kB / 0.6746 GB, free: 143.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.445e-05/0.6208, allocations: 342.5 kB / 0.6749 GB, free: 143.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006035/0.6214, allocations: 358.8 kB / 0.6752 GB, free: 143.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005805/0.622, allocations: 442 kB / 0.6756 GB, free: 143.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006079/0.6226, allocations: 396.2 kB / 0.676 GB, free: 143.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.6226, allocations: 3.969 kB / 0.676 GB, free: 143.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.007936/0.6305, allocations: 2.774 MB / 0.6787 GB, free: 143.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.6306, allocations: 3.906 kB / 0.6787 GB, free: 143.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.6306, allocations: 3.062 kB / 0.6787 GB, free: 143.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004569/0.6352, allocations: 1.28 MB / 0.68 GB, free: 143.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007903/0.636, allocations: 146.8 kB / 0.6801 GB, free: 143.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008045/0.644, allocations: 4.082 MB / 0.6841 GB, free: 141.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/0.6455, allocations: 149.5 kB / 0.6843 GB, free: 141.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.044e-05/0.6456, allocations: 36.27 kB / 0.6843 GB, free: 141.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.0002452/0.6459, allocations: 112.3 kB / 0.6844 GB, free: 141.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/0.646, allocations: 113.7 kB / 0.6845 GB, free: 141.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008225/0.6543, allocations: 2.82 MB / 0.6873 GB, free: 141.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.6543, allocations: 9.812 kB / 0.6873 GB, free: 141.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.6543, allocations: 0 / 0.6873 GB, free: 141.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/0.6543, allocations: 3.938 kB / 0.6873 GB, free: 141.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009702/0.6641, allocations: 3.991 MB / 0.6912 GB, free: 140.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/0.6641, allocations: 1.188 kB / 0.6912 GB, free: 140.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006379/0.6647, allocations: 103.5 kB / 0.6913 GB, free: 140.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004694/0.6694, allocations: 1.364 MB / 0.6926 GB, free: 140.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001162/0.6696, allocations: 3.797 kB / 0.6926 GB, free: 140.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008887/0.6785, allocations: 4.474 MB / 0.697 GB, free: 139.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.6785, allocations: 0 / 0.697 GB, free: 139.3 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00962/0.6881, allocations: 3.439 MB / 0.7003 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003766/0.6885, allocations: 196.1 kB / 0.7005 GB, free: 138.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002008/0.6888, allocations: 1.312 kB / 0.7005 GB, free: 138.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/0.6899, allocations: 110.9 kB / 0.7006 GB, free: 138.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002469/0.6901, allocations: 98.94 kB / 0.7007 GB, free: 138.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.769e-05/0.6902, allocations: 25.25 kB / 0.7007 GB, free: 138.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0007275/0.691, allocations: 0.5483 MB / 0.7013 GB, free: 138.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001046/0.692, allocations: 309.3 kB / 0.7016 GB, free: 138.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.0002722/0.6923, allocations: 134.1 kB / 0.7017 GB, free: 138.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003997/0.6963, allocations: 1.52 MB / 0.7032 GB, free: 138.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.6963, allocations: 64 / 0.7032 GB, free: 138.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003126/0.6995, allocations: 1.125 MB / 0.7043 GB, free: 138 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000743/0.7002, allocations: 61.97 kB / 0.7044 GB, free: 138 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003439/0.7037, allocations: 1.305 MB / 0.7056 GB, free: 137.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007715/0.7045, allocations: 1.111 MB / 0.7067 GB, free: 136.9 MB / 490.7 MB Notification: Performance of SimCode: time 6.32e-07/0.7045, allocations: 0 / 0.7067 GB, free: 136.9 MB / 490.7 MB Notification: Performance of Templates: time 0.02316/0.7276, allocations: 15.13 MB / 0.7215 GB, free: 136.2 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.makefile (rm -f OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.sim & ./OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1)