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.001789/0.001789, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.507/1.507, allocations: 230.6 MB / 252.7 MB, free: 14.26 MB / 206.1 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.001702/0.001702, allocations: 209.2 kB / 309.2 MB, free: 3.105 MB / 238.1 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.6633/0.6633, allocations: 107.3 MB / 472.9 MB, free: 29.79 MB / 350.1 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: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003972/0.003972, allocations: 85.48 kB / 0.6337 GB, free: 29.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.1756, allocations: 80.18 MB / 0.712 GB, free: 7.082 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.007563/0.1831, allocations: 5.355 MB / 0.7172 GB, free: 1.699 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004342/0.1875, allocations: 1.825 MB / 0.719 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004849/0.188, allocations: 15.94 kB / 0.719 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006723/0.1886, allocations: 202.2 kB / 0.7192 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00187/0.1905, allocations: 0.7379 MB / 0.7199 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001253/0.1918, allocations: 0.5474 MB / 0.7204 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001639/0.1934, allocations: 1.433 MB / 0.7218 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003835/0.1938, allocations: 191.7 kB / 0.722 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009466/0.1947, allocations: 0.5874 MB / 0.7226 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008159/0.1956, allocations: 0.6025 MB / 0.7232 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001599/0.1957, allocations: 103.9 kB / 0.7233 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007204/0.1964, allocations: 239.9 kB / 0.7235 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003994/0.1968, allocations: 262.9 kB / 0.7238 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004812/0.1973, allocations: 477.2 kB / 0.7242 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001876/0.1992, allocations: 1.42 MB / 0.7256 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.1992, allocations: 4 kB / 0.7256 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.575e-06/0.1992, allocations: 0 / 0.7256 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.433e-05/0.1992, allocations: 0 / 0.7256 GB, free: 9.043 MB / 0.4981 GB 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.007766/0.207, allocations: 2.338 MB / 0.7279 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.207, allocations: 11.97 kB / 0.7279 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003401/0.2104, allocations: 0.5578 MB / 0.7285 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001554/0.212, allocations: 0.7281 MB / 0.7292 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003557/0.2123, allocations: 290.9 kB / 0.7294 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001425/0.2125, allocations: 67.94 kB / 0.7295 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001783/0.2143, allocations: 0.8302 MB / 0.7303 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.2143, allocations: 0 / 0.7303 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.801e-05/0.2144, allocations: 31.94 kB / 0.7303 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.204e-05/0.2144, allocations: 19.94 kB / 0.7304 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001876/0.2163, allocations: 0.8406 MB / 0.7312 GB, free: 3.191 MB / 0.4981 GB 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.005481/0.2217, allocations: 2.279 MB / 0.7334 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006061/0.2278, allocations: 1.265 MB / 0.7346 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001204/0.229, allocations: 0.4963 MB / 0.7351 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 7.927e-05/0.2291, allocations: 12.66 kB / 0.7351 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001385/0.2305, allocations: 0.6133 MB / 0.7357 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=74): time 2.805e-06/0.2305, allocations: 0 / 0.7357 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of matching and sorting (n=74): time 0.01854/0.249, allocations: 4.529 MB / 0.7402 GB, free: 9.922 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.621e-05/0.2491, allocations: 60.06 kB / 0.7402 GB, free: 9.852 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001552/0.2506, allocations: 0.9408 MB / 0.7411 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001515/0.2508, allocations: 41.7 kB / 0.7412 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00044/0.2512, allocations: 480.8 kB / 0.7416 GB, free: 8.367 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003519/0.2516, allocations: 285.6 kB / 0.7419 GB, free: 8.086 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003689/0.2519, allocations: 166.6 kB / 0.7421 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002051/0.2521, allocations: 341.9 kB / 0.7424 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001262/0.2534, allocations: 0.5485 MB / 0.7429 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001378/0.2548, allocations: 0.6672 MB / 0.7436 GB, free: 6.328 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01759/0.2724, allocations: 4.128 MB / 0.7476 GB, free: 2.164 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.2724, allocations: 0 / 0.7476 GB, free: 2.164 MB / 0.5137 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.009024/0.2814, allocations: 2.8 MB / 0.7504 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.2814, allocations: 4 kB / 0.7504 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.2814, allocations: 11.94 kB / 0.7504 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004917/0.2863, allocations: 1.272 MB / 0.7516 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/0.2874, allocations: 183.7 kB / 0.7518 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01315/0.3005, allocations: 5.429 MB / 0.7571 GB, free: 8.348 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/0.3019, allocations: 147.3 kB / 0.7572 GB, free: 8.203 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.012e-05/0.302, allocations: 35.98 kB / 0.7573 GB, free: 8.168 MB / 0.5294 GB 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.0004875/0.3025, allocations: 236.5 kB / 0.7575 GB, free: 7.93 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001848/0.3027, allocations: 115.2 kB / 0.7576 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008845/0.3115, allocations: 2.629 MB / 0.7602 GB, free: 5.172 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-05/0.3115, allocations: 11.98 kB / 0.7602 GB, free: 5.16 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3115, allocations: 0 / 0.7602 GB, free: 5.16 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.553e-05/0.3116, allocations: 3.984 kB / 0.7602 GB, free: 5.156 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01065/0.3222, allocations: 3.462 MB / 0.7636 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/0.3222, allocations: 4 kB / 0.7636 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005792/0.3228, allocations: 87.88 kB / 0.7636 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005158/0.328, allocations: 1.322 MB / 0.7649 GB, free: 232 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001189/0.3281, allocations: 12 kB / 0.765 GB, free: 220 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0137/0.3418, allocations: 5.763 MB / 0.7706 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3418, allocations: 0 / 0.7706 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01083/0.3526, allocations: 3.361 MB / 0.7739 GB, free: 6.957 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004434/0.3531, allocations: 115.3 kB / 0.774 GB, free: 6.844 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000173/0.3532, allocations: 16 kB / 0.774 GB, free: 6.828 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/0.3542, allocations: 87.89 kB / 0.7741 GB, free: 6.742 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004928/0.3547, allocations: 164.3 kB / 0.7742 GB, free: 6.578 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.588e-05/0.3548, allocations: 20 kB / 0.7742 GB, free: 6.559 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001025/0.3558, allocations: 0.6348 MB / 0.7749 GB, free: 5.914 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3558, allocations: 0 / 0.7749 GB, free: 5.914 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001084/0.3569, allocations: 355.7 kB / 0.7752 GB, free: 5.566 MB / 0.545 GB 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.0002631/0.3572, allocations: 131.1 kB / 0.7753 GB, free: 5.43 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005057/0.3622, allocations: 1.705 MB / 0.777 GB, free: 3.707 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3622, allocations: 0 / 0.777 GB, free: 3.707 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003416/0.3656, allocations: 1.081 MB / 0.7781 GB, free: 2.609 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008068/0.3665, allocations: 88.73 kB / 0.7781 GB, free: 2.527 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003629/0.3701, allocations: 1.842 MB / 0.7799 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005118/0.3706, allocations: 452.4 kB / 0.7804 GB, free: 184 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003831/0.371, allocations: 98.45 kB / 0.7805 GB, free: 80 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002124/0.3712, allocations: 63.42 kB / 0.7805 GB, free: 16 kB / 0.545 GB Notification: Performance of SimCode: time 8.71e-07/0.3712, allocations: 0 / 0.7805 GB, free: 16 kB / 0.545 GB Notification: Performance of Templates: time 0.03442/0.4056, allocations: 20.49 MB / 0.8005 GB, free: 11.56 MB / 0.5762 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.9590545874089] Failed to read output from testmodel.py, exit status != 0: 0.41848014295101166 0.761148693 0.558756508 Calling exit ...