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/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.0016/0.0016, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 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 1.484/1.484, allocations: 177.1 MB / 199.7 MB, free: 5.793 MB / 186.7 MB " [Timeout remaining time 178] 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.001621/0.001621, allocations: 156.7 kB / 256.3 MB, free: 13.15 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.4796/0.4796, allocations: 80.38 MB / 393.1 MB, free: 2.133 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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_dev_OpenIPSL.Tests.FACTS.TCSC_Test") translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 489.2 MB, free: 11.91 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.409e-05/2.575e-05, allocations: 2.312 kB / 489.2 MB, free: 11.91 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.007656/0.007681, allocations: 5.367 MB / 494.6 MB, free: 6.523 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004349/0.01203, allocations: 1.805 MB / 496.4 MB, free: 4.727 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005836/0.01261, allocations: 18.19 kB / 496.4 MB, free: 4.711 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006941/0.01331, allocations: 214.1 kB / 496.6 MB, free: 4.5 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001987/0.01529, allocations: 0.752 MB / 497.3 MB, free: 3.75 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001388/0.01668, allocations: 0.5701 MB / 497.9 MB, free: 3.191 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002016/0.0187, allocations: 1.409 MB / 499.3 MB, free: 1.777 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003988/0.0191, allocations: 188.3 kB / 499.5 MB, free: 1.582 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001275/0.02037, allocations: 0.7853 MB / 0.4886 GB, free: 0.7969 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007967/0.02117, allocations: 0.5101 MB / 0.4891 GB, free: 292 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001707/0.02134, allocations: 100 kB / 0.4892 GB, free: 192 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005514/0.02189, allocations: 247.7 kB / 0.4894 GB, free: 15.95 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000308/0.0222, allocations: 274.8 kB / 0.4897 GB, free: 15.68 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004847/0.02268, allocations: 382.7 kB / 0.49 GB, free: 15.3 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001949/0.02463, allocations: 1.453 MB / 0.4914 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.02464, allocations: 5.875 kB / 0.4914 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.02464, allocations: 0 / 0.4914 GB, free: 13.84 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.183e-05/0.02466, allocations: 0 / 0.4914 GB, free: 13.84 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.007953/0.03261, allocations: 2.317 MB / 0.4937 GB, free: 11.5 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.03266, allocations: 12.66 kB / 0.4937 GB, free: 11.49 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003673/0.03634, allocations: 0.6523 MB / 0.4944 GB, free: 10.85 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001859/0.0382, allocations: 0.7537 MB / 0.4951 GB, free: 10.05 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004017/0.0386, allocations: 287.4 kB / 0.4954 GB, free: 9.727 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000167/0.03876, allocations: 64.81 kB / 0.4954 GB, free: 9.664 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002/0.04076, allocations: 0.837 MB / 0.4962 GB, free: 8.824 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.04078, allocations: 0.6562 kB / 0.4962 GB, free: 8.824 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-05/0.04087, allocations: 24.66 kB / 0.4963 GB, free: 8.801 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.098e-05/0.0409, allocations: 16 kB / 0.4963 GB, free: 8.785 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002069/0.04296, allocations: 0.8506 MB / 0.4971 GB, free: 7.938 MB / 426.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006136/0.0491, allocations: 2.311 MB / 0.4994 GB, free: 5.594 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006677/0.05578, allocations: 1.267 MB / 0.5006 GB, free: 4.32 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001346/0.05712, allocations: 0.4952 MB / 0.5011 GB, free: 3.82 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.682e-05/0.05722, allocations: 20.64 kB / 0.5011 GB, free: 3.801 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001539/0.05876, allocations: 0.6211 MB / 0.5017 GB, free: 3.16 MB / 426.7 MB Notification: Performance of pre-optimization done (n=74): time 2.695e-06/0.05876, allocations: 0 / 0.5017 GB, free: 3.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=74): time 0.02087/0.07963, allocations: 4.591 MB / 0.5062 GB, free: 14.55 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.725e-05/0.0797, allocations: 68 kB / 0.5063 GB, free: 14.47 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00166/0.08136, allocations: 0.9331 MB / 0.5072 GB, free: 13.52 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001188/0.08148, allocations: 45.64 kB / 0.5072 GB, free: 13.46 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004715/0.08195, allocations: 480.8 kB / 0.5077 GB, free: 12.99 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003565/0.0823, allocations: 281.5 kB / 0.5079 GB, free: 12.71 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004031/0.08271, allocations: 170.6 kB / 0.5081 GB, free: 12.54 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000203/0.08291, allocations: 341.9 kB / 0.5084 GB, free: 12.2 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001388/0.0843, allocations: 0.5485 MB / 0.509 GB, free: 11.66 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001556/0.08585, allocations: 0.6633 MB / 0.5096 GB, free: 10.96 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01918/0.105, allocations: 4.151 MB / 0.5137 GB, free: 6.777 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/0.105, allocations: 0 / 0.5137 GB, free: 6.777 MB / 442.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.009852/0.1149, allocations: 2.84 MB / 0.5164 GB, free: 3.922 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/0.1149, allocations: 4 kB / 0.5164 GB, free: 3.918 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.1149, allocations: 4 kB / 0.5165 GB, free: 3.914 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008484/0.1234, allocations: 1.697 MB / 0.5181 GB, free: 2.211 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001032/0.1244, allocations: 179.7 kB / 0.5183 GB, free: 2.035 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01459/0.139, allocations: 5.455 MB / 0.5236 GB, free: 12.48 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001466/0.1405, allocations: 155.3 kB / 0.5238 GB, free: 12.32 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/0.1406, allocations: 31.98 kB / 0.5238 GB, free: 12.29 MB / 458.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 (99): * Single equations (assignments): 97 * 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.0004943/0.1411, allocations: 237.6 kB / 0.524 GB, free: 12.05 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002989/0.1414, allocations: 135.3 kB / 0.5241 GB, free: 11.92 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01003/0.1514, allocations: 2.653 MB / 0.5267 GB, free: 9.242 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/0.1514, allocations: 4 kB / 0.5267 GB, free: 9.238 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.1514, allocations: 8 kB / 0.5267 GB, free: 9.23 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.1515, allocations: 3.984 kB / 0.5267 GB, free: 9.227 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0115/0.163, allocations: 3.482 MB / 0.5301 GB, free: 5.703 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/0.163, allocations: 0 / 0.5301 GB, free: 5.703 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005514/0.1635, allocations: 91.88 kB / 0.5302 GB, free: 5.613 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009958/0.1735, allocations: 1.854 MB / 0.532 GB, free: 3.754 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001132/0.1736, allocations: 16 kB / 0.5321 GB, free: 3.738 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01538/0.189, allocations: 5.832 MB / 0.5378 GB, free: 13.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.189, allocations: 0 / 0.5378 GB, free: 13.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01156/0.2005, allocations: 3.4 MB / 0.5411 GB, free: 10.38 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000352/0.2009, allocations: 119.3 kB / 0.5412 GB, free: 10.26 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000165/0.201, allocations: 19.98 kB / 0.5412 GB, free: 10.24 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/0.202, allocations: 87.91 kB / 0.5413 GB, free: 10.16 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005418/0.2026, allocations: 164.3 kB / 0.5415 GB, free: 9.992 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.65e-05/0.2027, allocations: 19.98 kB / 0.5415 GB, free: 9.973 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001155/0.2038, allocations: 0.6387 MB / 0.5421 GB, free: 9.324 MB / 474.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2038, allocations: 0 / 0.5421 GB, free: 9.324 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001176/0.205, allocations: 359.7 kB / 0.5424 GB, free: 8.973 MB / 474.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.0003295/0.2053, allocations: 135.1 kB / 0.5426 GB, free: 8.832 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005295/0.2106, allocations: 1.704 MB / 0.5442 GB, free: 7.113 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.2106, allocations: 0 / 0.5442 GB, free: 7.113 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003664/0.2143, allocations: 1.1 MB / 0.5453 GB, free: 5.996 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007675/0.215, allocations: 114.4 kB / 0.5454 GB, free: 5.887 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003596/0.2186, allocations: 1.802 MB / 0.5472 GB, free: 4.055 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005435/0.2192, allocations: 464.3 kB / 0.5476 GB, free: 3.562 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003597/0.2195, allocations: 98.42 kB / 0.5477 GB, free: 3.461 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002445/0.2198, allocations: 68.48 kB / 0.5478 GB, free: 3.395 MB / 474.7 MB Notification: Performance of SimCode: time 6.01e-07/0.2198, allocations: 0 / 0.5478 GB, free: 3.395 MB / 474.7 MB Notification: Performance of Templates: time 0.03485/0.2546, allocations: 19.5 MB / 0.5668 GB, free: 15.95 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.009271326009184]