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.001335/0.001335, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.43/1.43, allocations: 230.6 MB / 252.7 MB, free: 8.32 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.00155/0.00155, allocations: 216.1 kB / 309.2 MB, free: 3.156 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.469/0.469, allocations: 79.74 MB / 445.4 MB, free: 14.87 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.003589/0.003589, allocations: 87.86 kB / 0.5929 GB, free: 14.02 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1429, allocations: 73.3 MB / 0.6645 GB, free: 4.617 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.007395/0.1503, allocations: 6.066 MB / 0.6704 GB, free: 14.53 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00383/0.1541, allocations: 1.903 MB / 0.6723 GB, free: 12.62 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003993/0.1545, allocations: 15.94 kB / 0.6723 GB, free: 12.6 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006135/0.1552, allocations: 210.2 kB / 0.6725 GB, free: 12.39 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001723/0.1569, allocations: 0.7646 MB / 0.6732 GB, free: 11.63 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001206/0.1581, allocations: 0.5517 MB / 0.6738 GB, free: 11.08 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001701/0.1598, allocations: 1.452 MB / 0.6752 GB, free: 9.621 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003788/0.1602, allocations: 195.7 kB / 0.6754 GB, free: 9.418 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007984/0.161, allocations: 0.5836 MB / 0.6759 GB, free: 8.832 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009325/0.1619, allocations: 0.6611 MB / 0.6766 GB, free: 8.168 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001581/0.1621, allocations: 100 kB / 0.6767 GB, free: 8.07 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004822/0.1625, allocations: 251.8 kB / 0.6769 GB, free: 7.824 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002785/0.1628, allocations: 266.9 kB / 0.6772 GB, free: 7.562 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005427/0.1634, allocations: 0.5708 MB / 0.6777 GB, free: 6.988 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001702/0.1651, allocations: 1.408 MB / 0.6791 GB, free: 5.574 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.1651, allocations: 3.984 kB / 0.6791 GB, free: 5.57 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1651, allocations: 7.938 kB / 0.6791 GB, free: 5.562 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.854e-05/0.1651, allocations: 0 / 0.6791 GB, free: 5.562 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.007547/0.1726, allocations: 2.335 MB / 0.6814 GB, free: 3.188 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.1727, allocations: 15.98 kB / 0.6814 GB, free: 3.172 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001486/0.1728, allocations: 110.7 kB / 0.6815 GB, free: 3.055 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003657/0.1765, allocations: 0.5537 MB / 0.6821 GB, free: 2.5 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00158/0.1781, allocations: 0.728 MB / 0.6828 GB, free: 1.73 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003165/0.1784, allocations: 282.9 kB / 0.683 GB, free: 1.406 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001393/0.1785, allocations: 71.89 kB / 0.6831 GB, free: 1.336 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001847/0.1804, allocations: 0.8341 MB / 0.6839 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.1804, allocations: 0 / 0.6839 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.119e-05/0.1805, allocations: 24 kB / 0.684 GB, free: 480 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.908e-05/0.1805, allocations: 23.94 kB / 0.684 GB, free: 456 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001967/0.1825, allocations: 0.8561 MB / 0.6848 GB, free: 15.59 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.005979/0.1884, allocations: 2.993 MB / 0.6877 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006285/0.1947, allocations: 1.267 MB / 0.689 GB, free: 11.2 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00119/0.1959, allocations: 0.4913 MB / 0.6895 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.63e-05/0.196, allocations: 16.58 kB / 0.6895 GB, free: 10.69 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001361/0.1974, allocations: 0.6172 MB / 0.6901 GB, free: 10.06 MB / 494.1 MB Notification: Performance of pre-optimization done (n=74): time 2.796e-06/0.1974, allocations: 0 / 0.6901 GB, free: 10.06 MB / 494.1 MB Notification: Performance of matching and sorting (n=74): time 0.01928/0.2167, allocations: 4.529 MB / 0.6945 GB, free: 5.512 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.938e-05/0.2167, allocations: 64.06 kB / 0.6946 GB, free: 5.438 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00157/0.2183, allocations: 0.97 MB / 0.6955 GB, free: 4.449 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001255/0.2184, allocations: 37.7 kB / 0.6955 GB, free: 4.406 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004007/0.2188, allocations: 484.8 kB / 0.696 GB, free: 3.926 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002999/0.2191, allocations: 273.7 kB / 0.6963 GB, free: 3.656 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003667/0.2195, allocations: 182.5 kB / 0.6964 GB, free: 3.469 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.2196, allocations: 349.9 kB / 0.6968 GB, free: 3.121 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001303/0.2209, allocations: 0.5446 MB / 0.6973 GB, free: 2.578 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001371/0.2223, allocations: 0.6711 MB / 0.698 GB, free: 1.875 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.257/0.4793, allocations: 4.148 MB / 0.702 GB, free: 33.78 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/0.4793, allocations: 0.6875 kB / 0.702 GB, free: 33.78 MB / 494.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00915/0.4885, allocations: 2.823 MB / 0.7048 GB, free: 33.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.448e-05/0.4885, allocations: 11.16 kB / 0.7048 GB, free: 33.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.745e-05/0.4886, allocations: 2.594 kB / 0.7048 GB, free: 33.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00505/0.4936, allocations: 1.261 MB / 0.706 GB, free: 33.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/0.4946, allocations: 186.5 kB / 0.7062 GB, free: 33.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01238/0.507, allocations: 5.586 MB / 0.7116 GB, free: 31.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001467/0.5085, allocations: 151.9 kB / 0.7118 GB, free: 31.89 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/0.5086, allocations: 36.56 kB / 0.7118 GB, free: 31.89 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.0004362/0.509, allocations: 238.6 kB / 0.712 GB, free: 31.71 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000183/0.5092, allocations: 120.4 kB / 0.7122 GB, free: 31.64 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009182/0.5184, allocations: 2.637 MB / 0.7147 GB, free: 30.97 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/0.5184, allocations: 13.91 kB / 0.7148 GB, free: 30.96 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.5184, allocations: 0.7969 kB / 0.7148 GB, free: 30.96 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.869e-05/0.5184, allocations: 7.031 kB / 0.7148 GB, free: 30.96 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01036/0.5288, allocations: 3.968 MB / 0.7186 GB, free: 29.46 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/0.5288, allocations: 0.875 kB / 0.7186 GB, free: 29.46 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005184/0.5293, allocations: 86.84 kB / 0.7187 GB, free: 29.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004733/0.5341, allocations: 1.326 MB / 0.72 GB, free: 29.21 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.964e-05/0.5342, allocations: 12.5 kB / 0.72 GB, free: 29.21 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01221/0.5464, allocations: 5.912 MB / 0.7258 GB, free: 25.68 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.5464, allocations: 0 / 0.7258 GB, free: 25.68 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009761/0.5561, allocations: 3.362 MB / 0.7291 GB, free: 23.91 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003408/0.5565, allocations: 126.8 kB / 0.7292 GB, free: 23.82 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001615/0.5566, allocations: 15.53 kB / 0.7292 GB, free: 23.81 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009674/0.5576, allocations: 88.83 kB / 0.7293 GB, free: 23.77 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004164/0.558, allocations: 165.5 kB / 0.7295 GB, free: 23.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.875e-05/0.5581, allocations: 19.81 kB / 0.7295 GB, free: 23.66 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000873/0.5589, allocations: 0.6599 MB / 0.7301 GB, free: 23.28 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.559, allocations: 0 / 0.7301 GB, free: 23.28 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001073/0.56, allocations: 360.2 kB / 0.7305 GB, free: 23.23 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.009813/0.5698, allocations: 3.927 MB / 0.7343 GB, free: 20.93 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004522/0.5744, allocations: 1.711 MB / 0.736 GB, free: 20.04 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.5744, allocations: 0 / 0.736 GB, free: 20.04 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002962/0.5773, allocations: 1.085 MB / 0.737 GB, free: 19.45 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008471/0.5782, allocations: 101.1 kB / 0.7371 GB, free: 19.38 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02428/0.6024, allocations: 11.99 MB / 0.7488 GB, free: 7.945 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003831/0.6028, allocations: 1.038 MB / 0.7499 GB, free: 6.879 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004128/0.6032, allocations: 94.69 kB / 0.7499 GB, free: 6.781 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004387/0.6037, allocations: 403.3 kB / 0.7503 GB, free: 6.387 MB / 494.1 MB Notification: Performance of SimCode: time 1.312e-06/0.6037, allocations: 0 / 0.7503 GB, free: 6.387 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07509/0.6788, allocations: 29.32 MB / 0.779 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.86/17.54, allocations: 0 / 0.779 GB, free: 9.258 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 & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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: 20.93777170699832] Failed to read output from testmodel.py, exit status != 0: 17.679343316001905 17.704833497 17.535309138 Calling exit ...