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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test") translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009968/0.0009967, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.244/1.244, allocations: 222.9 MB / 239 MB, free: 4.758 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 188.5 kB / 289.3 MB, free: 2.488 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4345/0.4345, allocations: 78.52 MB / 417.9 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 83.84 kB / 496.9 MB, free: 6.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1218, allocations: 68.18 MB / 0.5519 GB, free: 2.496 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.224/0.3458, allocations: 6.314 MB / 0.558 GB, free: 36.38 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003761/0.3496, allocations: 1.874 MB / 0.5599 GB, free: 35.83 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001193/0.3508, allocations: 14 kB / 0.5599 GB, free: 35.83 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008866/0.3517, allocations: 163.8 kB / 0.56 GB, free: 35.82 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001651/0.3535, allocations: 0.6122 MB / 0.5606 GB, free: 35.68 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001065/0.3545, allocations: 0.51 MB / 0.5611 GB, free: 35.61 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001361/0.3559, allocations: 1.413 MB / 0.5625 GB, free: 35.54 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000366/0.3563, allocations: 276.6 kB / 0.5628 GB, free: 35.5 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006118/0.3569, allocations: 0.5599 MB / 0.5633 GB, free: 35.38 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005511/0.3575, allocations: 0.6552 MB / 0.564 GB, free: 35.21 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001236/0.3576, allocations: 99.69 kB / 0.5641 GB, free: 35.21 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003979/0.358, allocations: 236.5 kB / 0.5643 GB, free: 35.21 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001879/0.3582, allocations: 264.4 kB / 0.5645 GB, free: 35.15 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004239/0.3586, allocations: 0.5694 MB / 0.5651 GB, free: 34.95 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001296/0.3599, allocations: 1.372 MB / 0.5664 GB, free: 34.64 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.3599, allocations: 0 / 0.5664 GB, free: 34.64 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.36, allocations: 4.062 kB / 0.5664 GB, free: 34.64 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.817e-05/0.36, allocations: 0 / 0.5664 GB, free: 34.64 MB / 430.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.007164/0.3672, allocations: 2.241 MB / 0.5686 GB, free: 33.79 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.575e-05/0.3672, allocations: 8.656 kB / 0.5686 GB, free: 33.79 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003256/0.3705, allocations: 0.5578 MB / 0.5692 GB, free: 33.71 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001219/0.3717, allocations: 0.7873 MB / 0.5699 GB, free: 33.33 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001989/0.3719, allocations: 207.3 kB / 0.5701 GB, free: 33.17 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.3721, allocations: 66.03 kB / 0.5702 GB, free: 33.17 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00151/0.3736, allocations: 0.8356 MB / 0.571 GB, free: 33.12 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.3736, allocations: 0 / 0.571 GB, free: 33.12 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.579e-05/0.3737, allocations: 26.19 kB / 0.571 GB, free: 33.12 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/0.3737, allocations: 23.22 kB / 0.5711 GB, free: 33.11 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001567/0.3753, allocations: 0.8539 MB / 0.5719 GB, free: 33.11 MB / 430.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.004639/0.3799, allocations: 3.054 MB / 0.5749 GB, free: 32.3 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005618/0.3856, allocations: 1.705 MB / 0.5766 GB, free: 31.78 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009602/0.3865, allocations: 0.5435 MB / 0.5771 GB, free: 31.58 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.518e-05/0.3866, allocations: 13.44 kB / 0.5771 GB, free: 31.57 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001077/0.3877, allocations: 0.6131 MB / 0.5777 GB, free: 31.34 MB / 430.1 MB Notification: Performance of pre-optimization done (n=74): time 2.424e-06/0.3877, allocations: 0 / 0.5777 GB, free: 31.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.01769/0.4054, allocations: 4.704 MB / 0.5823 GB, free: 30.26 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.4055, allocations: 59.84 kB / 0.5823 GB, free: 30.2 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001354/0.4069, allocations: 0.9713 MB / 0.5833 GB, free: 29.79 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001883/0.4071, allocations: 35.95 kB / 0.5833 GB, free: 29.75 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002839/0.4074, allocations: 474.4 kB / 0.5838 GB, free: 29.38 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002481/0.4076, allocations: 266.2 kB / 0.584 GB, free: 29.17 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003256/0.408, allocations: 178.4 kB / 0.5842 GB, free: 29.09 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.272e-05/0.408, allocations: 343.3 kB / 0.5845 GB, free: 28.77 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001091/0.4091, allocations: 0.5585 MB / 0.5851 GB, free: 28.56 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001137/0.4103, allocations: 0.6602 MB / 0.5857 GB, free: 28.25 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01656/0.4268, allocations: 4.058 MB / 0.5897 GB, free: 27.15 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.007e-06/0.4269, allocations: 1.188 kB / 0.5897 GB, free: 27.15 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.008656/0.4356, allocations: 2.832 MB / 0.5924 GB, free: 26.36 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/0.4356, allocations: 7 kB / 0.5925 GB, free: 26.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/0.4356, allocations: 7.891 kB / 0.5925 GB, free: 26.35 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004585/0.4402, allocations: 1.269 MB / 0.5937 GB, free: 26.12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/0.4413, allocations: 189.1 kB / 0.5939 GB, free: 26.11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01163/0.453, allocations: 5.682 MB / 0.5994 GB, free: 23.05 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001539/0.4545, allocations: 147.9 kB / 0.5996 GB, free: 22.99 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-05/0.4546, allocations: 37.12 kB / 0.5996 GB, free: 22.98 MB / 430.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.0004239/0.4551, allocations: 241 kB / 0.5998 GB, free: 22.78 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001572/0.4552, allocations: 113.5 kB / 0.5999 GB, free: 22.72 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008362/0.4636, allocations: 2.655 MB / 0.6025 GB, free: 22.03 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/0.4636, allocations: 7.594 kB / 0.6025 GB, free: 22.03 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.4636, allocations: 0.7969 kB / 0.6025 GB, free: 22.03 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.941e-05/0.4637, allocations: 4.719 kB / 0.6026 GB, free: 22.03 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01023/0.4739, allocations: 4.018 MB / 0.6065 GB, free: 20.45 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/0.474, allocations: 6.094 kB / 0.6065 GB, free: 20.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005481/0.4745, allocations: 96.52 kB / 0.6066 GB, free: 20.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004634/0.4792, allocations: 1.327 MB / 0.6079 GB, free: 19.84 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001149/0.4793, allocations: 15.34 kB / 0.6079 GB, free: 19.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0114/0.4907, allocations: 6.014 MB / 0.6138 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.4907, allocations: 1.969 kB / 0.6138 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008837/0.4996, allocations: 3.375 MB / 0.6171 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003698/0.5, allocations: 203.6 kB / 0.6172 GB, free: 11.97 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001514/0.5001, allocations: 12 kB / 0.6173 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009078/0.5011, allocations: 87.91 kB / 0.6173 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004459/0.5015, allocations: 156.4 kB / 0.6175 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-05/0.5016, allocations: 16 kB / 0.6175 GB, free: 11.71 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007703/0.5024, allocations: 0.6592 MB / 0.6182 GB, free: 11.04 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5024, allocations: 4 kB / 0.6182 GB, free: 11.04 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00111/0.5035, allocations: 347.7 kB / 0.6185 GB, free: 10.7 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.0002344/0.5037, allocations: 124.5 kB / 0.6186 GB, free: 10.56 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004385/0.5081, allocations: 1.908 MB / 0.6205 GB, free: 8.625 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.5082, allocations: 0 / 0.6205 GB, free: 8.625 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002887/0.511, allocations: 1.207 MB / 0.6216 GB, free: 7.391 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008708/0.5119, allocations: 94.62 kB / 0.6217 GB, free: 7.301 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002812/0.5148, allocations: 2.182 MB / 0.6239 GB, free: 5.109 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003359/0.5151, allocations: 1.042 MB / 0.6249 GB, free: 4.043 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003442/0.5155, allocations: 99.33 kB / 0.625 GB, free: 3.945 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001873/0.5157, allocations: 67.42 kB / 0.625 GB, free: 3.879 MB / 430.1 MB Notification: Performance of SimCode: time 4.4e-07/0.5157, allocations: 4 kB / 0.625 GB, free: 3.875 MB / 430.1 MB Notification: Performance of Templates: time 0.02528/0.5409, allocations: 17.95 MB / 0.6426 GB, free: 2.105 MB / 446.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.makefile (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=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1)