Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.001329/0.001329, allocations: 104.4 kB / 16.45 MB, free: 6.508 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.41/1.41, allocations: 225.6 MB / 244.8 MB, free: 14.19 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.002302/0.002302, allocations: 190.9 kB / 299.8 MB, free: 9.844 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5563/0.5563, allocations: 99.67 MB / 454.4 MB, free: 5.07 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_OpenIPSL_Tests_FACTS_TCSC_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.FACTS.TCSC_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_FACTS_TCSC_Test",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002299/0.002299, allocations: 83.86 kB / 0.6073 GB, free: 9.551 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1674, allocations: 76.94 MB / 0.6824 GB, free: 12.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.007504/0.1749, allocations: 6.062 MB / 0.6884 GB, free: 6.359 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004152/0.179, allocations: 1.856 MB / 0.6902 GB, free: 4.496 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005562/0.1796, allocations: 11.94 kB / 0.6902 GB, free: 4.484 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006805/0.1803, allocations: 210.2 kB / 0.6904 GB, free: 4.277 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001739/0.182, allocations: 0.7438 MB / 0.6911 GB, free: 3.531 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001217/0.1832, allocations: 0.5429 MB / 0.6916 GB, free: 2.992 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001678/0.1849, allocations: 1.425 MB / 0.693 GB, free: 1.562 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003719/0.1853, allocations: 195.3 kB / 0.6932 GB, free: 1.359 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007531/0.186, allocations: 0.5679 MB / 0.6938 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008002/0.1868, allocations: 0.665 MB / 0.6944 GB, free: 124 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001584/0.187, allocations: 96 kB / 0.6945 GB, free: 28 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3074/0.4944, allocations: 224.6 kB / 0.6947 GB, free: 9.832 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003873/0.4948, allocations: 267.1 kB / 0.695 GB, free: 9.832 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006879/0.4955, allocations: 0.5654 MB / 0.6955 GB, free: 9.758 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001722/0.4972, allocations: 1.401 MB / 0.6969 GB, free: 9.52 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4972, allocations: 0.9062 kB / 0.6969 GB, free: 9.52 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.4972, allocations: 3.656 kB / 0.6969 GB, free: 9.52 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.493e-05/0.4972, allocations: 0 / 0.6969 GB, free: 9.52 MB / 494.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.006704/0.5039, allocations: 2.275 MB / 0.6991 GB, free: 8.648 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.504, allocations: 11.81 kB / 0.6991 GB, free: 8.648 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001208/0.5041, allocations: 112.8 kB / 0.6992 GB, free: 8.609 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003282/0.5074, allocations: 0.5664 MB / 0.6998 GB, free: 8.531 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001275/0.5086, allocations: 0.7905 MB / 0.7006 GB, free: 8.164 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002078/0.5088, allocations: 210.8 kB / 0.7008 GB, free: 8.008 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.509, allocations: 63.03 kB / 0.7008 GB, free: 8.008 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001593/0.5105, allocations: 0.8357 MB / 0.7016 GB, free: 7.953 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.5106, allocations: 0 / 0.7016 GB, free: 7.953 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.254e-05/0.5106, allocations: 25.08 kB / 0.7017 GB, free: 7.953 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.5106, allocations: 14.59 kB / 0.7017 GB, free: 7.953 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00164/0.5123, allocations: 0.8496 MB / 0.7025 GB, free: 7.945 MB / 494.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.004996/0.5173, allocations: 3.043 MB / 0.7055 GB, free: 7.074 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005524/0.5228, allocations: 1.646 MB / 0.7071 GB, free: 6.293 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009285/0.5237, allocations: 0.4977 MB / 0.7076 GB, free: 6.105 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.661e-05/0.5238, allocations: 13.41 kB / 0.7076 GB, free: 6.105 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001184/0.525, allocations: 0.6195 MB / 0.7082 GB, free: 5.871 MB / 494.1 MB Notification: Performance of pre-optimization done (n=74): time 2.525e-06/0.525, allocations: 0 / 0.7082 GB, free: 5.871 MB / 494.1 MB Notification: Performance of matching and sorting (n=74): time 0.01868/0.5437, allocations: 4.684 MB / 0.7128 GB, free: 4.828 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.5437, allocations: 60.44 kB / 0.7128 GB, free: 4.766 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001746/0.5455, allocations: 0.9739 MB / 0.7138 GB, free: 4.359 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001701/0.5456, allocations: 41.33 kB / 0.7138 GB, free: 4.316 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003207/0.546, allocations: 475.5 kB / 0.7143 GB, free: 3.945 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002863/0.5462, allocations: 279.8 kB / 0.7145 GB, free: 3.73 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003974/0.5466, allocations: 176.9 kB / 0.7147 GB, free: 3.645 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.429e-05/0.5467, allocations: 344.5 kB / 0.715 GB, free: 3.324 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001324/0.548, allocations: 0.5547 MB / 0.7156 GB, free: 3.121 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001151/0.5492, allocations: 0.6661 MB / 0.7162 GB, free: 2.809 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01609/0.5653, allocations: 4.039 MB / 0.7202 GB, free: 1.438 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.287e-06/0.5653, allocations: 1.219 kB / 0.7202 GB, free: 1.438 MB / 494.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.008266/0.5736, allocations: 2.833 MB / 0.7229 GB, free: 52 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.833e-05/0.5736, allocations: 5.312 kB / 0.7229 GB, free: 52 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.5736, allocations: 2.844 kB / 0.723 GB, free: 52 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004753/0.5784, allocations: 1.267 MB / 0.7242 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/0.5794, allocations: 185.9 kB / 0.7244 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01262/0.5921, allocations: 5.687 MB / 0.7299 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001602/0.5937, allocations: 149.3 kB / 0.7301 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/0.5938, allocations: 36.33 kB / 0.7301 GB, free: 11.55 MB / 0.4981 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.0005499/0.5943, allocations: 237.9 kB / 0.7303 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002062/0.5945, allocations: 115.5 kB / 0.7304 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008509/0.603, allocations: 2.639 MB / 0.733 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/0.6031, allocations: 11.69 kB / 0.733 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.6031, allocations: 5 kB / 0.733 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-05/0.6031, allocations: 3.984 kB / 0.733 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01068/0.6138, allocations: 4.002 MB / 0.7369 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/0.6138, allocations: 0.8906 kB / 0.7369 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006171/0.6144, allocations: 90.95 kB / 0.737 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004767/0.6192, allocations: 1.324 MB / 0.7383 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000164/0.6193, allocations: 15.52 kB / 0.7383 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01402/0.6333, allocations: 6.022 MB / 0.7442 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.6333, allocations: 7.984 kB / 0.7442 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01073/0.6441, allocations: 3.347 MB / 0.7475 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005835/0.6446, allocations: 212.3 kB / 0.7477 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002002/0.6448, allocations: 16 kB / 0.7477 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001034/0.6459, allocations: 86.09 kB / 0.7478 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005581/0.6464, allocations: 156.4 kB / 0.7479 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.627e-05/0.6465, allocations: 20 kB / 0.748 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001173/0.6477, allocations: 0.6631 MB / 0.7486 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.6477, allocations: 0 / 0.7486 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001294/0.649, allocations: 351.7 kB / 0.7489 GB, free: 12.79 MB / 0.5137 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.01087/0.6598, allocations: 3.925 MB / 0.7528 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005215/0.6651, allocations: 1.795 MB / 0.7545 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.6651, allocations: 0.5625 kB / 0.7545 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003483/0.6685, allocations: 1.159 MB / 0.7557 GB, free: 5.855 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.6696, allocations: 102.2 kB / 0.7558 GB, free: 5.762 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03011/0.6997, allocations: 11.98 MB / 0.7675 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001101/0.7008, allocations: 1.049 MB / 0.7685 GB, free: 8.625 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000591/0.7014, allocations: 102.8 kB / 0.7686 GB, free: 8.52 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009841/0.7023, allocations: 403.3 kB / 0.769 GB, free: 8.125 MB / 0.5294 GB Notification: Performance of SimCode: time 1.483e-06/0.7023, allocations: 0 / 0.769 GB, free: 8.125 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07549/0.7778, allocations: 28.48 MB / 0.7968 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.67/16.45, allocations: 11.3 kB / 0.7968 GB, free: 11.8 MB / 0.5606 GB " [Timeout remaining time 643] (rm -f OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_FACTS_TCSC_Test_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_FACTS_TCSC_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.969391381833702] Failed to read output from testmodel.py, exit status != 0: 16.559073809999973 16.585026713 16.083016595 Calling exit ...