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.001307/0.001307, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.491/1.491, allocations: 230.6 MB / 253.4 MB, free: 14.25 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.001591/0.001591, allocations: 209.9 kB / 310 MB, free: 3.191 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.5657/0.5657, allocations: 79.74 MB / 446.2 MB, free: 38.88 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.00238/0.00238, allocations: 79.62 kB / 0.5937 GB, free: 38.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1059, allocations: 73.31 MB / 0.6652 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.00678/0.1127, allocations: 6.069 MB / 0.6712 GB, free: 11.82 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003968/0.1167, allocations: 1.909 MB / 0.673 GB, free: 10.17 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006878/0.1174, allocations: 15.94 kB / 0.6731 GB, free: 10.16 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006737/0.118, allocations: 210.2 kB / 0.6733 GB, free: 9.949 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001915/0.1199, allocations: 0.7641 MB / 0.674 GB, free: 9.184 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001284/0.1212, allocations: 0.5497 MB / 0.6745 GB, free: 8.637 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001917/0.1231, allocations: 1.448 MB / 0.676 GB, free: 7.184 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003809/0.1235, allocations: 199.7 kB / 0.6761 GB, free: 6.977 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008915/0.1244, allocations: 0.5835 MB / 0.6767 GB, free: 6.391 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009036/0.1253, allocations: 0.6611 MB / 0.6774 GB, free: 5.727 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001676/0.1255, allocations: 96 kB / 0.6774 GB, free: 5.633 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005393/0.126, allocations: 259.8 kB / 0.6777 GB, free: 5.379 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002574/0.1263, allocations: 262.9 kB / 0.6779 GB, free: 5.121 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005392/0.1268, allocations: 0.563 MB / 0.6785 GB, free: 4.555 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001741/0.1286, allocations: 1.416 MB / 0.6799 GB, free: 3.133 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.758e-06/0.1286, allocations: 0 / 0.6799 GB, free: 3.133 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1286, allocations: 4 kB / 0.6799 GB, free: 3.129 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.07e-05/0.1286, allocations: 0 / 0.6799 GB, free: 3.129 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.008082/0.1367, allocations: 2.332 MB / 0.6822 GB, free: 0.7539 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.1367, allocations: 8.031 kB / 0.6822 GB, free: 0.7461 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.933e-05/0.1367, allocations: 17.5 kB / 0.6822 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001445/0.1369, allocations: 114.6 kB / 0.6823 GB, free: 0.6055 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003577/0.1405, allocations: 0.5652 MB / 0.6828 GB, free: 40 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001679/0.1421, allocations: 0.724 MB / 0.6836 GB, free: 15.28 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003164/0.1425, allocations: 286.9 kB / 0.6838 GB, free: 14.95 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001459/0.1426, allocations: 68 kB / 0.6839 GB, free: 14.88 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001851/0.1445, allocations: 0.8302 MB / 0.6847 GB, free: 14.05 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.1445, allocations: 4 kB / 0.6847 GB, free: 14.04 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.129e-05/0.1446, allocations: 35.92 kB / 0.6847 GB, free: 14.01 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.563e-05/0.1446, allocations: 12 kB / 0.6848 GB, free: 14 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001955/0.1465, allocations: 0.8484 MB / 0.6856 GB, free: 13.14 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.005782/0.1523, allocations: 3.001 MB / 0.6885 GB, free: 10.02 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006263/0.1586, allocations: 1.267 MB / 0.6897 GB, free: 8.746 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001198/0.1598, allocations: 0.504 MB / 0.6902 GB, free: 8.238 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.281e-05/0.1599, allocations: 12.64 kB / 0.6903 GB, free: 8.227 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001393/0.1613, allocations: 0.6133 MB / 0.6909 GB, free: 7.602 MB / 478.1 MB Notification: Performance of pre-optimization done (n=74): time 2.635e-06/0.1613, allocations: 0 / 0.6909 GB, free: 7.602 MB / 478.1 MB Notification: Performance of matching and sorting (n=74): time 0.01975/0.181, allocations: 4.541 MB / 0.6953 GB, free: 3.043 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.609e-05/0.1811, allocations: 64.05 kB / 0.6953 GB, free: 2.969 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001553/0.1826, allocations: 0.9584 MB / 0.6963 GB, free: 1.992 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001805/0.1828, allocations: 41.69 kB / 0.6963 GB, free: 1.945 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004125/0.1832, allocations: 476.8 kB / 0.6968 GB, free: 1.473 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003678/0.1836, allocations: 277.7 kB / 0.697 GB, free: 1.199 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000405/0.184, allocations: 182.5 kB / 0.6972 GB, free: 1.012 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.1842, allocations: 345.9 kB / 0.6975 GB, free: 0.668 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00136/0.1855, allocations: 0.5485 MB / 0.6981 GB, free: 124 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001491/0.187, allocations: 0.675 MB / 0.6987 GB, free: 15.41 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01853/0.2055, allocations: 4.151 MB / 0.7028 GB, free: 11.23 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/0.2055, allocations: 0 / 0.7028 GB, free: 11.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.009413/0.215, allocations: 2.82 MB / 0.7055 GB, free: 8.391 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/0.215, allocations: 7.984 kB / 0.7056 GB, free: 8.383 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.215, allocations: 7.938 kB / 0.7056 GB, free: 8.375 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005026/0.22, allocations: 1.265 MB / 0.7068 GB, free: 7.105 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/0.221, allocations: 183.7 kB / 0.707 GB, free: 6.926 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01363/0.2347, allocations: 5.581 MB / 0.7124 GB, free: 1.227 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001574/0.2362, allocations: 155.2 kB / 0.7126 GB, free: 1.074 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/0.2363, allocations: 35.98 kB / 0.7126 GB, free: 1.039 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.0004837/0.2368, allocations: 237.5 kB / 0.7128 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002276/0.2371, allocations: 115.2 kB / 0.7129 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009376/0.2464, allocations: 2.637 MB / 0.7155 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.301e-05/0.2464, allocations: 11.98 kB / 0.7155 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.2465, allocations: 4 kB / 0.7155 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.422e-05/0.2465, allocations: 3.984 kB / 0.7155 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01139/0.2579, allocations: 3.972 MB / 0.7194 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/0.2579, allocations: 0 / 0.7194 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005645/0.2584, allocations: 91.88 kB / 0.7195 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005151/0.2636, allocations: 1.318 MB / 0.7208 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001447/0.2637, allocations: 16 kB / 0.7208 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01428/0.278, allocations: 5.918 MB / 0.7266 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.278, allocations: 0 / 0.7266 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01098/0.289, allocations: 3.357 MB / 0.7299 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003702/0.2894, allocations: 131.2 kB / 0.73 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001836/0.2896, allocations: 12 kB / 0.73 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009927/0.2905, allocations: 83.91 kB / 0.7301 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005086/0.2911, allocations: 164.4 kB / 0.7302 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.117e-05/0.2911, allocations: 19.98 kB / 0.7303 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001109/0.2922, allocations: 0.6592 MB / 0.7309 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2922, allocations: 7.938 kB / 0.7309 GB, free: 14 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001279/0.2935, allocations: 355.7 kB / 0.7312 GB, free: 13.66 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.01115/0.3047, allocations: 3.932 MB / 0.7351 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005151/0.3098, allocations: 1.709 MB / 0.7368 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.3098, allocations: 4 kB / 0.7368 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003519/0.3133, allocations: 1.077 MB / 0.7378 GB, free: 6.867 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008375/0.3142, allocations: 96.34 kB / 0.7379 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0299/0.3441, allocations: 11.99 MB / 0.7496 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006938/0.3448, allocations: 1.049 MB / 0.7506 GB, free: 9.523 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004158/0.3452, allocations: 98.67 kB / 0.7507 GB, free: 9.422 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005599/0.3457, allocations: 403.3 kB / 0.7511 GB, free: 9.027 MB / 0.5294 GB Notification: Performance of SimCode: time 6.82e-07/0.3457, allocations: 0 / 0.7511 GB, free: 9.027 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06479/0.4105, allocations: 29.33 MB / 0.7798 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.43/16.84, allocations: 4.062 kB / 0.7798 GB, free: 11.83 MB / 0.5606 GB " [Timeout remaining time 643] (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: 20.53145049395971] Failed to read output from testmodel.py, exit status != 0: 17.027574989944696 17.050801217 16.917976937 Calling exit ...