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.0007641/0.0007641, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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 0.8709/0.8709, allocations: 177.2 MB / 199.4 MB, free: 5.938 MB / 186.7 MB " [Timeout remaining time 179] 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.001441/0.001441, allocations: 152.6 kB / 256 MB, free: 13.35 MB / 250.7 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.2616/0.2616, allocations: 80.25 MB / 392.6 MB, free: 2.438 MB / 314.7 MB " [Timeout remaining time 180] 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: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.5547 GB, free: 12.37 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.276e-05/1.411e-05, allocations: 2.281 kB / 0.5547 GB, free: 12.37 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.004502/0.004516, allocations: 5.36 MB / 0.56 GB, free: 6.98 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002941/0.007457, allocations: 1.806 MB / 0.5617 GB, free: 5.168 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004028/0.007859, allocations: 19.88 kB / 0.5618 GB, free: 5.148 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004885/0.008348, allocations: 214.1 kB / 0.562 GB, free: 4.938 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001154/0.009502, allocations: 0.7492 MB / 0.5627 GB, free: 4.184 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007547/0.01026, allocations: 0.5561 MB / 0.5632 GB, free: 3.629 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.00087/0.01113, allocations: 1.428 MB / 0.5646 GB, free: 2.195 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002315/0.01136, allocations: 187.7 kB / 0.5648 GB, free: 2.004 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005933/0.01195, allocations: 0.787 MB / 0.5656 GB, free: 1.215 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004121/0.01236, allocations: 0.5062 MB / 0.5661 GB, free: 0.707 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002142/0.01258, allocations: 99.94 kB / 0.5662 GB, free: 0.6094 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002725/0.01285, allocations: 243.8 kB / 0.5664 GB, free: 380 kB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001624/0.01301, allocations: 270.8 kB / 0.5667 GB, free: 108 kB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1879/0.2009, allocations: 376.7 kB / 0.567 GB, free: 16.57 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0015/0.2024, allocations: 1.44 MB / 0.5684 GB, free: 16.52 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.2024, allocations: 0 / 0.5684 GB, free: 16.52 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2024, allocations: 0.9062 kB / 0.5684 GB, free: 16.52 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.681e-05/0.2024, allocations: 0 / 0.5684 GB, free: 16.52 MB / 442.7 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.004386/0.2068, allocations: 2.321 MB / 0.5707 GB, free: 15.73 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.2069, allocations: 9.984 kB / 0.5707 GB, free: 15.73 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001108/0.207, allocations: 110.7 kB / 0.5708 GB, free: 15.69 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001773/0.2087, allocations: 0.5603 MB / 0.5714 GB, free: 15.61 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009061/0.2096, allocations: 0.7219 MB / 0.5721 GB, free: 15.3 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001717/0.2098, allocations: 294.9 kB / 0.5723 GB, free: 15.05 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.2099, allocations: 66.58 kB / 0.5724 GB, free: 15.05 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/0.2111, allocations: 0.8305 MB / 0.5732 GB, free: 15 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.2111, allocations: 0 / 0.5732 GB, free: 15 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.449e-05/0.2112, allocations: 26.69 kB / 0.5732 GB, free: 15 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.2112, allocations: 15.09 kB / 0.5733 GB, free: 15 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001181/0.2124, allocations: 0.8443 MB / 0.5741 GB, free: 14.99 MB / 442.7 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.003421/0.2158, allocations: 2.371 MB / 0.5764 GB, free: 13.96 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003149/0.2189, allocations: 1.263 MB / 0.5776 GB, free: 13.66 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006632/0.2196, allocations: 0.5014 MB / 0.5781 GB, free: 13.46 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.078e-05/0.2197, allocations: 9.484 kB / 0.5781 GB, free: 13.46 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007952/0.2205, allocations: 0.615 MB / 0.5787 GB, free: 13.23 MB / 442.7 MB Notification: Performance of pre-optimization done (n=74): time 2.154e-06/0.2205, allocations: 0 / 0.5787 GB, free: 13.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=74): time 0.009819/0.2303, allocations: 4.534 MB / 0.5832 GB, free: 12.38 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/0.2303, allocations: 68.44 kB / 0.5832 GB, free: 12.31 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008452/0.2312, allocations: 0.9714 MB / 0.5842 GB, free: 11.91 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.268e-05/0.2312, allocations: 40.27 kB / 0.5842 GB, free: 11.87 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001798/0.2314, allocations: 471.3 kB / 0.5847 GB, free: 11.5 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001539/0.2315, allocations: 282.7 kB / 0.5849 GB, free: 11.28 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002166/0.2318, allocations: 178.1 kB / 0.5851 GB, free: 11.19 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.523e-05/0.2318, allocations: 341.8 kB / 0.5854 GB, free: 10.87 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007169/0.2325, allocations: 0.5523 MB / 0.586 GB, free: 10.67 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007544/0.2333, allocations: 0.6732 MB / 0.5866 GB, free: 10.36 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008573/0.2419, allocations: 4.151 MB / 0.5907 GB, free: 8.684 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.2419, allocations: 8.781 kB / 0.5907 GB, free: 8.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.004566/0.2464, allocations: 2.826 MB / 0.5934 GB, free: 7.297 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.2464, allocations: 9.688 kB / 0.5935 GB, free: 7.297 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.2465, allocations: 2.312 kB / 0.5935 GB, free: 7.297 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002437/0.2489, allocations: 1.271 MB / 0.5947 GB, free: 6.734 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004884/0.2494, allocations: 179.6 kB / 0.5949 GB, free: 6.707 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006874/0.2562, allocations: 5.472 MB / 0.6002 GB, free: 3.125 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007188/0.257, allocations: 152 kB / 0.6004 GB, free: 3.039 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-05/0.257, allocations: 37.69 kB / 0.6004 GB, free: 3.027 MB / 442.7 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.0003496/0.2574, allocations: 239.3 kB / 0.6006 GB, free: 2.84 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.2575, allocations: 113.9 kB / 0.6007 GB, free: 2.777 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004284/0.2618, allocations: 2.634 MB / 0.6033 GB, free: 0.8867 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.2618, allocations: 11.94 kB / 0.6033 GB, free: 0.875 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.2618, allocations: 0 / 0.6033 GB, free: 0.875 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.2618, allocations: 7.984 kB / 0.6033 GB, free: 0.8672 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005338/0.2671, allocations: 3.531 MB / 0.6068 GB, free: 13.33 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.2671, allocations: 4 kB / 0.6068 GB, free: 13.32 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002454/0.2674, allocations: 86.23 kB / 0.6069 GB, free: 13.25 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002484/0.2699, allocations: 1.322 MB / 0.6081 GB, free: 11.92 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.293e-05/0.2699, allocations: 19.98 kB / 0.6082 GB, free: 11.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007729/0.2776, allocations: 5.776 MB / 0.6138 GB, free: 6.023 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2776, allocations: 4 kB / 0.6138 GB, free: 6.02 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005316/0.283, allocations: 3.355 MB / 0.6171 GB, free: 2.668 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002229/0.2832, allocations: 123.2 kB / 0.6172 GB, free: 2.547 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001258/0.2833, allocations: 16 kB / 0.6172 GB, free: 2.531 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005027/0.2838, allocations: 87.89 kB / 0.6173 GB, free: 2.445 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002763/0.2841, allocations: 164.4 kB / 0.6175 GB, free: 2.285 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.602e-05/0.2841, allocations: 16 kB / 0.6175 GB, free: 2.27 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006392/0.2848, allocations: 0.663 MB / 0.6181 GB, free: 1.598 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2848, allocations: 0 / 0.6181 GB, free: 1.598 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0007684/0.2855, allocations: 359.8 kB / 0.6185 GB, free: 1.246 MB / 458.7 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.00576/0.2913, allocations: 3.928 MB / 0.6223 GB, free: 13.31 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002727/0.294, allocations: 1.712 MB / 0.624 GB, free: 11.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.294, allocations: 0.5625 kB / 0.624 GB, free: 11.6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001755/0.2958, allocations: 1.099 MB / 0.6251 GB, free: 10.49 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000497/0.2963, allocations: 93.09 kB / 0.6251 GB, free: 10.4 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01552/0.3118, allocations: 11.94 MB / 0.6368 GB, free: 14.37 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.3121, allocations: 456.5 kB / 0.6372 GB, free: 13.88 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002406/0.3123, allocations: 102.7 kB / 0.6373 GB, free: 13.78 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003846/0.3127, allocations: 404.4 kB / 0.6377 GB, free: 13.39 MB / 490.7 MB Notification: Performance of SimCode: time 9.52e-07/0.3127, allocations: 0 / 0.6377 GB, free: 13.39 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04255/0.3553, allocations: 30.06 MB / 0.6671 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.73/9.085, allocations: 8.875 kB / 0.6671 GB, free: 15.53 MB / 0.5105 GB " [Timeout remaining time 651] (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: 11.368216392584145] Failed to read output from testmodel.py, exit status != 0: 9.185936683788896 9.197312918 8.991851937 Calling exit ...