Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 114.3 kB / 18.94 MB, free: 2.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.462/1.462, allocations: 230.6 MB / 252.7 MB, free: 8.301 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001836/0.001836, allocations: 205.2 kB / 309.2 MB, free: 3.207 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4689/0.4689, allocations: 79.74 MB / 445.4 MB, free: 14.88 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.FACTS.TCSC_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_FACTS_TCSC_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.FACTS.TCSC_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_FACTS_TCSC_Test",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002717/0.002717, allocations: 83.88 kB / 0.5929 GB, free: 14.03 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1447, allocations: 73.31 MB / 0.6645 GB, free: 4.621 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.008345/0.153, allocations: 6.077 MB / 0.6704 GB, free: 14.52 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005049/0.158, allocations: 1.903 MB / 0.6723 GB, free: 12.61 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001324/0.1594, allocations: 11.94 kB / 0.6723 GB, free: 12.6 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001087/0.1605, allocations: 210.2 kB / 0.6725 GB, free: 12.39 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003101/0.1636, allocations: 0.7562 MB / 0.6732 GB, free: 11.63 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001655/0.1652, allocations: 0.5562 MB / 0.6738 GB, free: 11.08 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002622/0.1678, allocations: 1.452 MB / 0.6752 GB, free: 9.621 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005382/0.1684, allocations: 199.7 kB / 0.6754 GB, free: 9.414 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001196/0.1696, allocations: 0.5836 MB / 0.6759 GB, free: 8.828 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001212/0.1708, allocations: 0.6611 MB / 0.6766 GB, free: 8.164 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003215/0.1711, allocations: 100 kB / 0.6767 GB, free: 8.066 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007296/0.1718, allocations: 251.8 kB / 0.6769 GB, free: 7.82 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003743/0.1722, allocations: 266.9 kB / 0.6772 GB, free: 7.559 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000836/0.173, allocations: 0.5669 MB / 0.6777 GB, free: 6.988 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002295/0.1753, allocations: 1.408 MB / 0.6791 GB, free: 5.574 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1753, allocations: 0 / 0.6791 GB, free: 5.574 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1753, allocations: 0 / 0.6791 GB, free: 5.574 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.407e-05/0.1754, allocations: 3.938 kB / 0.6791 GB, free: 5.57 MB / 478.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.008425/0.1838, allocations: 2.336 MB / 0.6814 GB, free: 3.191 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.1839, allocations: 15.98 kB / 0.6814 GB, free: 3.176 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001996/0.1841, allocations: 110.7 kB / 0.6815 GB, free: 3.059 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003626/0.1877, allocations: 0.5576 MB / 0.6821 GB, free: 2.5 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00192/0.1896, allocations: 0.7241 MB / 0.6828 GB, free: 1.734 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000378/0.19, allocations: 290.9 kB / 0.683 GB, free: 1.402 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002156/0.1902, allocations: 67.89 kB / 0.6831 GB, free: 1.336 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002027/0.1922, allocations: 0.8341 MB / 0.6839 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.1923, allocations: 0 / 0.6839 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.681e-05/0.1923, allocations: 24 kB / 0.684 GB, free: 480 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.659e-05/0.1924, allocations: 19.94 kB / 0.684 GB, free: 460 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00203/0.1944, allocations: 0.8523 MB / 0.6848 GB, free: 15.6 MB / 494.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.00669/0.2011, allocations: 3.001 MB / 0.6877 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006247/0.2073, allocations: 1.262 MB / 0.689 GB, free: 11.2 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001348/0.2087, allocations: 0.4951 MB / 0.6894 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001313/0.2088, allocations: 16.59 kB / 0.6895 GB, free: 10.69 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001504/0.2103, allocations: 0.6172 MB / 0.6901 GB, free: 10.06 MB / 494.1 MB Notification: Performance of pre-optimization done (n=74): time 2.845e-06/0.2103, allocations: 0 / 0.6901 GB, free: 10.06 MB / 494.1 MB Notification: Performance of matching and sorting (n=74): time 0.01954/0.2298, allocations: 4.533 MB / 0.6945 GB, free: 5.508 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.995e-05/0.2299, allocations: 64 kB / 0.6946 GB, free: 5.434 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002028/0.2319, allocations: 0.9739 MB / 0.6955 GB, free: 4.441 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002572/0.2322, allocations: 37.7 kB / 0.6955 GB, free: 4.398 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004931/0.2327, allocations: 484.8 kB / 0.696 GB, free: 3.918 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004629/0.2331, allocations: 273.7 kB / 0.6963 GB, free: 3.648 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005346/0.2337, allocations: 182.5 kB / 0.6964 GB, free: 3.461 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.2339, allocations: 345.9 kB / 0.6968 GB, free: 3.117 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001402/0.2353, allocations: 0.5524 MB / 0.6973 GB, free: 2.566 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001467/0.2367, allocations: 0.6633 MB / 0.698 GB, free: 1.871 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2924/0.5292, allocations: 4.149 MB / 0.702 GB, free: 33.58 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/0.5292, allocations: 0 / 0.702 GB, free: 33.58 MB / 494.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.009001/0.5382, allocations: 2.82 MB / 0.7048 GB, free: 33.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/0.5382, allocations: 9.891 kB / 0.7048 GB, free: 33.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/0.5382, allocations: 2.625 kB / 0.7048 GB, free: 33.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005168/0.5434, allocations: 1.266 MB / 0.706 GB, free: 33.44 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001116/0.5445, allocations: 189.7 kB / 0.7062 GB, free: 33.44 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01317/0.5577, allocations: 5.58 MB / 0.7116 GB, free: 31.71 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00156/0.5592, allocations: 155.6 kB / 0.7118 GB, free: 31.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/0.5593, allocations: 36.81 kB / 0.7118 GB, free: 31.67 MB / 494.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.0004787/0.5598, allocations: 232.3 kB / 0.712 GB, free: 31.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002213/0.56, allocations: 120.1 kB / 0.7122 GB, free: 31.43 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009324/0.5694, allocations: 2.637 MB / 0.7147 GB, free: 30.75 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.86e-05/0.5694, allocations: 7.156 kB / 0.7147 GB, free: 30.75 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.5694, allocations: 1.719 kB / 0.7147 GB, free: 30.75 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.196e-05/0.5694, allocations: 11.36 kB / 0.7148 GB, free: 30.75 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01032/0.5797, allocations: 3.97 MB / 0.7186 GB, free: 29.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.19e-05/0.5797, allocations: 4.938 kB / 0.7186 GB, free: 29.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005767/0.5803, allocations: 90.3 kB / 0.7187 GB, free: 29.24 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004836/0.5851, allocations: 1.322 MB / 0.72 GB, free: 29 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001578/0.5853, allocations: 16.75 kB / 0.72 GB, free: 28.99 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01259/0.5979, allocations: 5.906 MB / 0.7258 GB, free: 25.45 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.5979, allocations: 1.625 kB / 0.7258 GB, free: 25.45 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009686/0.6076, allocations: 3.363 MB / 0.7291 GB, free: 23.67 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003637/0.608, allocations: 127.1 kB / 0.7292 GB, free: 23.59 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001587/0.6081, allocations: 12.66 kB / 0.7292 GB, free: 23.58 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009545/0.6091, allocations: 91.23 kB / 0.7293 GB, free: 23.54 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004457/0.6095, allocations: 161.4 kB / 0.7295 GB, free: 23.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.986e-05/0.6096, allocations: 19.38 kB / 0.7295 GB, free: 23.43 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008471/0.6104, allocations: 0.6578 MB / 0.7301 GB, free: 23.05 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6104, allocations: 0 / 0.7301 GB, free: 23.05 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0011/0.6115, allocations: 351.9 kB / 0.7305 GB, free: 23.01 MB / 494.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.009705/0.6212, allocations: 3.944 MB / 0.7343 GB, free: 20.69 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004575/0.6258, allocations: 1.712 MB / 0.736 GB, free: 19.81 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.6258, allocations: 0 / 0.736 GB, free: 19.81 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003103/0.6289, allocations: 1.086 MB / 0.737 GB, free: 19.21 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009781/0.6299, allocations: 100 kB / 0.7371 GB, free: 19.15 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02501/0.6549, allocations: 11.98 MB / 0.7488 GB, free: 7.609 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004734/0.6554, allocations: 1.046 MB / 0.7499 GB, free: 6.535 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004048/0.6558, allocations: 102.7 kB / 0.75 GB, free: 6.43 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004824/0.6563, allocations: 400.2 kB / 0.7503 GB, free: 6.039 MB / 494.1 MB Notification: Performance of SimCode: time 9.42e-07/0.6563, allocations: 0 / 0.7503 GB, free: 6.039 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07882/0.7351, allocations: 29.3 MB / 0.779 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.17/17.9, allocations: 3.984 kB / 0.779 GB, free: 8.914 MB / 0.5137 GB " [Timeout remaining time 642] (rm -f OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_FACTS_TCSC_Test_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_FACTS_TCSC_Test.fmu > OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.381923844106495] Failed to read output from testmodel.py, exit status != 0: 18.046655568061396 18.077060982 17.89546382 Calling exit ...