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.006003/0.006004, allocations: 168.1 kB / 15.13 MB, free: 6.02 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.494/1.494, allocations: 223.3 MB / 239.1 MB, free: 15.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009286/0.0009287, allocations: 95.34 kB / 290.3 MB, free: 4.559 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5186/0.5186, allocations: 78.62 MB / 420 MB, free: 36.54 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003845/0.0003845, allocations: 8 kB / 500 MB, free: 7.102 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1492, allocations: 69.35 MB / 0.556 GB, free: 1.691 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.005809/0.155, allocations: 5.521 MB / 0.5614 GB, free: 12.14 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003867/0.1589, allocations: 1.783 MB / 0.5631 GB, free: 10.36 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009919/0.1599, allocations: 12 kB / 0.5631 GB, free: 10.35 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007962/0.1607, allocations: 154.9 kB / 0.5633 GB, free: 10.2 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001876/0.1626, allocations: 0.5813 MB / 0.5638 GB, free: 9.613 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001157/0.1638, allocations: 458.5 kB / 0.5643 GB, free: 9.168 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001562/0.1654, allocations: 1.261 MB / 0.5655 GB, free: 7.902 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003702/0.1658, allocations: 223.5 kB / 0.5657 GB, free: 7.672 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006811/0.1665, allocations: 497.8 kB / 0.5662 GB, free: 7.184 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000649/0.1671, allocations: 0.5755 MB / 0.5668 GB, free: 6.605 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001101/0.1672, allocations: 48 kB / 0.5668 GB, free: 6.559 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004449/0.1677, allocations: 175.8 kB / 0.567 GB, free: 6.387 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001946/0.1679, allocations: 203 kB / 0.5672 GB, free: 6.188 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000202/0.1681, allocations: 209 kB / 0.5674 GB, free: 5.977 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009072/0.169, allocations: 1.025 MB / 0.5684 GB, free: 4.949 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.169, allocations: 0 / 0.5684 GB, free: 4.949 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.169, allocations: 3.938 kB / 0.5684 GB, free: 4.945 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.261e-05/0.1691, allocations: 4 kB / 0.5684 GB, free: 4.941 MB / 442.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.006579/0.1756, allocations: 2.084 MB / 0.5704 GB, free: 2.805 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.1757, allocations: 12.03 kB / 0.5704 GB, free: 2.793 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001749/0.1759, allocations: 110.5 kB / 0.5705 GB, free: 2.676 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003159/0.179, allocations: 0.5527 MB / 0.5711 GB, free: 2.121 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001324/0.1804, allocations: 0.7416 MB / 0.5718 GB, free: 1.324 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002473/0.1806, allocations: 221.8 kB / 0.572 GB, free: 1.078 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/0.1808, allocations: 64 kB / 0.5721 GB, free: 1.016 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001758/0.1825, allocations: 0.8732 MB / 0.5729 GB, free: 136 kB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.1826, allocations: 0 / 0.5729 GB, free: 136 kB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.544e-05/0.1827, allocations: 39.94 kB / 0.573 GB, free: 96 kB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/0.1827, allocations: 12 kB / 0.573 GB, free: 84 kB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2884/0.4711, allocations: 0.9092 MB / 0.5739 GB, free: 44.25 MB / 442.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.005935/0.4771, allocations: 3.095 MB / 0.5769 GB, free: 43.59 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006232/0.4834, allocations: 1.972 MB / 0.5788 GB, free: 43.09 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001177/0.4845, allocations: 0.5976 MB / 0.5794 GB, free: 43.08 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.436e-05/0.4847, allocations: 16.8 kB / 0.5794 GB, free: 43.08 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001397/0.4861, allocations: 0.6614 MB / 0.58 GB, free: 43.03 MB / 442.7 MB Notification: Performance of pre-optimization done (n=74): time 3.176e-06/0.4861, allocations: 0 / 0.58 GB, free: 43.03 MB / 442.7 MB Notification: Performance of matching and sorting (n=74): time 0.02009/0.5062, allocations: 5.587 MB / 0.5855 GB, free: 42.51 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.5063, allocations: 60.5 kB / 0.5856 GB, free: 42.45 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001701/0.508, allocations: 0.959 MB / 0.5865 GB, free: 42.29 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001808/0.5082, allocations: 37.36 kB / 0.5865 GB, free: 42.26 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003324/0.5085, allocations: 472.5 kB / 0.587 GB, free: 42.11 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002743/0.5088, allocations: 263.1 kB / 0.5872 GB, free: 41.94 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.758e-05/0.5089, allocations: 22 kB / 0.5873 GB, free: 41.94 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.21e-05/0.509, allocations: 346.2 kB / 0.5876 GB, free: 41.63 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00127/0.5102, allocations: 0.5961 MB / 0.5882 GB, free: 41.62 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001438/0.5117, allocations: 0.7157 MB / 0.5889 GB, free: 41.52 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001336/0.513, allocations: 0.6398 MB / 0.5895 GB, free: 41.5 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.513, allocations: 1.594 kB / 0.5895 GB, free: 41.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00953/0.5226, allocations: 3.329 MB / 0.5927 GB, free: 41.08 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.42e-05/0.5226, allocations: 7.219 kB / 0.5928 GB, free: 41.08 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.919e-05/0.5227, allocations: 2.781 kB / 0.5928 GB, free: 41.08 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00512/0.5278, allocations: 1.481 MB / 0.5942 GB, free: 40.83 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/0.5288, allocations: 195.9 kB / 0.5944 GB, free: 40.81 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01119/0.5401, allocations: 5.737 MB / 0.6 GB, free: 37.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001702/0.5418, allocations: 173.5 kB / 0.6002 GB, free: 37.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/0.5419, allocations: 37.05 kB / 0.6002 GB, free: 37.88 MB / 442.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.0005436/0.5425, allocations: 235.7 kB / 0.6004 GB, free: 37.69 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001965/0.5427, allocations: 107.1 kB / 0.6005 GB, free: 37.63 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008781/0.5515, allocations: 3.164 MB / 0.6036 GB, free: 36.87 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.686e-05/0.5515, allocations: 6.312 kB / 0.6036 GB, free: 36.87 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.5515, allocations: 3.938 kB / 0.6036 GB, free: 36.87 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.257e-05/0.5516, allocations: 4.453 kB / 0.6036 GB, free: 36.87 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01055/0.5621, allocations: 4.522 MB / 0.608 GB, free: 35.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/0.5622, allocations: 0 / 0.608 GB, free: 35.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005645/0.5627, allocations: 98.17 kB / 0.6081 GB, free: 35.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005138/0.5679, allocations: 1.531 MB / 0.6096 GB, free: 34.97 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001417/0.5681, allocations: 14.81 kB / 0.6096 GB, free: 34.96 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01431/0.5824, allocations: 5.886 MB / 0.6154 GB, free: 31.92 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.5824, allocations: 0 / 0.6154 GB, free: 31.92 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01143/0.5939, allocations: 3.931 MB / 0.6192 GB, free: 30.77 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004784/0.5944, allocations: 204.5 kB / 0.6194 GB, free: 30.59 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002721/0.5947, allocations: 11.44 kB / 0.6194 GB, free: 30.58 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/0.5959, allocations: 114.5 kB / 0.6195 GB, free: 30.57 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005905/0.5965, allocations: 157 kB / 0.6197 GB, free: 30.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.39e-05/0.5966, allocations: 19.88 kB / 0.6197 GB, free: 30.54 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001477/0.5981, allocations: 0.6488 MB / 0.6203 GB, free: 30.27 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.5981, allocations: 0 / 0.6203 GB, free: 30.27 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001708/0.5998, allocations: 351.8 kB / 0.6207 GB, free: 30.22 MB / 442.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.01253/0.6123, allocations: 4.494 MB / 0.6251 GB, free: 28.54 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00547/0.6178, allocations: 2.04 MB / 0.6271 GB, free: 27.75 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.6179, allocations: 0 / 0.6271 GB, free: 27.75 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003722/0.6216, allocations: 1.333 MB / 0.6284 GB, free: 27.21 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/0.6227, allocations: 96.06 kB / 0.6285 GB, free: 27.14 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01816/0.6408, allocations: 9.081 MB / 0.6373 GB, free: 20.46 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004712/0.6413, allocations: 1.046 MB / 0.6383 GB, free: 19.39 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004141/0.6418, allocations: 99.89 kB / 0.6384 GB, free: 19.29 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004321/0.6422, allocations: 399.3 kB / 0.6388 GB, free: 18.91 MB / 442.7 MB Notification: Performance of SimCode: time 6.11e-07/0.6422, allocations: 0 / 0.6388 GB, free: 18.91 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03947/0.6817, allocations: 25.39 MB / 0.6636 GB, free: 9.855 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001839/0.6819, allocations: 194.8 kB / 0.6638 GB, free: 9.617 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.777/3.458, allocations: 0 / 0.6638 GB, free: 9.617 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)