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.001366/0.001366, allocations: 119 kB / 17.17 MB, free: 5.906 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.437/1.437, allocations: 230.6 MB / 250.5 MB, free: 9.219 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.001563/0.001563, allocations: 210.4 kB / 306.7 MB, free: 4.289 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.425/0.425, allocations: 79.71 MB / 442.5 MB, free: 164 kB / 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.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.FACTS.TCSC_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_FACTS_TCSC_Test",fmuType="cs",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.002546/0.002546, allocations: 93.72 kB / 0.5885 GB, free: 1.617 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1345, allocations: 73.24 MB / 0.66 GB, free: 8.27 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.008027/0.1426, allocations: 6.044 MB / 0.6659 GB, free: 2.191 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004956/0.1475, allocations: 1.899 MB / 0.6678 GB, free: 292 kB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001246/0.1488, allocations: 19.88 kB / 0.6678 GB, free: 272 kB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001111/0.1499, allocations: 210.2 kB / 0.668 GB, free: 60 kB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002843/0.1527, allocations: 0.7558 MB / 0.6687 GB, free: 15.3 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001677/0.1544, allocations: 0.5425 MB / 0.6693 GB, free: 14.76 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002172/0.1566, allocations: 1.425 MB / 0.6706 GB, free: 13.33 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004538/0.157, allocations: 199.3 kB / 0.6708 GB, free: 13.12 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009442/0.158, allocations: 0.5758 MB / 0.6714 GB, free: 12.55 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000813/0.1588, allocations: 0.6649 MB / 0.672 GB, free: 11.88 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000148/0.1589, allocations: 96 kB / 0.6721 GB, free: 11.79 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005316/0.1595, allocations: 251.9 kB / 0.6724 GB, free: 11.54 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002589/0.1597, allocations: 270.8 kB / 0.6726 GB, free: 11.27 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005318/0.1603, allocations: 0.5631 MB / 0.6732 GB, free: 10.71 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00175/0.162, allocations: 1.412 MB / 0.6746 GB, free: 9.289 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.162, allocations: 4 kB / 0.6746 GB, free: 9.285 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.162, allocations: 0 / 0.6746 GB, free: 9.285 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.533e-05/0.162, allocations: 4 kB / 0.6746 GB, free: 9.281 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.007566/0.1696, allocations: 2.289 MB / 0.6768 GB, free: 6.938 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.1696, allocations: 8.031 kB / 0.6768 GB, free: 6.93 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.953e-05/0.1697, allocations: 17.5 kB / 0.6768 GB, free: 6.91 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001476/0.1698, allocations: 110.7 kB / 0.6769 GB, free: 6.793 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003592/0.1734, allocations: 0.5691 MB / 0.6775 GB, free: 6.223 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001523/0.1749, allocations: 0.7923 MB / 0.6783 GB, free: 5.375 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002819/0.1752, allocations: 209.8 kB / 0.6785 GB, free: 5.141 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001431/0.1754, allocations: 67.95 kB / 0.6785 GB, free: 5.074 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0019/0.1773, allocations: 0.8418 MB / 0.6794 GB, free: 4.223 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.1773, allocations: 0 / 0.6794 GB, free: 4.223 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.674e-05/0.1774, allocations: 31.94 kB / 0.6794 GB, free: 4.191 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/0.1774, allocations: 16 kB / 0.6794 GB, free: 4.176 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001916/0.1793, allocations: 0.8484 MB / 0.6802 GB, free: 3.328 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.005644/0.185, allocations: 3.043 MB / 0.6832 GB, free: 164 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00651/0.1915, allocations: 1.644 MB / 0.6848 GB, free: 14.42 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001201/0.1927, allocations: 0.5029 MB / 0.6853 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.062e-05/0.1928, allocations: 8.656 kB / 0.6853 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001373/0.1941, allocations: 0.6133 MB / 0.6859 GB, free: 13.27 MB / 494.1 MB Notification: Performance of pre-optimization done (n=74): time 2.735e-06/0.1941, allocations: 0 / 0.6859 GB, free: 13.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=74): time 0.01931/0.2134, allocations: 4.687 MB / 0.6905 GB, free: 8.531 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.426e-05/0.2135, allocations: 60.06 kB / 0.6905 GB, free: 8.461 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001625/0.2151, allocations: 0.9661 MB / 0.6915 GB, free: 7.477 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001693/0.2153, allocations: 41.7 kB / 0.6915 GB, free: 7.43 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004343/0.2157, allocations: 476.8 kB / 0.692 GB, free: 6.957 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003468/0.2161, allocations: 273.7 kB / 0.6922 GB, free: 6.688 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003888/0.2165, allocations: 178.6 kB / 0.6924 GB, free: 6.508 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001964/0.2167, allocations: 353.8 kB / 0.6927 GB, free: 6.156 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001317/0.218, allocations: 0.5524 MB / 0.6933 GB, free: 5.602 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001417/0.2194, allocations: 0.6711 MB / 0.6939 GB, free: 4.898 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01845/0.2378, allocations: 4.159 MB / 0.698 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.2379, allocations: 3.938 kB / 0.698 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.2619/0.4997, allocations: 2.82 MB / 0.7008 GB, free: 36.25 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/0.4998, allocations: 5.938 kB / 0.7008 GB, free: 36.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.4998, allocations: 2.719 kB / 0.7008 GB, free: 36.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006663/0.5064, allocations: 1.262 MB / 0.702 GB, free: 36.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00143/0.5079, allocations: 193 kB / 0.7022 GB, free: 36.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01747/0.5253, allocations: 5.677 MB / 0.7077 GB, free: 34.72 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001462/0.5268, allocations: 151.3 kB / 0.7079 GB, free: 34.69 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000175/0.527, allocations: 36.73 kB / 0.7079 GB, free: 34.68 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.0004687/0.5274, allocations: 233 kB / 0.7081 GB, free: 34.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002399/0.5277, allocations: 123.9 kB / 0.7082 GB, free: 34.43 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009182/0.5369, allocations: 2.635 MB / 0.7108 GB, free: 33.75 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.307e-05/0.5369, allocations: 8.656 kB / 0.7108 GB, free: 33.75 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.5369, allocations: 5.219 kB / 0.7108 GB, free: 33.75 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.618e-05/0.5369, allocations: 3.656 kB / 0.7108 GB, free: 33.75 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01127/0.5482, allocations: 4.003 MB / 0.7147 GB, free: 32.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/0.5482, allocations: 1.062 kB / 0.7147 GB, free: 32.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005568/0.5487, allocations: 88.67 kB / 0.7148 GB, free: 32.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004877/0.5536, allocations: 1.324 MB / 0.7161 GB, free: 31.96 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001441/0.5537, allocations: 19.75 kB / 0.7161 GB, free: 31.94 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01254/0.5663, allocations: 6.011 MB / 0.722 GB, free: 28.62 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.5663, allocations: 0 / 0.722 GB, free: 28.62 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009966/0.5763, allocations: 3.354 MB / 0.7253 GB, free: 26.9 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003898/0.5766, allocations: 198.5 kB / 0.7255 GB, free: 26.73 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002482/0.5769, allocations: 23.83 kB / 0.7255 GB, free: 26.71 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/0.5779, allocations: 82.81 kB / 0.7256 GB, free: 26.67 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004858/0.5784, allocations: 158.3 kB / 0.7257 GB, free: 26.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.475e-05/0.5785, allocations: 22.88 kB / 0.7258 GB, free: 26.57 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001049/0.5795, allocations: 0.6613 MB / 0.7264 GB, free: 26.19 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5795, allocations: 0 / 0.7264 GB, free: 26.19 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00139/0.5809, allocations: 357.5 kB / 0.7267 GB, free: 26.14 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.009615/0.5905, allocations: 3.934 MB / 0.7306 GB, free: 23.84 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00488/0.5954, allocations: 1.791 MB / 0.7323 GB, free: 22.86 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.5954, allocations: 0 / 0.7323 GB, free: 22.86 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003094/0.5985, allocations: 1.172 MB / 0.7335 GB, free: 22.15 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008841/0.5994, allocations: 99.7 kB / 0.7336 GB, free: 22.08 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02434/0.6237, allocations: 11.98 MB / 0.7453 GB, free: 11.23 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004119/0.6242, allocations: 1.042 MB / 0.7463 GB, free: 10.16 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003483/0.6245, allocations: 98.66 kB / 0.7464 GB, free: 10.05 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004535/0.625, allocations: 403.3 kB / 0.7468 GB, free: 9.664 MB / 494.1 MB Notification: Performance of SimCode: time 9.32e-07/0.625, allocations: 0 / 0.7468 GB, free: 9.664 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06515/0.6901, allocations: 28.58 MB / 0.7747 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.04/16.73, allocations: 8 kB / 0.7747 GB, free: 13.23 MB / 0.5137 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: 20.064261981053278] Failed to read output from testmodel.py, exit status != 0: 16.898157618998084 16.92234145 16.755596898 Calling exit ...