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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007745/0.0007745, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9537/0.9537, allocations: 177.1 MB / 201 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 152.7 kB / 257.7 MB, free: 12.98 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.3128/0.3128, allocations: 80.25 MB / 394.5 MB, free: 1.988 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test") translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 491 MB, free: 11.34 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.956e-05/2.111e-05, allocations: 3.188 kB / 491 MB, free: 11.33 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.004792/0.004813, allocations: 5.685 MB / 496.7 MB, free: 5.629 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003015/0.007828, allocations: 1.842 MB / 498.5 MB, free: 3.797 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004987/0.008327, allocations: 16.78 kB / 498.5 MB, free: 3.781 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005981/0.008925, allocations: 218.9 kB / 498.8 MB, free: 3.566 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001484/0.01041, allocations: 0.757 MB / 499.5 MB, free: 2.812 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009228/0.01133, allocations: 0.5623 MB / 0.4883 GB, free: 2.258 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001486/0.01282, allocations: 1.413 MB / 0.4897 GB, free: 0.8398 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003222/0.01314, allocations: 185.1 kB / 0.4899 GB, free: 0.6484 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009763/0.01412, allocations: 0.7871 MB / 0.4907 GB, free: 15.86 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005908/0.01471, allocations: 0.5225 MB / 0.4912 GB, free: 15.33 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000148/0.01485, allocations: 100 kB / 0.4913 GB, free: 15.23 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003904/0.01524, allocations: 245.1 kB / 0.4915 GB, free: 15 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001773/0.01542, allocations: 274.8 kB / 0.4918 GB, free: 14.73 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000277/0.0157, allocations: 374.8 kB / 0.4921 GB, free: 14.36 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001104/0.0168, allocations: 1.047 MB / 0.4932 GB, free: 13.31 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.01681, allocations: 0.8125 kB / 0.4932 GB, free: 13.31 MB / 426.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.01681, allocations: 0 / 0.4932 GB, free: 13.31 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.383e-05/0.01683, allocations: 0.5625 kB / 0.4932 GB, free: 13.31 MB / 426.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.003992/0.02082, allocations: 2.446 MB / 0.4955 GB, free: 10.84 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.02086, allocations: 8.031 kB / 0.4956 GB, free: 10.83 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001871/0.02273, allocations: 0.6722 MB / 0.4962 GB, free: 10.17 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007998/0.02353, allocations: 0.6942 MB / 0.4969 GB, free: 9.43 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001804/0.02371, allocations: 287.6 kB / 0.4972 GB, free: 9.102 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-05/0.0238, allocations: 64.53 kB / 0.4972 GB, free: 9.039 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000642/0.02445, allocations: 470.9 kB / 0.4977 GB, free: 8.574 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.02446, allocations: 4 kB / 0.4977 GB, free: 8.57 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.594e-05/0.02452, allocations: 28 kB / 0.4977 GB, free: 8.543 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/0.02453, allocations: 16 kB / 0.4977 GB, free: 8.527 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004722/0.025, allocations: 314.1 kB / 0.498 GB, free: 8.219 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002771/0.02778, allocations: 2.005 MB / 0.5 GB, free: 6.184 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002247/0.03002, allocations: 0.8135 MB / 0.5008 GB, free: 5.359 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002376/0.03026, allocations: 194 kB / 0.501 GB, free: 5.164 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.097e-05/0.03032, allocations: 20.59 kB / 0.501 GB, free: 5.145 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000366/0.03069, allocations: 313.8 kB / 0.5013 GB, free: 4.82 MB / 426.7 MB Notification: Performance of pre-optimization done (n=74): time 2.435e-06/0.03069, allocations: 0 / 0.5013 GB, free: 4.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=74): time 0.007178/0.03787, allocations: 3.082 MB / 0.5043 GB, free: 1.715 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.0379, allocations: 60.06 kB / 0.5043 GB, free: 1.645 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007224/0.03862, allocations: 0.8415 MB / 0.5052 GB, free: 0.7812 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.337e-05/0.03867, allocations: 37.69 kB / 0.5052 GB, free: 0.7383 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002635/0.03894, allocations: 0.5384 MB / 0.5057 GB, free: 196 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000176/0.03911, allocations: 281.7 kB / 0.506 GB, free: 15.91 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002211/0.03933, allocations: 192.1 kB / 0.5062 GB, free: 15.71 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.03945, allocations: 0.5198 MB / 0.5067 GB, free: 15.19 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003273/0.03978, allocations: 229.9 kB / 0.5069 GB, free: 14.96 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003962/0.04018, allocations: 387.6 kB / 0.5073 GB, free: 14.54 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/0.04125, allocations: 0.9314 MB / 0.5082 GB, free: 13.57 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.04125, allocations: 0 / 0.5082 GB, free: 13.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003397/0.04465, allocations: 1.869 MB / 0.51 GB, free: 11.69 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.04466, allocations: 4 kB / 0.51 GB, free: 11.69 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.04467, allocations: 4 kB / 0.51 GB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003063/0.04774, allocations: 1.196 MB / 0.5112 GB, free: 10.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004595/0.04819, allocations: 175.7 kB / 0.5114 GB, free: 10.31 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004152/0.05235, allocations: 3.371 MB / 0.5146 GB, free: 6.832 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006319/0.05298, allocations: 123.3 kB / 0.5148 GB, free: 6.711 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-05/0.05303, allocations: 27.98 kB / 0.5148 GB, free: 6.684 MB / 442.7 MB Warning: Assuming fixed start value for the following 1 variables: Gen1.delta:VARIABLE(flow=false start = Gen1.delta0 unit = \"rad\" fixed = true ) \"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 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(14,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002781/0.05331, allocations: 212.3 kB / 0.515 GB, free: 6.465 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001527/0.05346, allocations: 135.2 kB / 0.5151 GB, free: 6.332 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003401/0.05686, allocations: 1.651 MB / 0.5167 GB, free: 4.656 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.05687, allocations: 12 kB / 0.5167 GB, free: 4.645 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.05687, allocations: 0 / 0.5167 GB, free: 4.645 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.05688, allocations: 3.984 kB / 0.5167 GB, free: 4.641 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003906/0.06079, allocations: 2.351 MB / 0.519 GB, free: 2.246 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.06079, allocations: 0 / 0.519 GB, free: 2.246 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002551/0.06104, allocations: 91.88 kB / 0.5191 GB, free: 2.156 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003531/0.06458, allocations: 1.336 MB / 0.5204 GB, free: 0.8125 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.045e-05/0.06463, allocations: 19.98 kB / 0.5205 GB, free: 0.793 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004581/0.06921, allocations: 3.896 MB / 0.5243 GB, free: 12.78 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.06921, allocations: 11.98 kB / 0.5243 GB, free: 12.77 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003514/0.07273, allocations: 1.935 MB / 0.5262 GB, free: 10.81 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001748/0.0729, allocations: 123.1 kB / 0.5263 GB, free: 10.69 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.978e-05/0.073, allocations: 16 kB / 0.5263 GB, free: 10.67 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003979/0.0734, allocations: 63.94 kB / 0.5264 GB, free: 10.61 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002628/0.07366, allocations: 152.4 kB / 0.5265 GB, free: 10.46 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.791e-05/0.0737, allocations: 16 kB / 0.5265 GB, free: 10.44 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003499/0.07405, allocations: 0.5173 MB / 0.527 GB, free: 9.914 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.07405, allocations: 0 / 0.527 GB, free: 9.914 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0007534/0.0748, allocations: 355.7 kB / 0.5274 GB, free: 9.566 MB / 458.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 () * Number of clocked 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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(15,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002052/0.07501, allocations: 131.1 kB / 0.5275 GB, free: 9.43 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001833/0.07684, allocations: 1.158 MB / 0.5286 GB, free: 8.242 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.07684, allocations: 0 / 0.5286 GB, free: 8.242 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001302/0.07814, allocations: 0.8409 MB / 0.5294 GB, free: 7.375 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004918/0.07864, allocations: 107 kB / 0.5295 GB, free: 7.27 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0024/0.08104, allocations: 1.658 MB / 0.5312 GB, free: 5.578 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001412/0.08118, allocations: 205.1 kB / 0.5314 GB, free: 5.355 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002049/0.08138, allocations: 94.42 kB / 0.5314 GB, free: 5.258 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002365/0.08162, allocations: 174.1 kB / 0.5316 GB, free: 5.086 MB / 458.7 MB Notification: Performance of SimCode: time 1.103e-06/0.08162, allocations: 0 / 0.5316 GB, free: 5.086 MB / 458.7 MB Notification: Performance of Templates: time 0.02382/0.1054, allocations: 21.59 MB / 0.5527 GB, free: 15.55 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.makefile [Timeout 660] (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=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7672185571864247]