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.001465/0.001464, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.402/1.402, allocations: 222.9 MB / 238.9 MB, free: 4.668 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.001527/0.001527, allocations: 184.5 kB / 289.1 MB, free: 2.422 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5945/0.5945, allocations: 91.89 MB / 431.2 MB, free: 9.426 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001753/0.001753, allocations: 83.88 kB / 0.5013 GB, free: 8.059 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3827/0.3845, allocations: 71.25 MB / 0.5709 GB, free: 36.45 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.005493/0.39, allocations: 6.347 MB / 0.5771 GB, free: 32.84 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00317/0.3932, allocations: 1.889 MB / 0.5789 GB, free: 31.67 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004751/0.3937, allocations: 16.16 kB / 0.5789 GB, free: 31.66 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005636/0.3943, allocations: 164.2 kB / 0.5791 GB, free: 31.59 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001273/0.3956, allocations: 0.6307 MB / 0.5797 GB, free: 31.19 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009081/0.3965, allocations: 0.5076 MB / 0.5802 GB, free: 30.91 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001026/0.3976, allocations: 1.353 MB / 0.5815 GB, free: 30.26 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003277/0.3979, allocations: 244.8 kB / 0.5818 GB, free: 30.16 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005577/0.3985, allocations: 0.5083 MB / 0.5823 GB, free: 29.93 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005708/0.399, allocations: 0.6241 MB / 0.5829 GB, free: 29.63 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001263/0.3992, allocations: 64.16 kB / 0.5829 GB, free: 29.62 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003986/0.3996, allocations: 192.7 kB / 0.5831 GB, free: 29.58 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000193/0.3998, allocations: 230.3 kB / 0.5833 GB, free: 29.45 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003945/0.4002, allocations: 0.5303 MB / 0.5839 GB, free: 29.1 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.4012, allocations: 1.337 MB / 0.5852 GB, free: 28.5 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.4012, allocations: 0 / 0.5852 GB, free: 28.5 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.4012, allocations: 0 / 0.5852 GB, free: 28.5 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.647e-05/0.4013, allocations: 0 / 0.5852 GB, free: 28.5 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.006783/0.408, allocations: 2.24 MB / 0.5874 GB, free: 27.41 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.4081, allocations: 9.969 kB / 0.5874 GB, free: 27.41 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001355/0.4083, allocations: 104.9 kB / 0.5875 GB, free: 27.34 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003392/0.4116, allocations: 0.5556 MB / 0.588 GB, free: 27.21 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001217/0.4129, allocations: 0.7874 MB / 0.5888 GB, free: 26.67 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002007/0.4131, allocations: 213.9 kB / 0.589 GB, free: 26.49 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/0.4132, allocations: 59.78 kB / 0.589 GB, free: 26.47 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001639/0.4149, allocations: 0.8327 MB / 0.5898 GB, free: 26.16 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.4149, allocations: 3.984 kB / 0.5899 GB, free: 26.15 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.996e-05/0.415, allocations: 25.5 kB / 0.5899 GB, free: 26.13 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.056e-05/0.415, allocations: 19.09 kB / 0.5899 GB, free: 26.13 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001868/0.4169, allocations: 0.8544 MB / 0.5907 GB, free: 25.85 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.006083/0.423, allocations: 3.049 MB / 0.5937 GB, free: 24.13 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00609/0.4291, allocations: 1.708 MB / 0.5954 GB, free: 23.32 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001213/0.4303, allocations: 0.5517 MB / 0.5959 GB, free: 23.1 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.377e-05/0.4304, allocations: 12.81 kB / 0.5959 GB, free: 23.09 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001317/0.4318, allocations: 0.6167 MB / 0.5965 GB, free: 22.86 MB / 430.1 MB Notification: Performance of pre-optimization done (n=74): time 3.517e-06/0.4318, allocations: 3.938 kB / 0.5965 GB, free: 22.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.01901/0.4508, allocations: 4.699 MB / 0.6011 GB, free: 21.78 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.4509, allocations: 63.47 kB / 0.6012 GB, free: 21.71 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001647/0.4525, allocations: 0.9674 MB / 0.6021 GB, free: 21.31 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001106/0.4526, allocations: 41.11 kB / 0.6022 GB, free: 21.27 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003067/0.453, allocations: 469.2 kB / 0.6026 GB, free: 20.89 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002533/0.4532, allocations: 263.7 kB / 0.6029 GB, free: 20.69 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003701/0.4536, allocations: 186.4 kB / 0.603 GB, free: 20.59 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.88e-05/0.4537, allocations: 346.1 kB / 0.6034 GB, free: 20.27 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001204/0.4549, allocations: 0.5505 MB / 0.6039 GB, free: 20.07 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00129/0.4562, allocations: 0.6669 MB / 0.6046 GB, free: 19.76 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01729/0.4735, allocations: 4.04 MB / 0.6085 GB, free: 18.67 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/0.4735, allocations: 0 / 0.6085 GB, free: 18.67 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.009365/0.4829, allocations: 2.832 MB / 0.6113 GB, free: 17.88 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.71e-05/0.483, allocations: 5.797 kB / 0.6113 GB, free: 17.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/0.483, allocations: 3.125 kB / 0.6113 GB, free: 17.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004934/0.488, allocations: 1.268 MB / 0.6125 GB, free: 17.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/0.4891, allocations: 186 kB / 0.6127 GB, free: 17.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01073/0.4999, allocations: 5.238 MB / 0.6178 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001514/0.5014, allocations: 155 kB / 0.618 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.549e-05/0.5015, allocations: 35.98 kB / 0.618 GB, free: 14.01 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.000448/0.502, allocations: 233.6 kB / 0.6182 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001665/0.5021, allocations: 118.5 kB / 0.6183 GB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007547/0.5097, allocations: 2.657 MB / 0.6209 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.5097, allocations: 7.984 kB / 0.6209 GB, free: 10.97 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.5097, allocations: 4 kB / 0.6209 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.5097, allocations: 3.984 kB / 0.6209 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008638/0.5184, allocations: 4.021 MB / 0.6249 GB, free: 6.824 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.5184, allocations: 0 / 0.6249 GB, free: 6.824 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004522/0.5189, allocations: 83.89 kB / 0.6249 GB, free: 6.742 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004241/0.5231, allocations: 1.327 MB / 0.6262 GB, free: 5.41 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.703e-05/0.5232, allocations: 19.94 kB / 0.6263 GB, free: 5.391 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01061/0.5338, allocations: 5.455 MB / 0.6316 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.912e-06/0.5339, allocations: 4 kB / 0.6316 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009832/0.5437, allocations: 3.371 MB / 0.6349 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000508/0.5442, allocations: 195.7 kB / 0.6351 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003089/0.5446, allocations: 16 kB / 0.6351 GB, free: 12.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/0.5457, allocations: 87.89 kB / 0.6352 GB, free: 12.08 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005302/0.5463, allocations: 160.3 kB / 0.6353 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-05/0.5464, allocations: 20 kB / 0.6353 GB, free: 11.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001215/0.5476, allocations: 0.6553 MB / 0.636 GB, free: 11.24 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.5476, allocations: 0 / 0.636 GB, free: 11.24 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001408/0.549, allocations: 355.8 kB / 0.6363 GB, free: 10.89 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.01036/0.5594, allocations: 3.939 MB / 0.6402 GB, free: 6.918 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00493/0.5644, allocations: 1.851 MB / 0.642 GB, free: 5.031 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.5644, allocations: 0.5625 kB / 0.642 GB, free: 5.031 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003233/0.5676, allocations: 1.191 MB / 0.6431 GB, free: 3.801 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001243/0.5689, allocations: 92.41 kB / 0.6432 GB, free: 3.711 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02944/0.5983, allocations: 12.86 MB / 0.6558 GB, free: 6.488 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007276/0.5991, allocations: 1.045 MB / 0.6568 GB, free: 5.414 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005189/0.5997, allocations: 102.7 kB / 0.6569 GB, free: 5.309 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006096/0.6003, allocations: 399.3 kB / 0.6573 GB, free: 4.918 MB / 462.1 MB Notification: Performance of SimCode: time 6.82e-07/0.6003, allocations: 7.938 kB / 0.6573 GB, free: 4.91 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0486/0.6489, allocations: 25.89 MB / 0.6826 GB, free: 11.17 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001973/0.6491, allocations: 202.6 kB / 0.6828 GB, free: 10.92 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.503/3.152, allocations: 0 / 0.6828 GB, free: 10.92 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)