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/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/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/package.mo): time 0.102/0.102, allocations: 12.2 MB / 27.32 MB, free: 1.441 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.001138/0.001138, allocations: 119.4 kB / 30.83 MB, free: 4.707 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.31/1.31, allocations: 205.1 MB / 239.3 MB, free: 10.95 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.001312/0.001312, allocations: 196.5 kB / 289.5 MB, free: 15.89 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4377/0.4377, allocations: 78.5 MB / 418 MB, free: 31.77 MB / 318.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.004548/0.004549, allocations: 127.8 kB / 498.2 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3167, allocations: 68.02 MB / 0.553 GB, free: 37.76 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.005614/0.3223, allocations: 6.38 MB / 0.5592 GB, free: 33.11 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003047/0.3254, allocations: 1.848 MB / 0.561 GB, free: 31.78 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005317/0.326, allocations: 18.12 kB / 0.561 GB, free: 31.78 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005682/0.3266, allocations: 163.5 kB / 0.5612 GB, free: 31.71 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001368/0.328, allocations: 0.6319 MB / 0.5618 GB, free: 31.29 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009193/0.3289, allocations: 0.5056 MB / 0.5623 GB, free: 31 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001045/0.3299, allocations: 1.341 MB / 0.5636 GB, free: 30.36 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003167/0.3303, allocations: 253.4 kB / 0.5638 GB, free: 30.24 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005122/0.3308, allocations: 0.5158 MB / 0.5643 GB, free: 30 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004979/0.3313, allocations: 0.6182 MB / 0.5649 GB, free: 29.71 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001125/0.3314, allocations: 58.59 kB / 0.565 GB, free: 29.71 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003617/0.3318, allocations: 190.5 kB / 0.5652 GB, free: 29.67 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001634/0.332, allocations: 226.2 kB / 0.5654 GB, free: 29.54 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003274/0.3323, allocations: 0.5405 MB / 0.5659 GB, free: 29.18 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008302/0.3331, allocations: 1.34 MB / 0.5672 GB, free: 28.58 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3332, allocations: 0 / 0.5672 GB, free: 28.58 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3332, allocations: 0 / 0.5672 GB, free: 28.58 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.365e-05/0.3332, allocations: 0 / 0.5672 GB, free: 28.58 MB / 414.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.006449/0.3396, allocations: 2.231 MB / 0.5694 GB, free: 27.5 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.3397, allocations: 12.02 kB / 0.5694 GB, free: 27.5 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003211/0.3429, allocations: 0.5597 MB / 0.57 GB, free: 27.37 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.344, allocations: 0.7788 MB / 0.5707 GB, free: 26.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000195/0.3442, allocations: 210.6 kB / 0.5709 GB, free: 26.65 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.3444, allocations: 63.09 kB / 0.571 GB, free: 26.63 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001511/0.3459, allocations: 0.8323 MB / 0.5718 GB, free: 26.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/0.3459, allocations: 2.625 kB / 0.5718 GB, free: 26.32 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.869e-05/0.346, allocations: 25.25 kB / 0.5718 GB, free: 26.3 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.346, allocations: 21 kB / 0.5718 GB, free: 26.29 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001624/0.3476, allocations: 0.8519 MB / 0.5727 GB, free: 26.02 MB / 414.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.004714/0.3524, allocations: 3.056 MB / 0.5757 GB, free: 24.3 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00582/0.3582, allocations: 1.704 MB / 0.5773 GB, free: 23.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001077/0.3593, allocations: 0.5435 MB / 0.5779 GB, free: 23.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.962e-05/0.3594, allocations: 20.09 kB / 0.5779 GB, free: 23.26 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001292/0.3607, allocations: 0.6218 MB / 0.5785 GB, free: 23.03 MB / 414.1 MB Notification: Performance of pre-optimization done (n=74): time 2.966e-06/0.3607, allocations: 0 / 0.5785 GB, free: 23.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.01785/0.3786, allocations: 4.696 MB / 0.5831 GB, free: 21.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.3786, allocations: 58.5 kB / 0.5831 GB, free: 21.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001418/0.3801, allocations: 0.9724 MB / 0.5841 GB, free: 21.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001264/0.3802, allocations: 39.92 kB / 0.5841 GB, free: 21.44 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002717/0.3805, allocations: 469 kB / 0.5846 GB, free: 21.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002334/0.3807, allocations: 267.9 kB / 0.5848 GB, free: 20.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003444/0.3811, allocations: 178.4 kB / 0.585 GB, free: 20.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.791e-05/0.3812, allocations: 343.4 kB / 0.5853 GB, free: 20.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001092/0.3823, allocations: 0.5553 MB / 0.5859 GB, free: 20.19 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00112/0.3834, allocations: 0.6745 MB / 0.5865 GB, free: 19.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01581/0.3992, allocations: 4.033 MB / 0.5904 GB, free: 17.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.043e-05/0.3993, allocations: 1.031 kB / 0.5905 GB, free: 17.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.008169/0.4074, allocations: 2.836 MB / 0.5932 GB, free: 16.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/0.4075, allocations: 10.23 kB / 0.5932 GB, free: 16.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/0.4075, allocations: 6.938 kB / 0.5932 GB, free: 16.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004402/0.4119, allocations: 1.274 MB / 0.5945 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009706/0.4129, allocations: 186.2 kB / 0.5947 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00972/0.4227, allocations: 5.232 MB / 0.5998 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/0.4242, allocations: 155 kB / 0.5999 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.345e-05/0.4243, allocations: 35.98 kB / 0.5999 GB, free: 10.18 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.0004502/0.4248, allocations: 231.2 kB / 0.6002 GB, free: 9.949 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001699/0.425, allocations: 114.5 kB / 0.6003 GB, free: 9.836 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007375/0.4323, allocations: 2.657 MB / 0.6029 GB, free: 7.164 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.4324, allocations: 8 kB / 0.6029 GB, free: 7.156 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.4324, allocations: 8 kB / 0.6029 GB, free: 7.148 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.898e-06/0.4324, allocations: 3.984 kB / 0.6029 GB, free: 7.145 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008626/0.441, allocations: 4.017 MB / 0.6068 GB, free: 3.008 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.4411, allocations: 0 / 0.6068 GB, free: 3.008 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004622/0.4415, allocations: 95.77 kB / 0.6069 GB, free: 2.914 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004259/0.4458, allocations: 1.323 MB / 0.6082 GB, free: 1.586 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.645e-05/0.4459, allocations: 16 kB / 0.6082 GB, free: 1.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01153/0.4574, allocations: 5.46 MB / 0.6135 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.4575, allocations: 0 / 0.6135 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009928/0.4674, allocations: 3.371 MB / 0.6168 GB, free: 8.57 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003715/0.4678, allocations: 195.7 kB / 0.617 GB, free: 8.359 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001628/0.468, allocations: 16 kB / 0.617 GB, free: 8.344 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009439/0.469, allocations: 87.89 kB / 0.6171 GB, free: 8.258 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005111/0.4695, allocations: 152.3 kB / 0.6173 GB, free: 8.109 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.387e-05/0.4696, allocations: 20 kB / 0.6173 GB, free: 8.09 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0009238/0.4705, allocations: 0.6631 MB / 0.6179 GB, free: 7.418 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4705, allocations: 0 / 0.6179 GB, free: 7.418 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001035/0.4715, allocations: 351.8 kB / 0.6183 GB, free: 7.074 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.0002436/0.4718, allocations: 133.5 kB / 0.6184 GB, free: 6.941 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004603/0.4764, allocations: 1.847 MB / 0.6202 GB, free: 5.059 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.4764, allocations: 0 / 0.6202 GB, free: 5.059 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003254/0.4797, allocations: 1.193 MB / 0.6214 GB, free: 3.836 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008535/0.4806, allocations: 98.03 kB / 0.6215 GB, free: 3.742 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003247/0.4838, allocations: 2.164 MB / 0.6236 GB, free: 1.562 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005905/0.4844, allocations: 1.046 MB / 0.6246 GB, free: 500 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003749/0.4848, allocations: 106.6 kB / 0.6247 GB, free: 388 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000268/0.4851, allocations: 63.42 kB / 0.6248 GB, free: 324 kB / 430.1 MB Notification: Performance of SimCode: time 8.12e-07/0.4851, allocations: 4 kB / 0.6248 GB, free: 320 kB / 430.1 MB Notification: Performance of Templates: time 0.02564/0.5107, allocations: 16.87 MB / 0.6412 GB, free: 15.46 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 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1)