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.0008944/0.0008944, allocations: 92.39 kB / 15.06 MB, free: 1.098 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.391/1.391, allocations: 223.2 MB / 239 MB, free: 5.461 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.001295/0.001295, allocations: 180.1 kB / 290.3 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5114/0.5114, allocations: 79.47 MB / 420.8 MB, free: 3.934 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004308/0.0004309, allocations: 15.94 kB / 0.4892 GB, free: 5.488 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4307/0.4311, allocations: 69.51 MB / 0.5571 GB, free: 37.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.005895/0.4371, allocations: 5.527 MB / 0.5625 GB, free: 37.35 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004274/0.4414, allocations: 1.785 MB / 0.5642 GB, free: 37.06 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006323/0.4421, allocations: 16.12 kB / 0.5642 GB, free: 37.06 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006441/0.4427, allocations: 156.5 kB / 0.5644 GB, free: 37 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001467/0.4442, allocations: 0.5725 MB / 0.565 GB, free: 36.75 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.4453, allocations: 460.3 kB / 0.5654 GB, free: 36.68 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001239/0.4465, allocations: 1.259 MB / 0.5666 GB, free: 36.39 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003415/0.4469, allocations: 232.1 kB / 0.5668 GB, free: 36.34 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005798/0.4475, allocations: 495.8 kB / 0.5673 GB, free: 36.2 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005887/0.4481, allocations: 0.5784 MB / 0.5679 GB, free: 36.04 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001031/0.4482, allocations: 48.12 kB / 0.5679 GB, free: 36.04 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004265/0.4486, allocations: 171.5 kB / 0.5681 GB, free: 36.04 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002413/0.4489, allocations: 209.8 kB / 0.5683 GB, free: 35.97 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002264/0.4491, allocations: 203.8 kB / 0.5685 GB, free: 35.9 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008899/0.45, allocations: 1.016 MB / 0.5695 GB, free: 35.73 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.45, allocations: 0 / 0.5695 GB, free: 35.73 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.45, allocations: 1.125 kB / 0.5695 GB, free: 35.73 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.45, allocations: 0 / 0.5695 GB, free: 35.73 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.005725/0.4558, allocations: 2.094 MB / 0.5715 GB, free: 34.91 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.4558, allocations: 8.344 kB / 0.5715 GB, free: 34.91 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001964/0.456, allocations: 107.2 kB / 0.5716 GB, free: 34.87 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003139/0.4592, allocations: 0.5579 MB / 0.5722 GB, free: 34.8 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001325/0.4605, allocations: 0.7451 MB / 0.5729 GB, free: 34.44 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000222/0.4608, allocations: 216.8 kB / 0.5731 GB, free: 34.29 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/0.4609, allocations: 64.03 kB / 0.5732 GB, free: 34.29 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001573/0.4625, allocations: 0.8857 MB / 0.574 GB, free: 34.03 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.4625, allocations: 0.5625 kB / 0.574 GB, free: 34.03 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.379e-05/0.4626, allocations: 30.16 kB / 0.5741 GB, free: 34.01 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.4626, allocations: 14.41 kB / 0.5741 GB, free: 34.01 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001656/0.4643, allocations: 0.9115 MB / 0.575 GB, free: 33.73 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.004923/0.4692, allocations: 3.094 MB / 0.578 GB, free: 32.02 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005182/0.4744, allocations: 1.975 MB / 0.5799 GB, free: 31.18 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001025/0.4754, allocations: 0.602 MB / 0.5805 GB, free: 30.95 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.141e-05/0.4755, allocations: 9.156 kB / 0.5805 GB, free: 30.95 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001115/0.4767, allocations: 0.6597 MB / 0.5812 GB, free: 30.72 MB / 430.1 MB Notification: Performance of pre-optimization done (n=74): time 3.256e-06/0.4767, allocations: 4 kB / 0.5812 GB, free: 30.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.01679/0.4935, allocations: 5.59 MB / 0.5866 GB, free: 29.53 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.4936, allocations: 59.47 kB / 0.5867 GB, free: 29.46 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001626/0.4952, allocations: 0.9588 MB / 0.5876 GB, free: 29.07 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001995/0.4954, allocations: 41.11 kB / 0.5877 GB, free: 29.02 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003007/0.4957, allocations: 473.9 kB / 0.5881 GB, free: 28.65 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002696/0.496, allocations: 264.8 kB / 0.5884 GB, free: 28.44 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.863e-05/0.4961, allocations: 20.19 kB / 0.5884 GB, free: 28.43 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.44e-05/0.4962, allocations: 345 kB / 0.5887 GB, free: 28.1 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001186/0.4974, allocations: 0.5941 MB / 0.5893 GB, free: 27.89 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001287/0.4986, allocations: 0.7191 MB / 0.59 GB, free: 27.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00128/0.4999, allocations: 0.639 MB / 0.5906 GB, free: 27.31 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.535e-06/0.5, allocations: 1.344 kB / 0.5906 GB, free: 27.31 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.008558/0.5085, allocations: 3.325 MB / 0.5939 GB, free: 26.46 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.022e-05/0.5086, allocations: 7.344 kB / 0.5939 GB, free: 26.46 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/0.5086, allocations: 3.797 kB / 0.5939 GB, free: 26.46 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004759/0.5134, allocations: 1.479 MB / 0.5953 GB, free: 26.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/0.5146, allocations: 192.3 kB / 0.5955 GB, free: 26.19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0128/0.5274, allocations: 5.732 MB / 0.6011 GB, free: 23.33 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001867/0.5293, allocations: 181 kB / 0.6013 GB, free: 23.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/0.5294, allocations: 37.59 kB / 0.6013 GB, free: 23.26 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 ($whenCondition1,$whenCondition2) * 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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {14 8} Notification: Performance of prepare postOptimizeDAE: time 0.0005744/0.53, allocations: 234 kB / 0.6015 GB, free: 23.07 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001756/0.5302, allocations: 115.9 kB / 0.6016 GB, free: 23 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009067/0.5392, allocations: 3.154 MB / 0.6047 GB, free: 22.25 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.819e-05/0.5393, allocations: 8 kB / 0.6047 GB, free: 22.25 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.5393, allocations: 0 / 0.6047 GB, free: 22.25 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.066e-05/0.5394, allocations: 3.375 kB / 0.6047 GB, free: 22.25 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01066/0.55, allocations: 4.53 MB / 0.6092 GB, free: 20.61 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.195e-05/0.5501, allocations: 1.125 kB / 0.6092 GB, free: 20.61 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000569/0.5507, allocations: 95 kB / 0.6092 GB, free: 20.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004871/0.5555, allocations: 1.535 MB / 0.6107 GB, free: 20.33 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001532/0.5557, allocations: 18.09 kB / 0.6108 GB, free: 20.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01087/0.5666, allocations: 5.889 MB / 0.6165 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.5666, allocations: 1 kB / 0.6165 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00873/0.5754, allocations: 3.92 MB / 0.6203 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004501/0.5759, allocations: 203.7 kB / 0.6205 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001411/0.576, allocations: 12 kB / 0.6206 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008292/0.5769, allocations: 119.9 kB / 0.6207 GB, free: 11.19 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004615/0.5773, allocations: 152.4 kB / 0.6208 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.592e-05/0.5774, allocations: 23.94 kB / 0.6208 GB, free: 11.02 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008492/0.5782, allocations: 0.6514 MB / 0.6215 GB, free: 10.36 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5783, allocations: 4 kB / 0.6215 GB, free: 10.35 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001181/0.5794, allocations: 347.7 kB / 0.6218 GB, free: 10.01 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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {15 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.008798/0.5883, allocations: 4.496 MB / 0.6262 GB, free: 5.48 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00494/0.5932, allocations: 2.035 MB / 0.6282 GB, free: 3.414 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.5933, allocations: 0 / 0.6282 GB, free: 3.414 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003108/0.5964, allocations: 1.343 MB / 0.6295 GB, free: 2.035 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001499/0.5979, allocations: 92.97 kB / 0.6296 GB, free: 1.945 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01844/0.6164, allocations: 9.06 MB / 0.6384 GB, free: 8.605 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006108/0.6171, allocations: 1.046 MB / 0.6395 GB, free: 7.531 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004749/0.6175, allocations: 101.7 kB / 0.6395 GB, free: 7.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005657/0.6181, allocations: 396.7 kB / 0.6399 GB, free: 7.047 MB / 446.1 MB Notification: Performance of SimCode: time 1.062e-06/0.6181, allocations: 0 / 0.6399 GB, free: 7.047 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05395/0.6721, allocations: 25.38 MB / 0.6647 GB, free: 14.04 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001868/0.6723, allocations: 196.9 kB / 0.6649 GB, free: 13.79 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.374/3.046, allocations: 0 / 0.6649 GB, free: 13.79 MB / 478.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/linux/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) Environment - environmentSimulation: