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.001123/0.001123, 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.8819/0.8819, allocations: 177.1 MB / 199.4 MB, free: 5.926 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.001582/0.001582, allocations: 156.6 kB / 256 MB, free: 13.32 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.2708/0.2708, allocations: 80.25 MB / 392.6 MB, free: 2.449 MB / 314.7 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: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 0.5547 GB, free: 12.38 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.488e-05/1.62e-05, allocations: 4.953 kB / 0.5547 GB, free: 12.38 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.004562/0.004578, allocations: 5.364 MB / 0.56 GB, free: 6.98 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003113/0.007691, allocations: 1.809 MB / 0.5617 GB, free: 5.164 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004296/0.008121, allocations: 15.94 kB / 0.5618 GB, free: 5.148 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005187/0.00864, allocations: 210.1 kB / 0.562 GB, free: 4.941 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001156/0.009796, allocations: 0.754 MB / 0.5627 GB, free: 4.188 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007656/0.01056, allocations: 0.5634 MB / 0.5632 GB, free: 3.629 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.000899/0.01146, allocations: 1.424 MB / 0.5646 GB, free: 2.199 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002489/0.01171, allocations: 187.8 kB / 0.5648 GB, free: 2.008 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006273/0.01234, allocations: 0.7792 MB / 0.5656 GB, free: 1.227 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004293/0.01277, allocations: 0.514 MB / 0.5661 GB, free: 0.7109 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 9.753e-05/0.01286, allocations: 100 kB / 0.5662 GB, free: 0.6133 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002773/0.01314, allocations: 243.8 kB / 0.5664 GB, free: 384 kB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001651/0.01331, allocations: 270.8 kB / 0.5667 GB, free: 112 kB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.2313/0.2446, allocations: 381.4 kB / 0.567 GB, free: 16.61 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001764/0.2464, allocations: 1.436 MB / 0.5684 GB, free: 16.55 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.2464, allocations: 1.719 kB / 0.5684 GB, free: 16.55 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2464, allocations: 0 / 0.5684 GB, free: 16.55 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.2464, allocations: 0 / 0.5684 GB, free: 16.55 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.004359/0.2508, allocations: 2.318 MB / 0.5707 GB, free: 15.76 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.597e-05/0.2508, allocations: 15.28 kB / 0.5707 GB, free: 15.76 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001177/0.251, allocations: 112 kB / 0.5708 GB, free: 15.72 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001883/0.2528, allocations: 0.5582 MB / 0.5714 GB, free: 15.64 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009862/0.2538, allocations: 0.7188 MB / 0.5721 GB, free: 15.34 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001944/0.254, allocations: 295.6 kB / 0.5723 GB, free: 15.08 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/0.2541, allocations: 65.78 kB / 0.5724 GB, free: 15.08 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001273/0.2554, allocations: 0.8344 MB / 0.5732 GB, free: 15.04 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.2554, allocations: 0 / 0.5732 GB, free: 15.04 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.813e-05/0.2555, allocations: 23.55 kB / 0.5732 GB, free: 15.04 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.012e-05/0.2555, allocations: 15.06 kB / 0.5733 GB, free: 15.04 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00132/0.2568, allocations: 0.8465 MB / 0.5741 GB, free: 15.03 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.003545/0.2604, allocations: 2.375 MB / 0.5764 GB, free: 14 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003311/0.2637, allocations: 1.261 MB / 0.5776 GB, free: 13.7 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007386/0.2644, allocations: 0.5016 MB / 0.5781 GB, free: 13.5 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.197e-05/0.2645, allocations: 10.33 kB / 0.5781 GB, free: 13.5 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009175/0.2654, allocations: 0.6131 MB / 0.5787 GB, free: 13.27 MB / 442.7 MB Notification: Performance of pre-optimization done (n=74): time 2.224e-06/0.2654, allocations: 0 / 0.5787 GB, free: 13.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=74): time 0.0112/0.2766, allocations: 4.533 MB / 0.5832 GB, free: 12.42 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.2767, allocations: 69.14 kB / 0.5832 GB, free: 12.36 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/0.2778, allocations: 0.9707 MB / 0.5842 GB, free: 11.95 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.783e-05/0.2779, allocations: 43.89 kB / 0.5842 GB, free: 11.91 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002468/0.2781, allocations: 472.7 kB / 0.5847 GB, free: 11.54 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001894/0.2783, allocations: 278.2 kB / 0.5849 GB, free: 11.32 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002346/0.2786, allocations: 179.7 kB / 0.5851 GB, free: 11.23 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.923e-05/0.2786, allocations: 341.2 kB / 0.5854 GB, free: 10.91 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008242/0.2794, allocations: 0.5513 MB / 0.586 GB, free: 10.71 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008584/0.2803, allocations: 0.6676 MB / 0.5866 GB, free: 10.41 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009332/0.2896, allocations: 4.151 MB / 0.5907 GB, free: 8.703 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/0.2896, allocations: 1.094 kB / 0.5907 GB, free: 8.703 MB / 442.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.005077/0.2947, allocations: 2.826 MB / 0.5934 GB, free: 7.32 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.2947, allocations: 8.75 kB / 0.5934 GB, free: 7.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.2947, allocations: 2.656 kB / 0.5934 GB, free: 7.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002608/0.2974, allocations: 1.272 MB / 0.5947 GB, free: 6.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005259/0.2979, allocations: 186.3 kB / 0.5949 GB, free: 6.719 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007205/0.3051, allocations: 5.473 MB / 0.6002 GB, free: 3.141 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008191/0.3059, allocations: 157.1 kB / 0.6004 GB, free: 3.047 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.404e-05/0.306, allocations: 35.86 kB / 0.6004 GB, free: 3.035 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.0003683/0.3063, allocations: 236 kB / 0.6006 GB, free: 2.852 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.3064, allocations: 121 kB / 0.6007 GB, free: 2.785 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004527/0.311, allocations: 2.629 MB / 0.6033 GB, free: 0.9141 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.311, allocations: 18.78 kB / 0.6033 GB, free: 0.8984 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.311, allocations: 0 / 0.6033 GB, free: 0.8984 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.311, allocations: 3.984 kB / 0.6033 GB, free: 0.8945 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005984/0.317, allocations: 3.534 MB / 0.6068 GB, free: 13.35 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.317, allocations: 2.844 kB / 0.6068 GB, free: 13.35 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002679/0.3172, allocations: 91.41 kB / 0.6069 GB, free: 13.27 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002568/0.3198, allocations: 1.314 MB / 0.6081 GB, free: 11.95 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.206e-05/0.3199, allocations: 16 kB / 0.6082 GB, free: 11.93 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007662/0.3275, allocations: 5.779 MB / 0.6138 GB, free: 6.051 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3275, allocations: 0 / 0.6138 GB, free: 6.051 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005479/0.333, allocations: 3.357 MB / 0.6171 GB, free: 2.695 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001605/0.3332, allocations: 127.2 kB / 0.6172 GB, free: 2.57 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.224e-05/0.3333, allocations: 16 kB / 0.6172 GB, free: 2.555 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004753/0.3337, allocations: 87.89 kB / 0.6173 GB, free: 2.469 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002986/0.334, allocations: 164.4 kB / 0.6175 GB, free: 2.309 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-05/0.3341, allocations: 16 kB / 0.6175 GB, free: 2.293 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006493/0.3347, allocations: 0.6669 MB / 0.6181 GB, free: 1.617 MB / 458.7 MB Notification: Performance of sort global known variables: time 3e-08/0.3347, allocations: 0 / 0.6181 GB, free: 1.617 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0008368/0.3356, allocations: 351.8 kB / 0.6185 GB, free: 1.273 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.005832/0.3414, allocations: 3.935 MB / 0.6223 GB, free: 13.33 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002732/0.3441, allocations: 1.708 MB / 0.624 GB, free: 11.62 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3441, allocations: 0 / 0.624 GB, free: 11.62 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001744/0.3459, allocations: 1.085 MB / 0.625 GB, free: 10.53 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004824/0.3464, allocations: 96.08 kB / 0.6251 GB, free: 10.43 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01643/0.3628, allocations: 11.94 MB / 0.6368 GB, free: 14.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.3631, allocations: 467.2 kB / 0.6372 GB, free: 13.91 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002468/0.3634, allocations: 98.67 kB / 0.6373 GB, free: 13.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003746/0.3637, allocations: 403.7 kB / 0.6377 GB, free: 13.42 MB / 490.7 MB Notification: Performance of SimCode: time 1.333e-06/0.3637, allocations: 4 kB / 0.6377 GB, free: 13.41 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04111/0.4048, allocations: 30.06 MB / 0.6671 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.566/9.971, allocations: 3.938 kB / 0.6671 GB, free: 15.56 MB / 0.5105 GB " [Timeout remaining time 650] (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: 12.851538246497512] Failed to read output from testmodel.py, exit status != 0: 10.075919998809695 10.084338482 9.836183577 Calling exit ...