Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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 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_dev_OpenIPSL_Tests_FACTS_TCSC_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.FACTS.TCSC_Test,fileNamePrefix="OpenIPSL_dev_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.001126/0.001126, 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.407/1.407, allocations: 222.9 MB / 239 MB, free: 4.762 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.001341/0.001341, allocations: 184.5 kB / 289.3 MB, free: 2.492 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5699/0.5699, allocations: 91.9 MB / 431.3 MB, free: 9.422 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 71.89 kB / 0.5015 GB, free: 7.988 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3878/0.3893, allocations: 71.27 MB / 0.5711 GB, free: 36.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.005632/0.395, allocations: 6.338 MB / 0.5773 GB, free: 32.99 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00338/0.3984, allocations: 1.875 MB / 0.5791 GB, free: 31.76 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005435/0.399, allocations: 11.5 kB / 0.5791 GB, free: 31.76 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006058/0.3996, allocations: 170.2 kB / 0.5793 GB, free: 31.69 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001391/0.401, allocations: 0.6226 MB / 0.5799 GB, free: 31.29 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009511/0.402, allocations: 0.512 MB / 0.5804 GB, free: 31 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001069/0.4031, allocations: 1.412 MB / 0.5818 GB, free: 30.3 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003616/0.4034, allocations: 282.5 kB / 0.582 GB, free: 30.19 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005862/0.404, allocations: 0.5647 MB / 0.5826 GB, free: 29.91 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000551/0.4046, allocations: 0.6512 MB / 0.5832 GB, free: 29.59 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001305/0.4047, allocations: 100.7 kB / 0.5833 GB, free: 29.59 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004252/0.4052, allocations: 231.5 kB / 0.5835 GB, free: 29.54 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001884/0.4054, allocations: 264.8 kB / 0.5838 GB, free: 29.38 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003644/0.4057, allocations: 0.579 MB / 0.5843 GB, free: 28.98 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001109/0.4069, allocations: 1.378 MB / 0.5857 GB, free: 28.36 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.4069, allocations: 0 / 0.5857 GB, free: 28.36 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4069, allocations: 0 / 0.5857 GB, free: 28.36 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.325e-05/0.4069, allocations: 0 / 0.5857 GB, free: 28.36 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.006834/0.4137, allocations: 2.23 MB / 0.5879 GB, free: 27.28 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.4138, allocations: 17.62 kB / 0.5879 GB, free: 27.27 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001373/0.4139, allocations: 104.5 kB / 0.588 GB, free: 27.2 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003253/0.4172, allocations: 0.562 MB / 0.5885 GB, free: 27.07 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001285/0.4185, allocations: 0.7778 MB / 0.5893 GB, free: 26.53 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002316/0.4188, allocations: 210.2 kB / 0.5895 GB, free: 26.35 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/0.4189, allocations: 70.28 kB / 0.5896 GB, free: 26.32 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001655/0.4206, allocations: 0.8244 MB / 0.5904 GB, free: 26.02 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.4206, allocations: 11.92 kB / 0.5904 GB, free: 26.01 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.667e-05/0.4207, allocations: 26.22 kB / 0.5904 GB, free: 25.99 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.641e-05/0.4207, allocations: 19.31 kB / 0.5904 GB, free: 25.98 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001793/0.4225, allocations: 0.8515 MB / 0.5913 GB, free: 25.71 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.005193/0.4277, allocations: 3.058 MB / 0.5942 GB, free: 23.98 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00597/0.4337, allocations: 1.705 MB / 0.5959 GB, free: 23.17 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001269/0.435, allocations: 0.5482 MB / 0.5964 GB, free: 22.95 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001033/0.4351, allocations: 12.91 kB / 0.5965 GB, free: 22.95 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001324/0.4364, allocations: 0.6167 MB / 0.5971 GB, free: 22.71 MB / 430.1 MB Notification: Performance of pre-optimization done (n=74): time 3.697e-06/0.4364, allocations: 0 / 0.5971 GB, free: 22.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.01906/0.4555, allocations: 4.7 MB / 0.6016 GB, free: 21.64 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.4556, allocations: 63.75 kB / 0.6017 GB, free: 21.57 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001646/0.4573, allocations: 0.9626 MB / 0.6026 GB, free: 21.17 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001887/0.4575, allocations: 41.02 kB / 0.6027 GB, free: 21.13 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003098/0.4578, allocations: 469.6 kB / 0.6031 GB, free: 20.76 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002686/0.458, allocations: 271 kB / 0.6034 GB, free: 20.54 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000364/0.4584, allocations: 178.3 kB / 0.6036 GB, free: 20.46 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.562e-05/0.4585, allocations: 350.8 kB / 0.6039 GB, free: 20.13 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001181/0.4597, allocations: 0.5467 MB / 0.6044 GB, free: 19.93 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001242/0.461, allocations: 0.6699 MB / 0.6051 GB, free: 19.62 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01736/0.4783, allocations: 4.052 MB / 0.609 GB, free: 18.52 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.044e-05/0.4784, allocations: 1.25 kB / 0.609 GB, free: 18.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.009008/0.4874, allocations: 2.832 MB / 0.6118 GB, free: 17.72 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.059e-05/0.4875, allocations: 6.031 kB / 0.6118 GB, free: 17.72 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.4875, allocations: 2.312 kB / 0.6118 GB, free: 17.72 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004869/0.4924, allocations: 1.264 MB / 0.6131 GB, free: 17.49 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/0.4935, allocations: 190.8 kB / 0.6132 GB, free: 17.47 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01179/0.5053, allocations: 5.688 MB / 0.6188 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001887/0.5072, allocations: 151 kB / 0.6189 GB, free: 13.19 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/0.5073, allocations: 39.92 kB / 0.619 GB, free: 13.15 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.0005429/0.5079, allocations: 229.6 kB / 0.6192 GB, free: 12.92 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001879/0.5081, allocations: 114.6 kB / 0.6193 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007899/0.516, allocations: 2.653 MB / 0.6219 GB, free: 10.13 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/0.516, allocations: 11.98 kB / 0.6219 GB, free: 10.12 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.516, allocations: 4 kB / 0.6219 GB, free: 10.12 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/0.5161, allocations: 3.984 kB / 0.6219 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009342/0.5254, allocations: 4.021 MB / 0.6258 GB, free: 5.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/0.5255, allocations: 3.938 kB / 0.6258 GB, free: 5.977 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005381/0.526, allocations: 91.88 kB / 0.6259 GB, free: 5.887 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004501/0.5305, allocations: 1.323 MB / 0.6272 GB, free: 4.559 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000146/0.5307, allocations: 12 kB / 0.6272 GB, free: 4.547 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01192/0.5426, allocations: 6.025 MB / 0.6331 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.5427, allocations: 4 kB / 0.6331 GB, free: 14.37 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01022/0.5529, allocations: 3.367 MB / 0.6364 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004823/0.5534, allocations: 199.7 kB / 0.6366 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000171/0.5536, allocations: 20 kB / 0.6366 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/0.5546, allocations: 83.89 kB / 0.6367 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005191/0.5552, allocations: 156.4 kB / 0.6368 GB, free: 10.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.586e-05/0.5552, allocations: 20.09 kB / 0.6369 GB, free: 10.49 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001011/0.5562, allocations: 0.6631 MB / 0.6375 GB, free: 9.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.5563, allocations: 0 / 0.6375 GB, free: 9.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001174/0.5574, allocations: 347.7 kB / 0.6378 GB, free: 9.48 MB / 446.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.01059/0.568, allocations: 3.95 MB / 0.6417 GB, free: 5.484 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005339/0.5734, allocations: 1.894 MB / 0.6436 GB, free: 3.562 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.5734, allocations: 4 kB / 0.6436 GB, free: 3.559 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003357/0.5768, allocations: 1.211 MB / 0.6447 GB, free: 2.309 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009895/0.5778, allocations: 99.97 kB / 0.6448 GB, free: 2.215 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02874/0.6066, allocations: 12.86 MB / 0.6574 GB, free: 4.977 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006207/0.6072, allocations: 1.046 MB / 0.6584 GB, free: 3.902 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005309/0.6078, allocations: 98.67 kB / 0.6585 GB, free: 3.801 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005391/0.6083, allocations: 403.3 kB / 0.6589 GB, free: 3.406 MB / 462.1 MB Notification: Performance of SimCode: time 9.62e-07/0.6083, allocations: 0 / 0.6589 GB, free: 3.406 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04965/0.658, allocations: 27.03 MB / 0.6853 GB, free: 8.555 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001835/0.6582, allocations: 203.3 kB / 0.6855 GB, free: 8.305 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.732/3.391, allocations: 0 / 0.6855 GB, free: 8.305 MB / 494.1 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_FACTS_TCSC_Test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_FACTS_TCSC_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1)