Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.conf.json 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/Modelica 4.0.0+maint.om/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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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) Running command: translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test") translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 173.2 kB / 15.42 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 222.9 MB / 239 MB, free: 104 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009415/0.0009412, allocations: 96.47 kB / 289.8 MB, free: 4.566 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3195/0.3195, allocations: 78.44 MB / 419 MB, free: 84 kB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004012/0.0004011, allocations: 9.062 kB / 498.4 MB, free: 35.5 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3397, allocations: 68.74 MB / 0.5539 GB, free: 10.41 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.0071/0.3469, allocations: 6.311 MB / 0.56 GB, free: 6.301 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004304/0.3512, allocations: 1.888 MB / 0.5619 GB, free: 4.957 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009324/0.3522, allocations: 15.88 kB / 0.5619 GB, free: 4.953 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006631/0.3529, allocations: 161.5 kB / 0.562 GB, free: 4.887 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001636/0.3545, allocations: 0.6313 MB / 0.5627 GB, free: 4.473 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001199/0.3558, allocations: 0.5182 MB / 0.5632 GB, free: 4.176 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002153/0.3579, allocations: 1.347 MB / 0.5645 GB, free: 3.523 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005535/0.3585, allocations: 255.3 kB / 0.5647 GB, free: 3.391 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001171/0.3597, allocations: 496.9 kB / 0.5652 GB, free: 3.172 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009529/0.3606, allocations: 0.6005 MB / 0.5658 GB, free: 2.891 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001379/0.3608, allocations: 50.06 kB / 0.5658 GB, free: 2.891 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005744/0.3614, allocations: 176.4 kB / 0.566 GB, free: 2.852 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002476/0.3616, allocations: 215.1 kB / 0.5662 GB, free: 2.727 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000447/0.3621, allocations: 0.5033 MB / 0.5667 GB, free: 2.402 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001479/0.3636, allocations: 1.31 MB / 0.568 GB, free: 1.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3636, allocations: 0 / 0.568 GB, free: 1.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3636, allocations: 0 / 0.568 GB, free: 1.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.384e-05/0.3636, allocations: 7.938 kB / 0.568 GB, free: 1.902 MB / 378.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.006504/0.3701, allocations: 2.028 MB / 0.57 GB, free: 0.9414 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.3702, allocations: 13.53 kB / 0.57 GB, free: 0.9375 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003548/0.3737, allocations: 0.5534 MB / 0.5705 GB, free: 0.8164 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001353/0.3751, allocations: 0.7816 MB / 0.5713 GB, free: 288 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002013/0.3753, allocations: 208.4 kB / 0.5715 GB, free: 104 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/0.3754, allocations: 67.12 kB / 0.5715 GB, free: 80 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001788/0.3772, allocations: 0.8332 MB / 0.5724 GB, free: 15.76 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.3773, allocations: 0 / 0.5724 GB, free: 15.76 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.724e-05/0.3774, allocations: 25.84 kB / 0.5724 GB, free: 15.74 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.181e-05/0.3774, allocations: 18.53 kB / 0.5724 GB, free: 15.73 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001862/0.3792, allocations: 0.8505 MB / 0.5732 GB, free: 15.46 MB / 394.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.005668/0.3849, allocations: 3.047 MB / 0.5762 GB, free: 13.54 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005753/0.3907, allocations: 1.708 MB / 0.5779 GB, free: 12.43 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001142/0.3919, allocations: 0.5587 MB / 0.5784 GB, free: 12.14 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.511e-05/0.392, allocations: 8.406 kB / 0.5784 GB, free: 12.14 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001363/0.3933, allocations: 0.6207 MB / 0.579 GB, free: 11.77 MB / 394.7 MB Notification: Performance of pre-optimization done (n=74): time 4.258e-06/0.3934, allocations: 4 kB / 0.579 GB, free: 11.76 MB / 394.7 MB Notification: Performance of matching and sorting (n=74): time 0.01813/0.4115, allocations: 4.697 MB / 0.5836 GB, free: 9.324 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/0.4116, allocations: 59.09 kB / 0.5837 GB, free: 9.262 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001627/0.4132, allocations: 0.9634 MB / 0.5846 GB, free: 8.719 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001834/0.4134, allocations: 40.67 kB / 0.5847 GB, free: 8.676 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003443/0.4138, allocations: 474.3 kB / 0.5851 GB, free: 8.258 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002899/0.4141, allocations: 266 kB / 0.5854 GB, free: 8.027 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001432/0.4142, allocations: 94.31 kB / 0.5855 GB, free: 7.961 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.4143, allocations: 343.2 kB / 0.5858 GB, free: 7.629 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001183/0.4155, allocations: 0.5496 MB / 0.5863 GB, free: 7.352 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001232/0.4168, allocations: 0.6699 MB / 0.587 GB, free: 6.953 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01646/0.4332, allocations: 4.044 MB / 0.5909 GB, free: 4.945 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.07e-05/0.4333, allocations: 1.188 kB / 0.5909 GB, free: 4.945 MB / 394.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.008312/0.4416, allocations: 2.84 MB / 0.5937 GB, free: 2.145 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.4417, allocations: 4 kB / 0.5937 GB, free: 2.141 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.4417, allocations: 4 kB / 0.5937 GB, free: 2.137 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004416/0.4461, allocations: 1.269 MB / 0.5949 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/0.4472, allocations: 187.7 kB / 0.5951 GB, free: 0.6797 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01068/0.4579, allocations: 5.233 MB / 0.6002 GB, free: 11.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001527/0.4594, allocations: 151 kB / 0.6004 GB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.745e-05/0.4595, allocations: 35.98 kB / 0.6004 GB, free: 11.12 MB / 410.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 (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.0005049/0.46, allocations: 241.3 kB / 0.6006 GB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001744/0.4602, allocations: 114.5 kB / 0.6008 GB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007957/0.4682, allocations: 2.653 MB / 0.6033 GB, free: 8.102 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/0.4682, allocations: 8 kB / 0.6034 GB, free: 8.094 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.4682, allocations: 0 / 0.6034 GB, free: 8.094 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.345e-05/0.4682, allocations: 3.984 kB / 0.6034 GB, free: 8.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009382/0.4776, allocations: 4.029 MB / 0.6073 GB, free: 3.945 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.4777, allocations: 4 kB / 0.6073 GB, free: 3.941 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004816/0.4781, allocations: 87.89 kB / 0.6074 GB, free: 3.855 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004539/0.4827, allocations: 1.314 MB / 0.6087 GB, free: 2.535 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001156/0.4828, allocations: 12 kB / 0.6087 GB, free: 2.523 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01125/0.4941, allocations: 5.474 MB / 0.614 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.4941, allocations: 0 / 0.614 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009613/0.5038, allocations: 3.379 MB / 0.6173 GB, free: 9.504 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005717/0.5044, allocations: 195.7 kB / 0.6175 GB, free: 9.293 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001557/0.5045, allocations: 16 kB / 0.6175 GB, free: 9.277 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009499/0.5055, allocations: 87.89 kB / 0.6176 GB, free: 9.191 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005016/0.506, allocations: 164.2 kB / 0.6178 GB, free: 9.031 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6e-05/0.5061, allocations: 16 kB / 0.6178 GB, free: 9.016 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009883/0.5071, allocations: 0.6592 MB / 0.6184 GB, free: 8.348 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5071, allocations: 0 / 0.6184 GB, free: 8.348 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001109/0.5082, allocations: 351.7 kB / 0.6188 GB, free: 8.004 MB / 426.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.0002466/0.5084, allocations: 127.3 kB / 0.6189 GB, free: 7.867 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004576/0.513, allocations: 1.843 MB / 0.6207 GB, free: 5.992 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.513, allocations: 4 kB / 0.6207 GB, free: 5.988 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003054/0.5161, allocations: 1.18 MB / 0.6218 GB, free: 4.777 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000932/0.5171, allocations: 92.41 kB / 0.6219 GB, free: 4.688 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003408/0.5205, allocations: 2.164 MB / 0.624 GB, free: 2.492 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005614/0.521, allocations: 1.042 MB / 0.6251 GB, free: 1.426 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004198/0.5215, allocations: 106.6 kB / 0.6252 GB, free: 1.316 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002003/0.5217, allocations: 63.42 kB / 0.6252 GB, free: 1.254 MB / 426.7 MB Notification: Performance of SimCode: time 8.91e-07/0.5217, allocations: 0 / 0.6252 GB, free: 1.254 MB / 426.7 MB Notification: Performance of Templates: time 0.02535/0.5471, allocations: 16.54 MB / 0.6414 GB, free: 0.7305 MB / 442.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.sim & ./OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1)