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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001584/0.001584, allocations: 107.6 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 225.6 MB / 244.8 MB, free: 14.15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 206.1 kB / 299.8 MB, free: 9.801 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.4592/0.4592, allocations: 79.73 MB / 434.4 MB, free: 6.223 MB / 302.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.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_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: Performance of FrontEnd - loaded program: time 0.003179/0.003179, allocations: 87.86 kB / 0.5783 GB, free: 9.988 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1454, allocations: 72.08 MB / 0.6487 GB, free: 1.809 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.007278/0.1527, allocations: 6.032 MB / 0.6546 GB, free: 11.74 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004084/0.1567, allocations: 1.856 MB / 0.6564 GB, free: 9.879 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006229/0.1574, allocations: 11.94 kB / 0.6565 GB, free: 9.867 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006758/0.158, allocations: 210.2 kB / 0.6567 GB, free: 9.66 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001973/0.16, allocations: 0.7491 MB / 0.6574 GB, free: 8.91 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00131/0.1613, allocations: 0.5472 MB / 0.6579 GB, free: 8.367 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001738/0.1631, allocations: 1.425 MB / 0.6593 GB, free: 6.938 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003702/0.1634, allocations: 191.3 kB / 0.6595 GB, free: 6.734 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000818/0.1642, allocations: 0.5718 MB / 0.6601 GB, free: 6.16 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008099/0.1651, allocations: 0.661 MB / 0.6607 GB, free: 5.496 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001557/0.1652, allocations: 100 kB / 0.6608 GB, free: 5.398 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005178/0.1657, allocations: 235.8 kB / 0.661 GB, free: 5.168 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002636/0.166, allocations: 262.9 kB / 0.6613 GB, free: 4.91 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005622/0.1666, allocations: 0.567 MB / 0.6618 GB, free: 4.34 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001698/0.1683, allocations: 1.4 MB / 0.6632 GB, free: 2.934 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1683, allocations: 0 / 0.6632 GB, free: 2.934 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1683, allocations: 4 kB / 0.6632 GB, free: 2.93 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.865e-05/0.1683, allocations: 0 / 0.6632 GB, free: 2.93 MB / 462.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.007439/0.1757, allocations: 2.27 MB / 0.6654 GB, free: 0.6055 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.1758, allocations: 11.97 kB / 0.6654 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001561/0.1759, allocations: 110.7 kB / 0.6655 GB, free: 488 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003574/0.1795, allocations: 0.5615 MB / 0.6661 GB, free: 15.91 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001571/0.1811, allocations: 0.7962 MB / 0.6669 GB, free: 15.06 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002911/0.1813, allocations: 213.7 kB / 0.6671 GB, free: 14.82 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001397/0.1815, allocations: 68 kB / 0.6671 GB, free: 14.75 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001811/0.1833, allocations: 0.8263 MB / 0.6679 GB, free: 13.93 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.1833, allocations: 0 / 0.6679 GB, free: 13.93 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.837e-05/0.1834, allocations: 28 kB / 0.668 GB, free: 13.9 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.117e-05/0.1834, allocations: 23.94 kB / 0.668 GB, free: 13.88 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001958/0.1854, allocations: 0.8484 MB / 0.6688 GB, free: 13.02 MB / 478.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.006216/0.1916, allocations: 3.039 MB / 0.6718 GB, free: 9.855 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006267/0.1979, allocations: 1.64 MB / 0.6734 GB, free: 8.117 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00118/0.199, allocations: 0.4951 MB / 0.6739 GB, free: 7.617 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.713e-05/0.1991, allocations: 12.59 kB / 0.6739 GB, free: 7.602 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00133/0.2005, allocations: 0.6133 MB / 0.6745 GB, free: 6.977 MB / 478.1 MB Notification: Performance of pre-optimization done (n=74): time 2.735e-06/0.2005, allocations: 0 / 0.6745 GB, free: 6.977 MB / 478.1 MB Notification: Performance of matching and sorting (n=74): time 0.0191/0.2196, allocations: 4.687 MB / 0.679 GB, free: 2.234 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/0.2196, allocations: 64.06 kB / 0.6791 GB, free: 2.16 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001594/0.2212, allocations: 0.9661 MB / 0.6801 GB, free: 1.176 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001509/0.2213, allocations: 45.64 kB / 0.6801 GB, free: 1.125 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004108/0.2218, allocations: 472.9 kB / 0.6805 GB, free: 0.6562 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000327/0.2221, allocations: 277.6 kB / 0.6808 GB, free: 392 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003724/0.2225, allocations: 182.6 kB / 0.681 GB, free: 204 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.2226, allocations: 349.9 kB / 0.6813 GB, free: 15.85 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00126/0.2239, allocations: 0.5446 MB / 0.6819 GB, free: 15.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001379/0.2253, allocations: 0.675 MB / 0.6825 GB, free: 14.6 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01754/0.2428, allocations: 4.042 MB / 0.6865 GB, free: 10.52 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.2428, allocations: 3.938 kB / 0.6865 GB, free: 10.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.008957/0.2518, allocations: 2.82 MB / 0.6892 GB, free: 7.684 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/0.2518, allocations: 8 kB / 0.6892 GB, free: 7.676 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.2518, allocations: 4 kB / 0.6892 GB, free: 7.672 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004792/0.2566, allocations: 1.265 MB / 0.6905 GB, free: 6.402 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/0.2576, allocations: 187.7 kB / 0.6906 GB, free: 6.219 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01322/0.2709, allocations: 5.684 MB / 0.6962 GB, free: 404 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001421/0.2723, allocations: 155.2 kB / 0.6963 GB, free: 248 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/0.2724, allocations: 35.98 kB / 0.6964 GB, free: 212 kB / 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.2562/0.5286, allocations: 229.5 kB / 0.6966 GB, free: 44.71 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004613/0.529, allocations: 115.5 kB / 0.6967 GB, free: 44.71 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009592/0.5386, allocations: 2.638 MB / 0.6993 GB, free: 44.62 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.462e-05/0.5387, allocations: 7.625 kB / 0.6993 GB, free: 44.62 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.5387, allocations: 1.062 kB / 0.6993 GB, free: 44.62 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-05/0.5387, allocations: 3.75 kB / 0.6993 GB, free: 44.62 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01101/0.5497, allocations: 4.008 MB / 0.7032 GB, free: 43.87 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.367e-06/0.5497, allocations: 3.109 kB / 0.7032 GB, free: 43.87 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005307/0.5502, allocations: 90.36 kB / 0.7033 GB, free: 43.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004884/0.5551, allocations: 1.32 MB / 0.7046 GB, free: 43.67 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001001/0.5552, allocations: 13.5 kB / 0.7046 GB, free: 43.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0127/0.5679, allocations: 6.016 MB / 0.7105 GB, free: 40.45 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.5679, allocations: 0.6094 kB / 0.7105 GB, free: 40.45 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009553/0.5775, allocations: 3.362 MB / 0.7138 GB, free: 39.38 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003448/0.5778, allocations: 205.6 kB / 0.714 GB, free: 39.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001539/0.578, allocations: 15.84 kB / 0.714 GB, free: 39.19 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000932/0.5789, allocations: 82.59 kB / 0.714 GB, free: 39.18 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004766/0.5794, allocations: 160.4 kB / 0.7142 GB, free: 39.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.135e-05/0.5794, allocations: 21.97 kB / 0.7142 GB, free: 39.13 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009077/0.5804, allocations: 0.6605 MB / 0.7149 GB, free: 38.86 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5804, allocations: 1.219 kB / 0.7149 GB, free: 38.86 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00103/0.5814, allocations: 350.2 kB / 0.7152 GB, free: 38.82 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.009614/0.591, allocations: 3.926 MB / 0.719 GB, free: 37.21 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00452/0.5955, allocations: 1.787 MB / 0.7208 GB, free: 36.46 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.5955, allocations: 64 / 0.7208 GB, free: 36.46 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00305/0.5986, allocations: 1.178 MB / 0.7219 GB, free: 35.76 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008749/0.5995, allocations: 88.78 kB / 0.722 GB, free: 35.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02342/0.6229, allocations: 11.96 MB / 0.7337 GB, free: 27.12 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003668/0.6232, allocations: 1.049 MB / 0.7347 GB, free: 26.04 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003577/0.6236, allocations: 102.4 kB / 0.7348 GB, free: 25.94 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004215/0.624, allocations: 399.3 kB / 0.7352 GB, free: 25.55 MB / 494.1 MB Notification: Performance of SimCode: time 7.42e-07/0.624, allocations: 0 / 0.7352 GB, free: 25.55 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05742/0.6814, allocations: 28.5 MB / 0.763 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.98/16.66, allocations: 7.516 kB / 0.763 GB, free: 13.21 MB / 0.4981 GB " [Timeout remaining time 643] (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: 19.95420909533277] Failed to read output from testmodel.py, exit status != 0: 16.77840497298166 16.805802926 16.632457677 Calling exit ...