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: "" <> buildModelFMU(OpenIPSL.Tests.FACTS.TCSC_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_FACTS_TCSC_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.FACTS.TCSC_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_FACTS_TCSC_Test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.254/1.254, 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.001217/0.001217, allocations: 200.4 kB / 289.2 MB, free: 2.484 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4456/0.4456, allocations: 78.52 MB / 417.9 MB, free: 3.309 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 79.88 kB / 497 MB, free: 6.645 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1219, allocations: 68.17 MB / 0.552 GB, free: 2.434 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.2224/0.3444, allocations: 6.319 MB / 0.5581 GB, free: 36.26 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00299/0.3474, allocations: 1.868 MB / 0.56 GB, free: 35.72 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004389/0.3479, allocations: 14.69 kB / 0.56 GB, free: 35.72 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005646/0.3485, allocations: 159.4 kB / 0.5601 GB, free: 35.71 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001327/0.3498, allocations: 0.6207 MB / 0.5607 GB, free: 35.57 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009373/0.3508, allocations: 0.5071 MB / 0.5612 GB, free: 35.5 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001115/0.3519, allocations: 1.415 MB / 0.5626 GB, free: 35.43 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003599/0.3523, allocations: 281.2 kB / 0.5629 GB, free: 35.38 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006271/0.3529, allocations: 0.5662 MB / 0.5634 GB, free: 35.26 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005573/0.3535, allocations: 0.6488 MB / 0.5641 GB, free: 35.1 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001217/0.3536, allocations: 97.59 kB / 0.5641 GB, free: 35.1 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003746/0.354, allocations: 246.4 kB / 0.5644 GB, free: 35.09 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001712/0.3542, allocations: 254.4 kB / 0.5646 GB, free: 35.04 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003723/0.3546, allocations: 0.5719 MB / 0.5652 GB, free: 34.84 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00104/0.3556, allocations: 1.378 MB / 0.5665 GB, free: 34.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3556, allocations: 2.188 kB / 0.5665 GB, free: 34.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3556, allocations: 0 / 0.5665 GB, free: 34.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.521e-05/0.3557, allocations: 0.5625 kB / 0.5665 GB, free: 34.52 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.006148/0.3618, allocations: 2.238 MB / 0.5687 GB, free: 33.67 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.3619, allocations: 12.53 kB / 0.5687 GB, free: 33.67 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001128/0.362, allocations: 107 kB / 0.5688 GB, free: 33.63 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003138/0.3651, allocations: 0.5568 MB / 0.5694 GB, free: 33.55 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009873/0.3661, allocations: 0.7792 MB / 0.5701 GB, free: 33.18 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001831/0.3663, allocations: 217.6 kB / 0.5703 GB, free: 33.02 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.3664, allocations: 65.94 kB / 0.5704 GB, free: 33.02 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001437/0.3679, allocations: 0.8363 MB / 0.5712 GB, free: 32.96 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.3679, allocations: 1 kB / 0.5712 GB, free: 32.96 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.337e-05/0.368, allocations: 25.19 kB / 0.5712 GB, free: 32.96 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.368, allocations: 19.09 kB / 0.5713 GB, free: 32.96 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001505/0.3695, allocations: 0.8528 MB / 0.5721 GB, free: 32.96 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.004337/0.3739, allocations: 3.047 MB / 0.5751 GB, free: 32.15 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005599/0.3795, allocations: 1.708 MB / 0.5767 GB, free: 31.59 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009238/0.3804, allocations: 0.5507 MB / 0.5773 GB, free: 31.38 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.74e-05/0.3805, allocations: 17.11 kB / 0.5773 GB, free: 31.37 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001086/0.3816, allocations: 0.611 MB / 0.5779 GB, free: 31.14 MB / 430.1 MB Notification: Performance of pre-optimization done (n=74): time 2.776e-06/0.3816, allocations: 0 / 0.5779 GB, free: 31.14 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.01654/0.3982, allocations: 4.7 MB / 0.5825 GB, free: 30.06 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/0.3982, allocations: 64.28 kB / 0.5825 GB, free: 29.99 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001197/0.3994, allocations: 0.966 MB / 0.5835 GB, free: 29.59 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.928e-05/0.3995, allocations: 41.27 kB / 0.5835 GB, free: 29.55 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002541/0.3998, allocations: 466.3 kB / 0.584 GB, free: 29.18 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001955/0.4, allocations: 268.3 kB / 0.5842 GB, free: 28.97 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003226/0.4003, allocations: 179.1 kB / 0.5844 GB, free: 28.88 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.261e-05/0.4004, allocations: 347.2 kB / 0.5847 GB, free: 28.56 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001066/0.4014, allocations: 0.5521 MB / 0.5853 GB, free: 28.36 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001126/0.4026, allocations: 0.6741 MB / 0.5859 GB, free: 28.04 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01558/0.4182, allocations: 4.054 MB / 0.5899 GB, free: 26.94 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.4182, allocations: 1.25 kB / 0.5899 GB, free: 26.94 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.008373/0.4266, allocations: 2.833 MB / 0.5927 GB, free: 26.15 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.4266, allocations: 7.375 kB / 0.5927 GB, free: 26.15 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.4266, allocations: 2.172 kB / 0.5927 GB, free: 26.15 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004435/0.4311, allocations: 1.269 MB / 0.5939 GB, free: 25.92 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008615/0.432, allocations: 186.9 kB / 0.5941 GB, free: 25.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01137/0.4433, allocations: 5.685 MB / 0.5996 GB, free: 22.85 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/0.4447, allocations: 147.5 kB / 0.5998 GB, free: 22.79 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.012e-05/0.4448, allocations: 41.02 kB / 0.5998 GB, free: 22.78 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.0004075/0.4452, allocations: 236.9 kB / 0.6 GB, free: 22.58 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/0.4453, allocations: 111 kB / 0.6001 GB, free: 22.52 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008107/0.4535, allocations: 2.656 MB / 0.6027 GB, free: 21.83 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/0.4535, allocations: 9.812 kB / 0.6027 GB, free: 21.83 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.4535, allocations: 0 / 0.6027 GB, free: 21.83 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.373e-05/0.4535, allocations: 5.141 kB / 0.6028 GB, free: 21.83 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009503/0.463, allocations: 4.026 MB / 0.6067 GB, free: 20.24 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.4631, allocations: 7.875 kB / 0.6067 GB, free: 20.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004804/0.4635, allocations: 89.44 kB / 0.6068 GB, free: 20.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004469/0.468, allocations: 1.325 MB / 0.6081 GB, free: 19.7 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.225e-05/0.4681, allocations: 14 kB / 0.6081 GB, free: 19.69 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01128/0.4794, allocations: 6.021 MB / 0.614 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.4794, allocations: 0 / 0.614 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00828/0.4877, allocations: 3.365 MB / 0.6173 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002632/0.488, allocations: 199.7 kB / 0.6174 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000141/0.4882, allocations: 16 kB / 0.6175 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008776/0.489, allocations: 87.89 kB / 0.6175 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003853/0.4894, allocations: 158 kB / 0.6177 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.719e-05/0.4895, allocations: 20 kB / 0.6177 GB, free: 11.55 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000776/0.4903, allocations: 0.6631 MB / 0.6184 GB, free: 10.88 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4903, allocations: 0 / 0.6184 GB, free: 10.88 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001017/0.4913, allocations: 351.7 kB / 0.6187 GB, free: 10.54 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.008643/0.5, allocations: 3.937 MB / 0.6225 GB, free: 6.559 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004349/0.5043, allocations: 1.897 MB / 0.6244 GB, free: 4.637 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.5043, allocations: 3.938 kB / 0.6244 GB, free: 4.633 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00276/0.5071, allocations: 1.211 MB / 0.6256 GB, free: 3.387 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007462/0.5079, allocations: 99.08 kB / 0.6257 GB, free: 3.293 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02531/0.5332, allocations: 12.87 MB / 0.6382 GB, free: 6.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005727/0.5338, allocations: 1.046 MB / 0.6393 GB, free: 4.996 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003998/0.5342, allocations: 98.06 kB / 0.6394 GB, free: 4.898 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004894/0.5347, allocations: 403.3 kB / 0.6397 GB, free: 4.504 MB / 446.1 MB Notification: Performance of SimCode: time 8.72e-07/0.5347, allocations: 0 / 0.6397 GB, free: 4.504 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04422/0.5789, allocations: 27.02 MB / 0.6661 GB, free: 9.836 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002512/0.5792, allocations: 204.2 kB / 0.6663 GB, free: 9.574 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.333/2.912, allocations: 4 kB / 0.6663 GB, free: 9.57 MB / 478.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_FACTS_TCSC_Test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_FACTS_TCSC_Test.fmu > OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1)