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.00132/0.00132, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.507/1.507, allocations: 230.6 MB / 252.7 MB, free: 14.27 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.001596/0.001596, allocations: 213 kB / 309.2 MB, free: 3.109 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.6592/0.6592, allocations: 107.2 MB / 472.8 MB, free: 29.91 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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.002573/0.002573, allocations: 89.09 kB / 0.633 GB, free: 29.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1395, allocations: 80.15 MB / 0.7113 GB, free: 7.723 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.006991/0.1465, allocations: 5.368 MB / 0.7165 GB, free: 2.328 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003818/0.1503, allocations: 1.821 MB / 0.7183 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004594/0.1508, allocations: 15.94 kB / 0.7183 GB, free: 500 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006139/0.1514, allocations: 206.2 kB / 0.7185 GB, free: 292 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001709/0.1531, allocations: 0.7355 MB / 0.7192 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001233/0.1543, allocations: 0.5331 MB / 0.7198 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001561/0.1559, allocations: 1.44 MB / 0.7212 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003588/0.1563, allocations: 191.7 kB / 0.7213 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007487/0.157, allocations: 0.5835 MB / 0.7219 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007979/0.1578, allocations: 0.6063 MB / 0.7225 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001618/0.158, allocations: 100 kB / 0.7226 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004666/0.1584, allocations: 243.8 kB / 0.7228 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002609/0.1587, allocations: 262.9 kB / 0.7231 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004627/0.1592, allocations: 473.3 kB / 0.7235 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001682/0.1608, allocations: 1.42 MB / 0.7249 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1608, allocations: 0 / 0.7249 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.933e-06/0.1608, allocations: 4 kB / 0.7249 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.777e-05/0.1609, allocations: 0 / 0.7249 GB, free: 9.684 MB / 0.4981 GB 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.007429/0.1683, allocations: 2.333 MB / 0.7272 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.1683, allocations: 12.03 kB / 0.7272 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001436/0.1685, allocations: 110.6 kB / 0.7273 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003477/0.1719, allocations: 0.5576 MB / 0.7279 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001612/0.1736, allocations: 0.7319 MB / 0.7286 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003324/0.1739, allocations: 294.8 kB / 0.7289 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001504/0.174, allocations: 64 kB / 0.7289 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001825/0.1759, allocations: 0.8302 MB / 0.7297 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/0.1759, allocations: 0 / 0.7297 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.746e-05/0.176, allocations: 24 kB / 0.7298 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.742e-05/0.176, allocations: 19.94 kB / 0.7298 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001943/0.1779, allocations: 0.8484 MB / 0.7306 GB, free: 3.715 MB / 0.4981 GB 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.005743/0.1837, allocations: 2.372 MB / 0.7329 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006275/0.1899, allocations: 1.269 MB / 0.7342 GB, free: 24 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001256/0.1912, allocations: 0.4958 MB / 0.7346 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 8.289e-05/0.1913, allocations: 12.59 kB / 0.7347 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001386/0.1927, allocations: 0.6172 MB / 0.7353 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=74): time 2.655e-06/0.1927, allocations: 0 / 0.7353 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of matching and sorting (n=74): time 0.01947/0.2121, allocations: 4.533 MB / 0.7397 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/0.2122, allocations: 64.06 kB / 0.7397 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001753/0.2139, allocations: 0.97 MB / 0.7407 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002216/0.2142, allocations: 41.7 kB / 0.7407 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004745/0.2146, allocations: 464.9 kB / 0.7412 GB, free: 8.758 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004782/0.2151, allocations: 285.6 kB / 0.7414 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004475/0.2156, allocations: 178.6 kB / 0.7416 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001744/0.2157, allocations: 345.9 kB / 0.7419 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001331/0.2171, allocations: 0.5485 MB / 0.7425 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001417/0.2185, allocations: 0.675 MB / 0.7431 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0183/0.2368, allocations: 4.151 MB / 0.7472 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.2368, allocations: 0 / 0.7472 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.009657/0.2465, allocations: 2.828 MB / 0.75 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.948e-05/0.2465, allocations: 4 kB / 0.75 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/0.2465, allocations: 4 kB / 0.75 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004991/0.2515, allocations: 1.268 MB / 0.7512 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/0.2525, allocations: 183.7 kB / 0.7514 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01344/0.266, allocations: 5.475 MB / 0.7567 GB, free: 8.617 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001431/0.2674, allocations: 151.3 kB / 0.7569 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001558/0.2676, allocations: 39.98 kB / 0.7569 GB, free: 8.43 MB / 0.5294 GB 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.0005166/0.2681, allocations: 239.4 kB / 0.7571 GB, free: 8.188 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000239/0.2683, allocations: 119.2 kB / 0.7572 GB, free: 8.07 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009212/0.2775, allocations: 2.63 MB / 0.7598 GB, free: 5.426 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.2775, allocations: 8 kB / 0.7598 GB, free: 5.418 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.2775, allocations: 4 kB / 0.7598 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/0.2776, allocations: 3.984 kB / 0.7598 GB, free: 5.41 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01099/0.2885, allocations: 3.537 MB / 0.7633 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.726e-06/0.2886, allocations: 3.938 kB / 0.7633 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005591/0.2891, allocations: 87.88 kB / 0.7634 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005235/0.2943, allocations: 1.326 MB / 0.7647 GB, free: 400 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001247/0.2945, allocations: 12 kB / 0.7647 GB, free: 388 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0142/0.3087, allocations: 5.796 MB / 0.7703 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3087, allocations: 0 / 0.7703 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01087/0.3195, allocations: 3.354 MB / 0.7736 GB, free: 7.086 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003775/0.3199, allocations: 131.2 kB / 0.7737 GB, free: 6.957 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000238/0.3202, allocations: 12 kB / 0.7738 GB, free: 6.945 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/0.3212, allocations: 87.89 kB / 0.7738 GB, free: 6.859 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005554/0.3218, allocations: 164.4 kB / 0.774 GB, free: 6.695 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.542e-05/0.3219, allocations: 16 kB / 0.774 GB, free: 6.68 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001161/0.323, allocations: 0.6592 MB / 0.7747 GB, free: 6.012 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.323, allocations: 8 kB / 0.7747 GB, free: 6.004 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001224/0.3242, allocations: 351.7 kB / 0.775 GB, free: 5.66 MB / 0.545 GB 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.01139/0.3356, allocations: 3.922 MB / 0.7788 GB, free: 1.707 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00567/0.3413, allocations: 1.717 MB / 0.7805 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.3413, allocations: 0 / 0.7805 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003701/0.345, allocations: 1.081 MB / 0.7816 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.3461, allocations: 96.34 kB / 0.7816 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03047/0.3765, allocations: 11.98 MB / 0.7933 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005355/0.3771, allocations: 460.5 kB / 0.7938 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004401/0.3775, allocations: 98.67 kB / 0.7939 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006099/0.3781, allocations: 403.3 kB / 0.7943 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of SimCode: time 1.192e-06/0.3781, allocations: 0 / 0.7943 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3734/0.7515, allocations: 29.85 MB / 0.8234 GB, free: 94.53 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.4/15.15, allocations: 9.219 kB / 0.8234 GB, free: 94.53 MB / 0.5762 GB " [Timeout remaining time 645] (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: 19.13552002608776] Failed to read output from testmodel.py, exit status != 0: 15.292228660080582 15.305829129 15.142526668 Calling exit ...