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.001444/0.001444, allocations: 93.92 kB / 19.73 MB, free: 2.129 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.552/1.552, allocations: 230.6 MB / 253.5 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.001521/0.001521, allocations: 214.3 kB / 310 MB, free: 3.004 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.4893/0.4893, allocations: 79.74 MB / 446.2 MB, free: 40.41 MB / 350.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.002479/0.002479, allocations: 84.97 kB / 0.5936 GB, free: 38.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1182, allocations: 73.29 MB / 0.6652 GB, free: 232 kB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.006937/0.1251, allocations: 5.342 MB / 0.6704 GB, free: 12.14 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004138/0.1293, allocations: 1.809 MB / 0.6721 GB, free: 10.52 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004725/0.1297, allocations: 15.88 kB / 0.6722 GB, free: 10.5 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006372/0.1304, allocations: 210.2 kB / 0.6724 GB, free: 10.29 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00168/0.1321, allocations: 0.734 MB / 0.6731 GB, free: 9.559 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.1332, allocations: 0.5407 MB / 0.6736 GB, free: 9.02 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001501/0.1347, allocations: 1.448 MB / 0.675 GB, free: 7.566 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003494/0.1351, allocations: 199.7 kB / 0.6752 GB, free: 7.359 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007393/0.1358, allocations: 0.5836 MB / 0.6758 GB, free: 6.773 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008044/0.1366, allocations: 0.6689 MB / 0.6764 GB, free: 6.102 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001708/0.1368, allocations: 100 kB / 0.6765 GB, free: 6.004 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004508/0.1372, allocations: 247.9 kB / 0.6768 GB, free: 5.762 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002581/0.1375, allocations: 266.8 kB / 0.677 GB, free: 5.5 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004458/0.1379, allocations: 465.4 kB / 0.6775 GB, free: 5.043 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00153/0.1395, allocations: 1.424 MB / 0.6789 GB, free: 3.613 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1395, allocations: 0 / 0.6789 GB, free: 3.613 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1395, allocations: 0 / 0.6789 GB, free: 3.613 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.483e-05/0.1395, allocations: 4 kB / 0.6789 GB, free: 3.609 MB / 462.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.007312/0.1468, allocations: 2.337 MB / 0.6811 GB, free: 1.23 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.1468, allocations: 8.031 kB / 0.6811 GB, free: 1.223 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.759e-05/0.1469, allocations: 17.5 kB / 0.6812 GB, free: 1.203 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001431/0.147, allocations: 110.7 kB / 0.6813 GB, free: 1.086 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003569/0.1506, allocations: 0.5574 MB / 0.6818 GB, free: 0.5273 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001331/0.1519, allocations: 0.7243 MB / 0.6825 GB, free: 15.76 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003029/0.1522, allocations: 290.9 kB / 0.6828 GB, free: 15.43 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001402/0.1523, allocations: 67.95 kB / 0.6829 GB, free: 15.36 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001784/0.1541, allocations: 0.834 MB / 0.6837 GB, free: 14.52 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.1541, allocations: 0 / 0.6837 GB, free: 14.52 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.939e-05/0.1542, allocations: 31.75 kB / 0.6837 GB, free: 14.5 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/0.1542, allocations: 12 kB / 0.6837 GB, free: 14.48 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001893/0.1561, allocations: 0.8484 MB / 0.6845 GB, free: 13.63 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.005333/0.1615, allocations: 2.38 MB / 0.6869 GB, free: 11.21 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005967/0.1674, allocations: 1.263 MB / 0.6881 GB, free: 9.934 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001132/0.1686, allocations: 0.4963 MB / 0.6886 GB, free: 9.434 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.754e-05/0.1686, allocations: 12.64 kB / 0.6886 GB, free: 9.422 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001313/0.17, allocations: 0.6133 MB / 0.6892 GB, free: 8.797 MB / 478.1 MB Notification: Performance of pre-optimization done (n=74): time 2.355e-06/0.17, allocations: 0 / 0.6892 GB, free: 8.797 MB / 478.1 MB Notification: Performance of matching and sorting (n=74): time 0.01909/0.189, allocations: 4.533 MB / 0.6936 GB, free: 4.246 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.134e-05/0.1891, allocations: 60.06 kB / 0.6937 GB, free: 4.176 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001668/0.1908, allocations: 0.97 MB / 0.6946 GB, free: 3.188 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001831/0.1909, allocations: 45.64 kB / 0.6947 GB, free: 3.137 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004648/0.1914, allocations: 476.9 kB / 0.6951 GB, free: 2.664 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004055/0.1918, allocations: 273.6 kB / 0.6954 GB, free: 2.395 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000424/0.1922, allocations: 178.6 kB / 0.6956 GB, free: 2.211 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002162/0.1925, allocations: 349.9 kB / 0.6959 GB, free: 1.863 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001289/0.1937, allocations: 0.5524 MB / 0.6964 GB, free: 1.312 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001301/0.195, allocations: 0.6672 MB / 0.6971 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01813/0.2132, allocations: 4.155 MB / 0.7011 GB, free: 12.43 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.167e-06/0.2132, allocations: 4 kB / 0.7011 GB, free: 12.42 MB / 494.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.008911/0.2221, allocations: 2.824 MB / 0.7039 GB, free: 9.578 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/0.2221, allocations: 15.94 kB / 0.7039 GB, free: 9.562 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.2221, allocations: 0 / 0.7039 GB, free: 9.562 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004884/0.227, allocations: 1.261 MB / 0.7052 GB, free: 8.297 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/0.228, allocations: 187.8 kB / 0.7053 GB, free: 8.113 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01305/0.2411, allocations: 5.476 MB / 0.7107 GB, free: 2.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001524/0.2426, allocations: 155.2 kB / 0.7108 GB, free: 2.367 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/0.2427, allocations: 35.98 kB / 0.7109 GB, free: 2.332 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.0004981/0.2432, allocations: 235.6 kB / 0.7111 GB, free: 2.094 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002123/0.2434, allocations: 115.2 kB / 0.7112 GB, free: 1.98 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008996/0.2524, allocations: 2.637 MB / 0.7138 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/0.2524, allocations: 8 kB / 0.7138 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.126e-06/0.2524, allocations: 4 kB / 0.7138 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.556e-05/0.2525, allocations: 3.984 kB / 0.7138 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01055/0.263, allocations: 3.545 MB / 0.7172 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.263, allocations: 0 / 0.7172 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005339/0.2635, allocations: 87.89 kB / 0.7173 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005097/0.2686, allocations: 1.322 MB / 0.7186 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001124/0.2688, allocations: 16 kB / 0.7186 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01377/0.2825, allocations: 5.778 MB / 0.7243 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.2825, allocations: 0 / 0.7243 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01053/0.2931, allocations: 3.358 MB / 0.7276 GB, free: 1 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004195/0.2935, allocations: 123.2 kB / 0.7277 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001747/0.2937, allocations: 12 kB / 0.7277 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/0.2947, allocations: 95.83 kB / 0.7278 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000542/0.2953, allocations: 164.4 kB / 0.7279 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.957e-05/0.2953, allocations: 16 kB / 0.728 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001122/0.2964, allocations: 0.6592 MB / 0.7286 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2964, allocations: 0 / 0.7286 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00119/0.2976, allocations: 363.7 kB / 0.7289 GB, free: 15.57 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.0109/0.3085, allocations: 3.92 MB / 0.7328 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005233/0.3138, allocations: 1.709 MB / 0.7344 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.3138, allocations: 3.938 kB / 0.7344 GB, free: 9.891 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003673/0.3175, allocations: 1.089 MB / 0.7355 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.3185, allocations: 106.2 kB / 0.7356 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0298/0.3483, allocations: 11.97 MB / 0.7473 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005132/0.3489, allocations: 468.4 kB / 0.7477 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004572/0.3493, allocations: 98.67 kB / 0.7478 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006177/0.3499, allocations: 403.3 kB / 0.7482 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of SimCode: time 9.92e-07/0.3499, allocations: 0 / 0.7482 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06945/0.4194, allocations: 29.3 MB / 0.7768 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.04/17.46, allocations: 9.719 kB / 0.7768 GB, free: 14.44 MB / 0.5606 GB " [Timeout remaining time 642] (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: 21.284487340948544] Failed to read output from testmodel.py, exit status != 0: 17.646665933076292 17.661850407 17.519272729 Calling exit ...