Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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/Modelica 3.2.3+maint.om/package.mo", uses=false) 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/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test") translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07217/0.07217, allocations: 12.61 MB / 28.87 MB, free: 0.6484 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 111.5 kB / 32.46 MB, free: 3.602 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.347/1.347, allocations: 205.1 MB / 241.1 MB, free: 12.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 184.5 kB / 291.3 MB, free: 13.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4217/0.4217, allocations: 78.52 MB / 419.9 MB, free: 11.28 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.005024/0.005024, allocations: 144.6 kB / 0.4895 GB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.28, allocations: 68.11 MB / 0.556 GB, free: 33.05 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.005408/0.2855, allocations: 6.052 MB / 0.5619 GB, free: 28.58 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002813/0.2883, allocations: 1.811 MB / 0.5637 GB, free: 27.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003486/0.2887, allocations: 14.62 kB / 0.5637 GB, free: 27.08 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005013/0.2892, allocations: 202 kB / 0.5639 GB, free: 26.92 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00121/0.2904, allocations: 0.7112 MB / 0.5646 GB, free: 26.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008537/0.2913, allocations: 0.5385 MB / 0.5651 GB, free: 25.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001022/0.2923, allocations: 1.42 MB / 0.5665 GB, free: 25.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003307/0.2927, allocations: 284.5 kB / 0.5668 GB, free: 24.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005155/0.2932, allocations: 0.5597 MB / 0.5673 GB, free: 24.56 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005441/0.2937, allocations: 0.6574 MB / 0.568 GB, free: 24.1 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001354/0.2939, allocations: 97.38 kB / 0.568 GB, free: 24.1 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003716/0.2943, allocations: 237.6 kB / 0.5683 GB, free: 24.03 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000175/0.2944, allocations: 262.6 kB / 0.5685 GB, free: 23.81 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003554/0.2948, allocations: 0.5606 MB / 0.5691 GB, free: 23.39 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009461/0.2958, allocations: 1.397 MB / 0.5704 GB, free: 22.36 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.2958, allocations: 1.281 kB / 0.5704 GB, free: 22.36 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2958, allocations: 0 / 0.5704 GB, free: 22.36 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.2958, allocations: 0 / 0.5704 GB, free: 22.36 MB / 398.1 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.005972/0.3018, allocations: 2.239 MB / 0.5726 GB, free: 20.92 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.3018, allocations: 13.08 kB / 0.5726 GB, free: 20.92 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003459/0.3053, allocations: 0.551 MB / 0.5732 GB, free: 20.69 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/0.3064, allocations: 0.7915 MB / 0.5739 GB, free: 20.03 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001891/0.3066, allocations: 212.9 kB / 0.5741 GB, free: 19.83 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.3067, allocations: 62.88 kB / 0.5742 GB, free: 19.81 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00147/0.3082, allocations: 0.8409 MB / 0.575 GB, free: 19.33 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.3082, allocations: 0 / 0.575 GB, free: 19.33 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.974e-05/0.3083, allocations: 29.64 kB / 0.5751 GB, free: 19.31 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.3083, allocations: 18.28 kB / 0.5751 GB, free: 19.3 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001615/0.31, allocations: 0.85 MB / 0.5759 GB, free: 18.83 MB / 398.1 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.004277/0.3142, allocations: 3.027 MB / 0.5789 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005322/0.3196, allocations: 1.705 MB / 0.5805 GB, free: 13.87 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008836/0.3205, allocations: 0.5498 MB / 0.5811 GB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-05/0.3206, allocations: 16.58 kB / 0.5811 GB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001023/0.3216, allocations: 0.6249 MB / 0.5817 GB, free: 12.66 MB / 398.1 MB Notification: Performance of pre-optimization done (n=74): time 2.094e-06/0.3216, allocations: 0 / 0.5817 GB, free: 12.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=74): time 0.01596/0.3376, allocations: 4.702 MB / 0.5863 GB, free: 7.906 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.529e-05/0.3376, allocations: 60.06 kB / 0.5863 GB, free: 7.836 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/0.3388, allocations: 0.9699 MB / 0.5873 GB, free: 6.848 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.601e-05/0.3389, allocations: 41.7 kB / 0.5873 GB, free: 6.801 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002254/0.3391, allocations: 464.2 kB / 0.5878 GB, free: 6.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001797/0.3393, allocations: 268.2 kB / 0.588 GB, free: 6.074 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003002/0.3396, allocations: 182.5 kB / 0.5882 GB, free: 5.891 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 5.377e-05/0.3396, allocations: 341.9 kB / 0.5885 GB, free: 5.551 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009806/0.3406, allocations: 0.5524 MB / 0.5891 GB, free: 4.996 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001042/0.3417, allocations: 0.671 MB / 0.5897 GB, free: 4.293 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01501/0.3567, allocations: 4.038 MB / 0.5937 GB, free: 228 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.3567, allocations: 0 / 0.5937 GB, free: 228 kB / 398.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.008743/0.3655, allocations: 2.843 MB / 0.5964 GB, free: 13.37 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.3655, allocations: 12 kB / 0.5964 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.3655, allocations: 0 / 0.5964 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004628/0.3702, allocations: 1.262 MB / 0.5977 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000958/0.3712, allocations: 191.7 kB / 0.5979 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01211/0.3833, allocations: 5.673 MB / 0.6034 GB, free: 6.082 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001661/0.385, allocations: 159 kB / 0.6036 GB, free: 5.926 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/0.3851, allocations: 35.98 kB / 0.6036 GB, free: 5.891 MB / 414.1 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 (103): * Single equations (assignments): 101 * 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.0004893/0.3856, allocations: 238.7 kB / 0.6038 GB, free: 5.652 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001942/0.3858, allocations: 114.5 kB / 0.6039 GB, free: 5.539 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008543/0.3943, allocations: 2.649 MB / 0.6065 GB, free: 2.871 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.3944, allocations: 8 kB / 0.6065 GB, free: 2.863 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/0.3944, allocations: 4 kB / 0.6065 GB, free: 2.859 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.418e-05/0.3944, allocations: 7.984 kB / 0.6065 GB, free: 2.852 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009947/0.4044, allocations: 4.023 MB / 0.6105 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.134e-06/0.4044, allocations: 0 / 0.6105 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005036/0.4049, allocations: 95.81 kB / 0.6106 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004619/0.4095, allocations: 1.327 MB / 0.6118 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.823e-05/0.4097, allocations: 12 kB / 0.6119 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01251/0.4222, allocations: 6.001 MB / 0.6177 GB, free: 7.133 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.4222, allocations: 4 kB / 0.6177 GB, free: 7.129 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009608/0.4318, allocations: 3.361 MB / 0.621 GB, free: 3.738 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005438/0.4324, allocations: 207.6 kB / 0.6212 GB, free: 3.516 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001547/0.4326, allocations: 16 kB / 0.6212 GB, free: 3.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000955/0.4335, allocations: 87.89 kB / 0.6213 GB, free: 3.414 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004812/0.434, allocations: 148.4 kB / 0.6214 GB, free: 3.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.737e-05/0.4341, allocations: 20 kB / 0.6215 GB, free: 3.25 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0009439/0.4351, allocations: 0.6631 MB / 0.6221 GB, free: 2.578 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4351, allocations: 0 / 0.6221 GB, free: 2.578 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001009/0.4361, allocations: 351.8 kB / 0.6224 GB, free: 2.234 MB / 430.1 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.0002434/0.4363, allocations: 119.2 kB / 0.6226 GB, free: 2.109 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00468/0.441, allocations: 1.883 MB / 0.6244 GB, free: 196 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/0.4411, allocations: 8.125 kB / 0.6244 GB, free: 188 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003162/0.4442, allocations: 1.214 MB / 0.6256 GB, free: 14.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007913/0.445, allocations: 92.34 kB / 0.6257 GB, free: 14.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003137/0.4482, allocations: 1.8 MB / 0.6274 GB, free: 13.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005936/0.4488, allocations: 1.046 MB / 0.6285 GB, free: 11.95 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003425/0.4491, allocations: 98.69 kB / 0.6286 GB, free: 11.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00021/0.4494, allocations: 67.42 kB / 0.6286 GB, free: 11.78 MB / 446.1 MB Notification: Performance of SimCode: time 1.041e-06/0.4494, allocations: 0 / 0.6286 GB, free: 11.78 MB / 446.1 MB Notification: Performance of Templates: time 0.02848/0.4779, allocations: 18.74 MB / 0.6469 GB, free: 9.059 MB / 462.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1)