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: "" <> buildModelFMU(OpenIPSL.Tests.FACTS.TCSC_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_FACTS_TCSC_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.FACTS.TCSC_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_FACTS_TCSC_Test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07993/0.07993, allocations: 12.2 MB / 27.32 MB, free: 1.445 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.001045/0.001045, allocations: 116.8 kB / 30.83 MB, free: 4.715 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.319/1.319, allocations: 205.1 MB / 239.3 MB, free: 10.98 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.001288/0.001288, allocations: 196.4 kB / 289.5 MB, free: 15.9 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4219/0.4219, allocations: 78.5 MB / 418 MB, free: 31.78 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.00276/0.00276, allocations: 136.9 kB / 498.3 MB, free: 0.543 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3369, allocations: 68.04 MB / 0.5531 GB, free: 37.89 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.004932/0.3418, allocations: 6.373 MB / 0.5593 GB, free: 33.24 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002805/0.3447, allocations: 1.849 MB / 0.5611 GB, free: 31.91 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004313/0.3451, allocations: 19.41 kB / 0.5611 GB, free: 31.91 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005078/0.3456, allocations: 162.6 kB / 0.5613 GB, free: 31.84 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00116/0.3468, allocations: 0.6288 MB / 0.5619 GB, free: 31.43 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008628/0.3477, allocations: 0.5119 MB / 0.5624 GB, free: 31.13 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008173/0.3485, allocations: 1.345 MB / 0.5637 GB, free: 30.48 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002888/0.3488, allocations: 250.7 kB / 0.5639 GB, free: 30.37 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004339/0.3492, allocations: 0.5098 MB / 0.5644 GB, free: 30.13 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004543/0.3497, allocations: 0.6187 MB / 0.565 GB, free: 29.84 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001036/0.3498, allocations: 63.81 kB / 0.5651 GB, free: 29.84 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003228/0.3502, allocations: 192.3 kB / 0.5653 GB, free: 29.8 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001619/0.3503, allocations: 229.8 kB / 0.5655 GB, free: 29.66 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003139/0.3506, allocations: 0.5291 MB / 0.566 GB, free: 29.32 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008108/0.3515, allocations: 1.34 MB / 0.5673 GB, free: 28.71 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.3515, allocations: 0 / 0.5673 GB, free: 28.71 MB / 414.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.3515, allocations: 0 / 0.5673 GB, free: 28.71 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.3515, allocations: 0 / 0.5673 GB, free: 28.71 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.006017/0.3575, allocations: 2.232 MB / 0.5695 GB, free: 27.63 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.3576, allocations: 15.33 kB / 0.5695 GB, free: 27.63 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001117/0.3577, allocations: 111.6 kB / 0.5696 GB, free: 27.55 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003093/0.3608, allocations: 0.5524 MB / 0.5702 GB, free: 27.42 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001217/0.362, allocations: 0.7816 MB / 0.5709 GB, free: 26.89 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002099/0.3622, allocations: 214.3 kB / 0.5711 GB, free: 26.7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.3624, allocations: 62 kB / 0.5712 GB, free: 26.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001558/0.3639, allocations: 0.8362 MB / 0.572 GB, free: 26.36 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.364, allocations: 3.328 kB / 0.572 GB, free: 26.36 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.542e-05/0.364, allocations: 24.88 kB / 0.572 GB, free: 26.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/0.3641, allocations: 19.59 kB / 0.5721 GB, free: 26.34 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001567/0.3656, allocations: 0.8483 MB / 0.5729 GB, free: 26.06 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.005056/0.3707, allocations: 3.05 MB / 0.5759 GB, free: 24.35 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006147/0.3769, allocations: 1.711 MB / 0.5775 GB, free: 23.53 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001206/0.3781, allocations: 0.5514 MB / 0.5781 GB, free: 23.31 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001007/0.3782, allocations: 17.56 kB / 0.5781 GB, free: 23.3 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001356/0.3796, allocations: 0.6166 MB / 0.5787 GB, free: 23.07 MB / 414.1 MB Notification: Performance of pre-optimization done (n=74): time 3.587e-06/0.3796, allocations: 0 / 0.5787 GB, free: 23.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.01825/0.3978, allocations: 4.699 MB / 0.5833 GB, free: 21.99 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/0.3979, allocations: 64.09 kB / 0.5833 GB, free: 21.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001846/0.3998, allocations: 0.9636 MB / 0.5843 GB, free: 21.53 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001974/0.4, allocations: 40.95 kB / 0.5843 GB, free: 21.49 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003717/0.4004, allocations: 468.8 kB / 0.5848 GB, free: 21.12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003591/0.4007, allocations: 268.5 kB / 0.585 GB, free: 20.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004588/0.4012, allocations: 183.2 kB / 0.5852 GB, free: 20.81 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.374e-05/0.4013, allocations: 345.3 kB / 0.5855 GB, free: 20.47 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001166/0.4025, allocations: 0.5542 MB / 0.5861 GB, free: 20.19 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001229/0.4037, allocations: 0.6736 MB / 0.5867 GB, free: 19.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01596/0.4197, allocations: 4.034 MB / 0.5907 GB, free: 17.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.096e-05/0.4197, allocations: 0 / 0.5907 GB, free: 17.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.008373/0.4281, allocations: 2.838 MB / 0.5934 GB, free: 16.37 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/0.4282, allocations: 5.562 kB / 0.5934 GB, free: 16.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/0.4282, allocations: 6.531 kB / 0.5935 GB, free: 16.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004436/0.4326, allocations: 1.274 MB / 0.5947 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/0.4337, allocations: 189.7 kB / 0.5949 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01029/0.444, allocations: 5.227 MB / 0.6 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001595/0.4456, allocations: 154.9 kB / 0.6001 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002383/0.4459, allocations: 35.98 kB / 0.6002 GB, free: 10.09 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.0007585/0.4466, allocations: 231.2 kB / 0.6004 GB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003865/0.447, allocations: 118.5 kB / 0.6005 GB, free: 9.738 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007688/0.4547, allocations: 2.657 MB / 0.6031 GB, free: 7.066 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/0.4548, allocations: 7.938 kB / 0.6031 GB, free: 7.059 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.4548, allocations: 4 kB / 0.6031 GB, free: 7.055 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.94e-05/0.4548, allocations: 3.984 kB / 0.6031 GB, free: 7.051 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009572/0.4644, allocations: 4.021 MB / 0.607 GB, free: 2.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/0.4644, allocations: 0 / 0.607 GB, free: 2.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005278/0.465, allocations: 95.88 kB / 0.6071 GB, free: 2.816 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004266/0.4693, allocations: 1.316 MB / 0.6084 GB, free: 1.496 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001559/0.4695, allocations: 23.92 kB / 0.6084 GB, free: 1.473 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01207/0.4815, allocations: 5.456 MB / 0.6138 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.4816, allocations: 0 / 0.6138 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01/0.4916, allocations: 3.371 MB / 0.6171 GB, free: 8.477 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005068/0.4921, allocations: 199.7 kB / 0.6172 GB, free: 8.262 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003674/0.4925, allocations: 16 kB / 0.6173 GB, free: 8.246 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001178/0.4937, allocations: 79.91 kB / 0.6173 GB, free: 8.168 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005816/0.4943, allocations: 168.2 kB / 0.6175 GB, free: 8.004 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001049/0.4944, allocations: 16 kB / 0.6175 GB, free: 7.988 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001278/0.4957, allocations: 0.6592 MB / 0.6182 GB, free: 7.32 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.4957, allocations: 0 / 0.6182 GB, free: 7.32 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00153/0.4973, allocations: 355.8 kB / 0.6185 GB, free: 6.973 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.01075/0.508, allocations: 3.935 MB / 0.6223 GB, free: 3 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005285/0.5134, allocations: 1.852 MB / 0.6241 GB, free: 1.117 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.5134, allocations: 64 / 0.6241 GB, free: 1.117 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00334/0.5168, allocations: 1.2 MB / 0.6253 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/0.518, allocations: 100.4 kB / 0.6254 GB, free: 15.78 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04464/0.5627, allocations: 12.86 MB / 0.638 GB, free: 2.559 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001099/0.5638, allocations: 1.042 MB / 0.639 GB, free: 1.488 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007933/0.5647, allocations: 98.66 kB / 0.6391 GB, free: 1.387 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008518/0.5655, allocations: 395.3 kB / 0.6395 GB, free: 1 MB / 446.1 MB Notification: Performance of SimCode: time 1.233e-06/0.5656, allocations: 8 kB / 0.6395 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05151/0.6171, allocations: 25.89 MB / 0.6647 GB, free: 7.16 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001959/0.6173, allocations: 203.8 kB / 0.6649 GB, free: 6.91 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.714/3.331, allocations: 3.938 kB / 0.6649 GB, free: 6.906 MB / 478.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_FACTS_TCSC_Test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_FACTS_TCSC_Test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1)