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.001212/0.001212, allocations: 81.86 kB / 19.87 MB, free: 4.621 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.8973/0.8973, allocations: 177.1 MB / 200.3 MB, free: 5.684 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.001421/0.001421, allocations: 156.6 kB / 256.9 MB, free: 12.96 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.2965/0.2965, allocations: 80.25 MB / 393.7 MB, free: 1.977 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.583e-06/1.583e-06, allocations: 0 / 490.2 MB, free: 11.34 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.765e-05/1.924e-05, allocations: 2.312 kB / 490.2 MB, free: 11.34 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.004665/0.004684, allocations: 5.69 MB / 495.9 MB, free: 5.633 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00278/0.007464, allocations: 1.838 MB / 497.7 MB, free: 3.805 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004172/0.007881, allocations: 14.06 kB / 497.7 MB, free: 3.793 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004894/0.00837, allocations: 214.1 kB / 498 MB, free: 3.582 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001207/0.009577, allocations: 0.7672 MB / 498.7 MB, free: 2.816 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008036/0.01038, allocations: 0.5629 MB / 499.3 MB, free: 2.266 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001221/0.0116, allocations: 1.413 MB / 0.489 GB, free: 0.8477 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002773/0.01188, allocations: 183.7 kB / 0.4891 GB, free: 0.6562 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009077/0.01279, allocations: 0.7915 MB / 0.4899 GB, free: 15.86 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005285/0.01332, allocations: 0.5192 MB / 0.4904 GB, free: 15.34 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001338/0.01345, allocations: 104 kB / 0.4905 GB, free: 15.24 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003548/0.0138, allocations: 239.8 kB / 0.4907 GB, free: 15.01 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001587/0.01396, allocations: 270.8 kB / 0.491 GB, free: 14.74 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002548/0.01422, allocations: 383.5 kB / 0.4914 GB, free: 14.37 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009953/0.01521, allocations: 1.043 MB / 0.4924 GB, free: 13.32 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.01522, allocations: 1.312 kB / 0.4924 GB, free: 13.32 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.01522, allocations: 0 / 0.4924 GB, free: 13.32 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.074e-05/0.01525, allocations: 0 / 0.4924 GB, free: 13.32 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.003705/0.01896, allocations: 2.449 MB / 0.4948 GB, free: 10.84 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.01899, allocations: 12.69 kB / 0.4948 GB, free: 10.83 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001893/0.02089, allocations: 0.664 MB / 0.4954 GB, free: 10.18 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007447/0.02163, allocations: 0.6938 MB / 0.4961 GB, free: 9.438 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001612/0.02179, allocations: 291.7 kB / 0.4964 GB, free: 9.105 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.473e-05/0.02188, allocations: 61.16 kB / 0.4965 GB, free: 9.047 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005692/0.02245, allocations: 478.2 kB / 0.4969 GB, free: 8.574 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.02246, allocations: 0 / 0.4969 GB, free: 8.574 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.932e-05/0.02251, allocations: 32 kB / 0.4969 GB, free: 8.543 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.02252, allocations: 12 kB / 0.497 GB, free: 8.531 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000417/0.02294, allocations: 310.1 kB / 0.4973 GB, free: 8.227 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002572/0.02551, allocations: 2.005 MB / 0.4992 GB, free: 6.191 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002098/0.02761, allocations: 0.8174 MB / 0.5 GB, free: 5.363 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002372/0.02784, allocations: 194 kB / 0.5002 GB, free: 5.168 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.24e-05/0.0279, allocations: 16.66 kB / 0.5002 GB, free: 5.152 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000343/0.02824, allocations: 317.8 kB / 0.5005 GB, free: 4.824 MB / 426.7 MB Notification: Performance of pre-optimization done (n=74): time 3.206e-06/0.02824, allocations: 3.984 kB / 0.5005 GB, free: 4.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=74): time 0.007007/0.03525, allocations: 3.082 MB / 0.5035 GB, free: 1.715 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.03528, allocations: 56.06 kB / 0.5036 GB, free: 1.648 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006587/0.03594, allocations: 0.8415 MB / 0.5044 GB, free: 0.7852 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.511e-05/0.03601, allocations: 37.7 kB / 0.5044 GB, free: 0.7422 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002753/0.03628, allocations: 0.5384 MB / 0.505 GB, free: 200 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001961/0.03648, allocations: 281.7 kB / 0.5052 GB, free: 15.91 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002205/0.0367, allocations: 192.1 kB / 0.5054 GB, free: 15.72 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.03683, allocations: 0.5198 MB / 0.5059 GB, free: 15.19 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003347/0.03716, allocations: 233.8 kB / 0.5061 GB, free: 14.96 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003986/0.03756, allocations: 387.6 kB / 0.5065 GB, free: 14.54 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/0.03863, allocations: 0.9236 MB / 0.5074 GB, free: 13.58 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.03864, allocations: 4 kB / 0.5074 GB, free: 13.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003302/0.04194, allocations: 1.869 MB / 0.5092 GB, free: 11.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.04196, allocations: 8 kB / 0.5093 GB, free: 11.69 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.04197, allocations: 0 / 0.5093 GB, free: 11.69 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002946/0.04491, allocations: 1.192 MB / 0.5104 GB, free: 10.49 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004657/0.04538, allocations: 175.8 kB / 0.5106 GB, free: 10.32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003974/0.04935, allocations: 3.358 MB / 0.5139 GB, free: 6.844 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006418/0.04999, allocations: 123.3 kB / 0.514 GB, free: 6.723 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.6e-05/0.05004, allocations: 31.94 kB / 0.514 GB, free: 6.691 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.0002749/0.05031, allocations: 214.4 kB / 0.5142 GB, free: 6.473 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001551/0.05047, allocations: 139.2 kB / 0.5144 GB, free: 6.336 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003061/0.05353, allocations: 1.663 MB / 0.516 GB, free: 4.648 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.05354, allocations: 8 kB / 0.516 GB, free: 4.641 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.05354, allocations: 0 / 0.516 GB, free: 4.641 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.05355, allocations: 3.984 kB / 0.516 GB, free: 4.637 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003709/0.05726, allocations: 2.343 MB / 0.5183 GB, free: 2.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.05726, allocations: 0 / 0.5183 GB, free: 2.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002388/0.0575, allocations: 95.83 kB / 0.5184 GB, free: 2.156 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003301/0.0608, allocations: 1.332 MB / 0.5197 GB, free: 0.8164 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.207e-05/0.06085, allocations: 19.98 kB / 0.5197 GB, free: 0.7969 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004437/0.06529, allocations: 3.9 MB / 0.5235 GB, free: 12.78 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.06529, allocations: 0 / 0.5235 GB, free: 12.78 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003312/0.0686, allocations: 1.943 MB / 0.5254 GB, free: 10.81 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001907/0.06879, allocations: 119.1 kB / 0.5255 GB, free: 10.7 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.377e-05/0.06888, allocations: 16 kB / 0.5255 GB, free: 10.68 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003573/0.06923, allocations: 63.94 kB / 0.5256 GB, free: 10.62 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002639/0.0695, allocations: 156.3 kB / 0.5257 GB, free: 10.46 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-05/0.06953, allocations: 16 kB / 0.5257 GB, free: 10.45 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003526/0.06988, allocations: 0.5057 MB / 0.5262 GB, free: 9.93 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.06988, allocations: 0 / 0.5262 GB, free: 9.93 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0007469/0.07063, allocations: 359.7 kB / 0.5266 GB, free: 9.578 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.0002073/0.07084, allocations: 127.1 kB / 0.5267 GB, free: 9.445 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001849/0.07269, allocations: 1.161 MB / 0.5278 GB, free: 8.254 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.07269, allocations: 0 / 0.5278 GB, free: 8.254 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001249/0.07394, allocations: 0.8492 MB / 0.5287 GB, free: 7.379 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000521/0.07446, allocations: 106.6 kB / 0.5288 GB, free: 7.273 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002697/0.07716, allocations: 1.657 MB / 0.5304 GB, free: 5.582 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001587/0.07731, allocations: 201.1 kB / 0.5306 GB, free: 5.363 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002235/0.07754, allocations: 94.42 kB / 0.5307 GB, free: 5.266 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002333/0.07777, allocations: 170.2 kB / 0.5308 GB, free: 5.098 MB / 458.7 MB Notification: Performance of SimCode: time 1.413e-06/0.07777, allocations: 0 / 0.5308 GB, free: 5.098 MB / 458.7 MB Notification: Performance of Templates: time 0.02413/0.1019, allocations: 20.98 MB / 0.5513 GB, free: 256 kB / 474.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.470292610116303]