Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.conf.json 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/Modelica 4.0.0+maint.om/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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.FACTS.TCSC_Test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_FACTS_TCSC_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.FACTS.TCSC_Test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_FACTS_TCSC_Test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008689/0.008689, allocations: 169.8 kB / 15.12 MB, free: 5.559 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 223.2 MB / 239 MB, free: 1.777 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009651/0.0009651, allocations: 97.89 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4789/0.4789, allocations: 78.6 MB / 419.9 MB, free: 44.21 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005817/0.0005818, allocations: 8 kB / 499.8 MB, free: 2.836 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4509/0.4515, allocations: 69.35 MB / 0.5559 GB, free: 38.8 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.006334/0.4579, allocations: 5.246 MB / 0.561 GB, free: 38.12 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004802/0.4627, allocations: 1.815 MB / 0.5627 GB, free: 36.83 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001364/0.4641, allocations: 16.03 kB / 0.5628 GB, free: 36.83 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008611/0.465, allocations: 154.4 kB / 0.5629 GB, free: 36.76 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002214/0.4672, allocations: 0.6429 MB / 0.5635 GB, free: 36.33 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001294/0.4685, allocations: 450.2 kB / 0.564 GB, free: 36.11 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001911/0.4704, allocations: 0.8895 MB / 0.5648 GB, free: 35.62 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003974/0.4709, allocations: 232 kB / 0.5651 GB, free: 35.52 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009433/0.4718, allocations: 0.4991 MB / 0.5655 GB, free: 35.29 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009276/0.4727, allocations: 0.5584 MB / 0.5661 GB, free: 35.04 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002033/0.473, allocations: 49.31 kB / 0.5661 GB, free: 35.04 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005883/0.4736, allocations: 160.4 kB / 0.5663 GB, free: 35.01 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001785/0.4737, allocations: 207.9 kB / 0.5665 GB, free: 34.89 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002161/0.474, allocations: 204.5 kB / 0.5667 GB, free: 34.76 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009934/0.475, allocations: 0.9898 MB / 0.5676 GB, free: 34.47 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.475, allocations: 0 / 0.5676 GB, free: 34.47 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.475, allocations: 0 / 0.5676 GB, free: 34.47 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.55e-05/0.475, allocations: 0 / 0.5676 GB, free: 34.47 MB / 426.7 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.006745/0.4818, allocations: 2.092 MB / 0.5697 GB, free: 33.5 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.4818, allocations: 9.406 kB / 0.5697 GB, free: 33.5 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002423/0.4821, allocations: 109.8 kB / 0.5698 GB, free: 33.42 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003338/0.4854, allocations: 0.5579 MB / 0.5703 GB, free: 33.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001426/0.4869, allocations: 0.7398 MB / 0.5711 GB, free: 32.8 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000222/0.4871, allocations: 219.1 kB / 0.5713 GB, free: 32.62 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/0.4872, allocations: 62.06 kB / 0.5713 GB, free: 32.61 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001622/0.4889, allocations: 0.8763 MB / 0.5722 GB, free: 32.28 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.4889, allocations: 2.594 kB / 0.5722 GB, free: 32.28 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.451e-05/0.489, allocations: 30.05 kB / 0.5722 GB, free: 32.25 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/0.489, allocations: 16.69 kB / 0.5722 GB, free: 32.25 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001693/0.4907, allocations: 0.912 MB / 0.5731 GB, free: 31.96 MB / 426.7 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.005113/0.4958, allocations: 3.301 MB / 0.5764 GB, free: 30 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006048/0.5019, allocations: 1.975 MB / 0.5783 GB, free: 29.14 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001208/0.502, allocations: 12.58 kB / 0.5783 GB, free: 29.14 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00126/0.5033, allocations: 0.656 MB / 0.5789 GB, free: 28.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=74): time 3.757e-06/0.5033, allocations: 0 / 0.5789 GB, free: 28.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=74): time 0.01806/0.5214, allocations: 5.585 MB / 0.5844 GB, free: 27.72 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/0.5214, allocations: 61.97 kB / 0.5845 GB, free: 27.66 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00129/0.5227, allocations: 0.959 MB / 0.5854 GB, free: 27.26 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001665/0.5229, allocations: 43.17 kB / 0.5854 GB, free: 27.21 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000261/0.5232, allocations: 466.5 kB / 0.5859 GB, free: 26.84 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002273/0.5234, allocations: 268.6 kB / 0.5861 GB, free: 26.63 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.997e-05/0.5235, allocations: 18.41 kB / 0.5861 GB, free: 26.62 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.285e-05/0.5236, allocations: 353.4 kB / 0.5865 GB, free: 26.29 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001129/0.5247, allocations: 0.5929 MB / 0.5871 GB, free: 26.08 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001184/0.5259, allocations: 0.7105 MB / 0.5878 GB, free: 25.77 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001355/0.5273, allocations: 0.6419 MB / 0.5884 GB, free: 25.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.5273, allocations: 0.9062 kB / 0.5884 GB, free: 25.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.009061/0.5363, allocations: 3.325 MB / 0.5916 GB, free: 24.65 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/0.5364, allocations: 5.625 kB / 0.5916 GB, free: 24.65 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.5364, allocations: 6 kB / 0.5916 GB, free: 24.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005066/0.5415, allocations: 1.474 MB / 0.5931 GB, free: 24.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/0.5426, allocations: 194.7 kB / 0.5933 GB, free: 24.37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01225/0.5548, allocations: 5.976 MB / 0.5991 GB, free: 21.42 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001631/0.5565, allocations: 175.4 kB / 0.5993 GB, free: 21.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.371e-05/0.5566, allocations: 37.62 kB / 0.5993 GB, free: 21.35 MB / 426.7 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.0004551/0.5571, allocations: 246.9 kB / 0.5995 GB, free: 21.15 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001695/0.5573, allocations: 115.7 kB / 0.5997 GB, free: 21.09 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00939/0.5666, allocations: 3.154 MB / 0.6027 GB, free: 20.33 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.877e-05/0.5667, allocations: 7.688 kB / 0.6027 GB, free: 20.33 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.5667, allocations: 1.812 kB / 0.6027 GB, free: 20.33 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.038e-05/0.5668, allocations: 7.734 kB / 0.6027 GB, free: 20.32 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01142/0.5782, allocations: 4.521 MB / 0.6072 GB, free: 18.69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-06/0.5782, allocations: 5.25 kB / 0.6072 GB, free: 18.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005758/0.5788, allocations: 94.31 kB / 0.6073 GB, free: 18.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005246/0.5841, allocations: 1.53 MB / 0.6088 GB, free: 18.41 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001353/0.5842, allocations: 21.5 kB / 0.6088 GB, free: 18.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01195/0.5962, allocations: 6.155 MB / 0.6148 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.5962, allocations: 0 / 0.6148 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009866/0.6061, allocations: 3.926 MB / 0.6186 GB, free: 9.285 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003982/0.6065, allocations: 199.7 kB / 0.6188 GB, free: 9.07 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001397/0.6067, allocations: 12 kB / 0.6188 GB, free: 9.059 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009304/0.6076, allocations: 111.9 kB / 0.6189 GB, free: 8.949 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004122/0.608, allocations: 152.4 kB / 0.6191 GB, free: 8.797 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-05/0.6081, allocations: 27.98 kB / 0.6191 GB, free: 8.77 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008562/0.6089, allocations: 0.6514 MB / 0.6197 GB, free: 8.109 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6089, allocations: 0 / 0.6197 GB, free: 8.109 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001108/0.6101, allocations: 351.6 kB / 0.6201 GB, free: 7.766 MB / 426.7 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.009686/0.6198, allocations: 4.49 MB / 0.6245 GB, free: 3.238 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004691/0.6245, allocations: 2.047 MB / 0.6265 GB, free: 1.156 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.6245, allocations: 0 / 0.6265 GB, free: 1.156 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003271/0.6278, allocations: 1.33 MB / 0.6278 GB, free: 15.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008389/0.6286, allocations: 82.14 kB / 0.6278 GB, free: 15.72 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004596/0.6332, allocations: 3.914 MB / 0.6317 GB, free: 11.72 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005737/0.6338, allocations: 1.065 MB / 0.6327 GB, free: 10.62 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003865/0.6342, allocations: 106.7 kB / 0.6328 GB, free: 10.52 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005044/0.6347, allocations: 391.3 kB / 0.6332 GB, free: 10.13 MB / 442.7 MB Notification: Performance of SimCode: time 7.11e-07/0.6348, allocations: 0 / 0.6332 GB, free: 10.13 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04483/0.6796, allocations: 24.76 MB / 0.6574 GB, free: 1.543 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001864/0.6798, allocations: 197.7 kB / 0.6575 GB, free: 1.305 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.664/3.344, allocations: 2.875 kB / 0.6575 GB, free: 1.305 MB / 458.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_FACTS_TCSC_Test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_FACTS_TCSC_Test.fmu > OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1)