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.001348/0.001348, 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.485/1.485, allocations: 230.6 MB / 252.7 MB, free: 14.28 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.001715/0.001715, allocations: 213 kB / 309.2 MB, free: 3.113 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.6116/0.6116, allocations: 107.2 MB / 472.8 MB, free: 29.93 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.00256/0.00256, allocations: 84.23 kB / 0.633 GB, free: 29.81 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.137, allocations: 80.15 MB / 0.7113 GB, free: 7.754 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.007096/0.1441, allocations: 5.36 MB / 0.7165 GB, free: 2.367 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004117/0.1482, allocations: 1.817 MB / 0.7183 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005851/0.1488, allocations: 15.94 kB / 0.7183 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006845/0.1494, allocations: 214.2 kB / 0.7185 GB, free: 328 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002142/0.1516, allocations: 0.7402 MB / 0.7192 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001466/0.1531, allocations: 0.5369 MB / 0.7198 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001894/0.1549, allocations: 1.44 MB / 0.7212 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003702/0.1553, allocations: 187.7 kB / 0.7213 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007862/0.1561, allocations: 0.5913 MB / 0.7219 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007681/0.1569, allocations: 0.5985 MB / 0.7225 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001583/0.157, allocations: 100 kB / 0.7226 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000499/0.1575, allocations: 247.8 kB / 0.7228 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000263/0.1578, allocations: 258.9 kB / 0.7231 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005051/0.1583, allocations: 477.3 kB / 0.7235 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001743/0.16, allocations: 1.42 MB / 0.7249 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.16, allocations: 0 / 0.7249 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.352e-06/0.16, allocations: 0 / 0.7249 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.435e-05/0.1601, allocations: 0 / 0.7249 GB, free: 9.715 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.007619/0.1677, allocations: 2.333 MB / 0.7272 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.1677, allocations: 12.03 kB / 0.7272 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001541/0.1679, allocations: 114.7 kB / 0.7273 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003464/0.1714, allocations: 0.5537 MB / 0.7279 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001597/0.1729, allocations: 0.7358 MB / 0.7286 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003565/0.1733, allocations: 290.9 kB / 0.7289 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/0.1734, allocations: 60 kB / 0.7289 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001855/0.1753, allocations: 0.8341 MB / 0.7297 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/0.1753, allocations: 0 / 0.7297 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.273e-05/0.1754, allocations: 27.98 kB / 0.7298 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.013e-05/0.1754, allocations: 19.94 kB / 0.7298 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002024/0.1774, allocations: 0.8445 MB / 0.7306 GB, free: 3.746 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.00567/0.1831, allocations: 2.376 MB / 0.7329 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006235/0.1893, allocations: 1.265 MB / 0.7342 GB, free: 56 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0012/0.1905, allocations: 0.4925 MB / 0.7346 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 8.294e-05/0.1906, allocations: 16.59 kB / 0.7347 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001389/0.192, allocations: 0.6172 MB / 0.7353 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=74): time 3.055e-06/0.192, allocations: 0 / 0.7353 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of matching and sorting (n=74): time 0.01932/0.2113, allocations: 4.529 MB / 0.7397 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.221e-05/0.2114, allocations: 60.06 kB / 0.7397 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001847/0.2133, allocations: 0.9739 MB / 0.7407 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001787/0.2134, allocations: 41.7 kB / 0.7407 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004474/0.2139, allocations: 476.9 kB / 0.7412 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003429/0.2142, allocations: 273.7 kB / 0.7414 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003612/0.2146, allocations: 182.5 kB / 0.7416 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.2148, allocations: 345.9 kB / 0.7419 GB, free: 7.984 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001264/0.216, allocations: 0.5563 MB / 0.7425 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001408/0.2174, allocations: 0.6672 MB / 0.7431 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0178/0.2352, allocations: 4.151 MB / 0.7472 GB, free: 2.539 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/0.2352, allocations: 0 / 0.7472 GB, free: 2.539 MB / 0.5137 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.009268/0.2445, allocations: 2.828 MB / 0.75 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.2445, allocations: 4 kB / 0.75 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.2445, allocations: 4 kB / 0.75 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005042/0.2496, allocations: 1.265 MB / 0.7512 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/0.2506, allocations: 191.7 kB / 0.7514 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01334/0.2639, allocations: 5.469 MB / 0.7567 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00147/0.2654, allocations: 155.3 kB / 0.7569 GB, free: 8.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.62e-05/0.2655, allocations: 35.98 kB / 0.7569 GB, free: 8.465 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.0004773/0.266, allocations: 240.1 kB / 0.7571 GB, free: 8.223 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001956/0.2662, allocations: 119.2 kB / 0.7572 GB, free: 8.105 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009178/0.2753, allocations: 2.633 MB / 0.7598 GB, free: 5.457 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.088e-06/0.2754, allocations: 12 kB / 0.7598 GB, free: 5.445 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.2754, allocations: 4 kB / 0.7598 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.2754, allocations: 3.984 kB / 0.7598 GB, free: 5.438 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01068/0.2861, allocations: 3.537 MB / 0.7633 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.2861, allocations: 3.938 kB / 0.7633 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000518/0.2866, allocations: 87.89 kB / 0.7634 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005207/0.2918, allocations: 1.318 MB / 0.7647 GB, free: 436 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.656e-05/0.2919, allocations: 16 kB / 0.7647 GB, free: 420 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01407/0.3059, allocations: 5.782 MB / 0.7703 GB, free: 10.51 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.306, allocations: 0 / 0.7703 GB, free: 10.51 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01069/0.3166, allocations: 3.365 MB / 0.7736 GB, free: 7.117 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000358/0.317, allocations: 127.2 kB / 0.7737 GB, free: 6.992 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001417/0.3171, allocations: 8 kB / 0.7737 GB, free: 6.984 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009626/0.3181, allocations: 87.89 kB / 0.7738 GB, free: 6.898 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004776/0.3186, allocations: 168.4 kB / 0.774 GB, free: 6.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.31e-05/0.3186, allocations: 16 kB / 0.774 GB, free: 6.715 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001082/0.3197, allocations: 0.6592 MB / 0.7746 GB, free: 6.047 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3197, allocations: 0 / 0.7746 GB, free: 6.047 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001095/0.3208, allocations: 355.7 kB / 0.775 GB, free: 5.699 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.01105/0.3319, allocations: 3.924 MB / 0.7788 GB, free: 1.742 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005575/0.3375, allocations: 1.716 MB / 0.7805 GB, free: 4 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.3375, allocations: 0 / 0.7805 GB, free: 4 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003639/0.3411, allocations: 1.074 MB / 0.7815 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009449/0.342, allocations: 106.3 kB / 0.7816 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02969/0.3717, allocations: 11.98 MB / 0.7933 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000511/0.3722, allocations: 456.5 kB / 0.7938 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004902/0.3727, allocations: 106.7 kB / 0.7939 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006204/0.3733, allocations: 399.3 kB / 0.7943 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of SimCode: time 1.293e-06/0.3733, allocations: 0 / 0.7943 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.358/0.7313, allocations: 29.86 MB / 0.8234 GB, free: 94.57 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.98/14.71, allocations: 3.875 kB / 0.8234 GB, free: 94.57 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 & /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: 18.467586972750723] Failed to read output from testmodel.py, exit status != 0: 14.851870492100716 14.871990619 14.708615572 Calling exit ...