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.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.001565/0.001565, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.495/1.495, allocations: 230.6 MB / 252.6 MB, free: 8.301 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.001963/0.001963, allocations: 222.6 kB / 309.2 MB, free: 3.141 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.5873/0.5873, allocations: 101.3 MB / 467 MB, free: 10.34 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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_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: 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.002731/0.002731, allocations: 90.42 kB / 0.6244 GB, free: 12.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4543/0.4571, allocations: 78.61 MB / 0.7012 GB, free: 9.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.005808/0.4629, allocations: 6.094 MB / 0.7071 GB, free: 4.867 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004059/0.4669, allocations: 1.929 MB / 0.709 GB, free: 3.5 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000802/0.4677, allocations: 19.69 kB / 0.709 GB, free: 3.492 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006845/0.4684, allocations: 209.4 kB / 0.7092 GB, free: 3.379 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001717/0.4701, allocations: 0.7573 MB / 0.71 GB, free: 2.875 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001197/0.4713, allocations: 0.5571 MB / 0.7105 GB, free: 2.578 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001871/0.4732, allocations: 1.445 MB / 0.7119 GB, free: 1.867 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003583/0.4736, allocations: 194.5 kB / 0.7121 GB, free: 1.758 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008538/0.4744, allocations: 0.5843 MB / 0.7127 GB, free: 1.477 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008554/0.4753, allocations: 0.6715 MB / 0.7133 GB, free: 1.145 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001563/0.4754, allocations: 99.25 kB / 0.7134 GB, free: 1.145 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005081/0.4759, allocations: 244.9 kB / 0.7137 GB, free: 1.098 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002223/0.4761, allocations: 269.4 kB / 0.7139 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003991/0.4765, allocations: 0.5649 MB / 0.7145 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00182/0.4784, allocations: 1.414 MB / 0.7158 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.4784, allocations: 0 / 0.7158 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4784, allocations: 0 / 0.7158 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.745e-05/0.4784, allocations: 3.297 kB / 0.7158 GB, free: 15.89 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.00824/0.4866, allocations: 2.332 MB / 0.7181 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.535e-05/0.4867, allocations: 9.844 kB / 0.7181 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001758/0.4869, allocations: 113.5 kB / 0.7182 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003574/0.4904, allocations: 0.5525 MB / 0.7188 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001732/0.4922, allocations: 0.7357 MB / 0.7195 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003636/0.4925, allocations: 289.1 kB / 0.7198 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/0.4927, allocations: 61.08 kB / 0.7198 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001886/0.4946, allocations: 0.8384 MB / 0.7207 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.4946, allocations: 2.625 kB / 0.7207 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.732e-05/0.4947, allocations: 25.25 kB / 0.7207 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.958e-05/0.4947, allocations: 18.97 kB / 0.7207 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001825/0.4965, allocations: 0.8461 MB / 0.7215 GB, free: 13.18 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.006616/0.5031, allocations: 2.993 MB / 0.7244 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006321/0.5094, allocations: 1.269 MB / 0.7257 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00123/0.5107, allocations: 0.4914 MB / 0.7262 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.449e-05/0.5108, allocations: 17.72 kB / 0.7262 GB, free: 11 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001505/0.5123, allocations: 0.6165 MB / 0.7268 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=74): time 2.284e-06/0.5123, allocations: 0.5 kB / 0.7268 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=74): time 0.01915/0.5314, allocations: 4.539 MB / 0.7312 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/0.5315, allocations: 59.31 kB / 0.7313 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001596/0.5331, allocations: 0.9674 MB / 0.7322 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001639/0.5332, allocations: 40.39 kB / 0.7323 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004383/0.5337, allocations: 474.9 kB / 0.7327 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003555/0.534, allocations: 276.2 kB / 0.733 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003636/0.5344, allocations: 182.3 kB / 0.7331 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001786/0.5346, allocations: 347.1 kB / 0.7335 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001256/0.5358, allocations: 0.5495 MB / 0.734 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001371/0.5372, allocations: 0.6739 MB / 0.7347 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01874/0.5559, allocations: 4.158 MB / 0.7387 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-06/0.5559, allocations: 4 kB / 0.7387 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.009674/0.5656, allocations: 2.819 MB / 0.7415 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.779e-05/0.5656, allocations: 6.188 kB / 0.7415 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.5657, allocations: 2.75 kB / 0.7415 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005132/0.5708, allocations: 1.264 MB / 0.7427 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/0.572, allocations: 190.7 kB / 0.7429 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01348/0.5854, allocations: 5.58 MB / 0.7484 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001644/0.5871, allocations: 150.5 kB / 0.7485 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-05/0.5872, allocations: 31.38 kB / 0.7485 GB, free: 14.59 MB / 0.5137 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.0005304/0.5877, allocations: 245.5 kB / 0.7488 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001917/0.5879, allocations: 120.8 kB / 0.7489 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009107/0.597, allocations: 2.63 MB / 0.7515 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.597, allocations: 8 kB / 0.7515 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.597, allocations: 0 / 0.7515 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.425e-05/0.597, allocations: 3.984 kB / 0.7515 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01139/0.6084, allocations: 3.975 MB / 0.7554 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.6084, allocations: 3.938 kB / 0.7554 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005346/0.609, allocations: 91.89 kB / 0.7554 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005229/0.6142, allocations: 1.318 MB / 0.7567 GB, free: 7.07 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-05/0.6143, allocations: 16 kB / 0.7567 GB, free: 7.055 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01481/0.6291, allocations: 5.915 MB / 0.7625 GB, free: 1.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.6291, allocations: 4 kB / 0.7625 GB, free: 1.016 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0112/0.6403, allocations: 3.354 MB / 0.7658 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004442/0.6408, allocations: 139.1 kB / 0.7659 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002619/0.641, allocations: 12 kB / 0.7659 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001138/0.6422, allocations: 87.89 kB / 0.766 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005031/0.6427, allocations: 156.4 kB / 0.7662 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.446e-05/0.6427, allocations: 27.92 kB / 0.7662 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001259/0.644, allocations: 0.6592 MB / 0.7668 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.31e-07/0.644, allocations: 0 / 0.7668 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001376/0.6454, allocations: 347.8 kB / 0.7672 GB, free: 12.21 MB / 0.5294 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.01171/0.6571, allocations: 3.939 MB / 0.771 GB, free: 8.238 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005542/0.6626, allocations: 1.713 MB / 0.7727 GB, free: 6.508 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.6626, allocations: 0.5625 kB / 0.7727 GB, free: 6.508 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003699/0.6663, allocations: 1.085 MB / 0.7738 GB, free: 5.406 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.6674, allocations: 111 kB / 0.7739 GB, free: 5.305 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03177/0.6992, allocations: 11.97 MB / 0.7856 GB, free: 9.152 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009518/0.7002, allocations: 1.049 MB / 0.7866 GB, free: 8.074 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005085/0.7007, allocations: 90.69 kB / 0.7867 GB, free: 7.98 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007145/0.7014, allocations: 407.3 kB / 0.7871 GB, free: 7.582 MB / 0.545 GB Notification: Performance of SimCode: time 1.092e-06/0.7014, allocations: 0 / 0.7871 GB, free: 7.582 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07916/0.7805, allocations: 29.32 MB / 0.8157 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.19/17.97, allocations: 0 / 0.8157 GB, free: 10.42 MB / 0.5762 GB " [Timeout remaining time 642] (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: 21.65274647111073] Failed to read output from testmodel.py, exit status != 0: 18.1089602811262 18.135955226 17.652890869 Calling exit ...