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.001495/0.001495, allocations: 79.86 kB / 19.18 MB, free: 2.527 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.383/1.383, allocations: 177.1 MB / 199.4 MB, free: 8.453 MB / 190.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.001718/0.001718, allocations: 159.8 kB / 256 MB, free: 4.309 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.575/0.575, allocations: 80.36 MB / 392.7 MB, free: 29.65 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.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: translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test") translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.5554 GB, free: 14.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.706e-05/2.878e-05, allocations: 3.156 kB / 0.5554 GB, free: 14.14 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.006232/0.006261, allocations: 5.368 MB / 0.5606 GB, free: 10.5 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004404/0.01066, allocations: 1.811 MB / 0.5624 GB, free: 9.258 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001128/0.01179, allocations: 18.84 kB / 0.5624 GB, free: 9.25 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009388/0.01273, allocations: 209.1 kB / 0.5626 GB, free: 9.137 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002557/0.01529, allocations: 0.7628 MB / 0.5634 GB, free: 8.637 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001469/0.01676, allocations: 0.5562 MB / 0.5639 GB, free: 8.309 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00192/0.01868, allocations: 1.423 MB / 0.5653 GB, free: 7.414 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004331/0.01911, allocations: 178 kB / 0.5655 GB, free: 7.305 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001477/0.02059, allocations: 0.791 MB / 0.5662 GB, free: 6.789 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008688/0.02146, allocations: 0.5078 MB / 0.5667 GB, free: 6.48 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001695/0.02163, allocations: 102 kB / 0.5668 GB, free: 6.477 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000562/0.02219, allocations: 245.2 kB / 0.5671 GB, free: 6.41 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000207/0.02239, allocations: 270.5 kB / 0.5673 GB, free: 6.184 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003984/0.02279, allocations: 375.3 kB / 0.5677 GB, free: 5.953 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001388/0.02418, allocations: 1.445 MB / 0.5691 GB, free: 4.902 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.02418, allocations: 0 / 0.5691 GB, free: 4.902 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.02419, allocations: 1.781 kB / 0.5691 GB, free: 4.902 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.5e-05/0.0242, allocations: 0 / 0.5691 GB, free: 4.902 MB / 430.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.007524/0.03172, allocations: 2.327 MB / 0.5714 GB, free: 3.418 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.03177, allocations: 10.66 kB / 0.5714 GB, free: 3.418 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003615/0.03538, allocations: 0.5548 MB / 0.5719 GB, free: 3.184 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001458/0.03684, allocations: 0.7212 MB / 0.5726 GB, free: 2.602 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000259/0.0371, allocations: 294.3 kB / 0.5729 GB, free: 2.312 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001328/0.03723, allocations: 63 kB / 0.573 GB, free: 2.293 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001765/0.039, allocations: 0.8327 MB / 0.5738 GB, free: 1.812 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.03902, allocations: 0 / 0.5738 GB, free: 1.812 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.428e-05/0.0391, allocations: 25.88 kB / 0.5738 GB, free: 1.793 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.769e-05/0.03912, allocations: 19.11 kB / 0.5738 GB, free: 1.789 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001897/0.04101, allocations: 0.8431 MB / 0.5747 GB, free: 1.391 MB / 430.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.005497/0.04651, allocations: 2.28 MB / 0.5769 GB, free: 15.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006735/0.05325, allocations: 1.28 MB / 0.5781 GB, free: 14.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001261/0.05451, allocations: 0.4912 MB / 0.5786 GB, free: 14.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.624e-05/0.0546, allocations: 20.64 kB / 0.5786 GB, free: 14.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001536/0.05614, allocations: 0.6133 MB / 0.5792 GB, free: 13.62 MB / 446.1 MB Notification: Performance of pre-optimization done (n=74): time 3.597e-06/0.05614, allocations: 3.938 kB / 0.5792 GB, free: 13.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=74): time 0.02094/0.07709, allocations: 4.525 MB / 0.5837 GB, free: 9.078 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.022e-05/0.07715, allocations: 60.06 kB / 0.5837 GB, free: 9.008 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00179/0.07894, allocations: 0.9409 MB / 0.5846 GB, free: 8.047 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001622/0.0791, allocations: 37.7 kB / 0.5847 GB, free: 8.004 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004425/0.07954, allocations: 488.8 kB / 0.5851 GB, free: 7.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003404/0.07988, allocations: 273.6 kB / 0.5854 GB, free: 7.25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003856/0.08027, allocations: 174.6 kB / 0.5856 GB, free: 7.074 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.08044, allocations: 341.9 kB / 0.5859 GB, free: 6.734 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001365/0.0818, allocations: 0.5485 MB / 0.5864 GB, free: 6.184 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001594/0.0834, allocations: 0.6594 MB / 0.5871 GB, free: 5.496 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01994/0.1033, allocations: 4.128 MB / 0.5911 GB, free: 1.336 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.668e-06/0.1033, allocations: 4 kB / 0.5911 GB, free: 1.332 MB / 446.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.01032/0.1137, allocations: 2.808 MB / 0.5938 GB, free: 14.5 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.767e-05/0.1137, allocations: 4 kB / 0.5938 GB, free: 14.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/0.1137, allocations: 4 kB / 0.5938 GB, free: 14.49 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005532/0.1192, allocations: 1.268 MB / 0.5951 GB, free: 13.22 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/0.1204, allocations: 183.7 kB / 0.5953 GB, free: 13.04 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01447/0.1349, allocations: 5.422 MB / 0.6006 GB, free: 7.516 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001772/0.1366, allocations: 155.3 kB / 0.6007 GB, free: 7.363 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/0.1368, allocations: 35.98 kB / 0.6007 GB, free: 7.328 MB / 462.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 (99): * Single equations (assignments): 97 * 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.0005881/0.1373, allocations: 232.3 kB / 0.601 GB, free: 7.094 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003105/0.1377, allocations: 111.2 kB / 0.6011 GB, free: 6.984 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009695/0.1474, allocations: 2.633 MB / 0.6036 GB, free: 4.332 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.409e-05/0.1474, allocations: 15.98 kB / 0.6037 GB, free: 4.316 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.1474, allocations: 0 / 0.6037 GB, free: 4.316 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.47e-05/0.1474, allocations: 7.984 kB / 0.6037 GB, free: 4.309 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01217/0.1596, allocations: 3.462 MB / 0.607 GB, free: 0.8047 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/0.1596, allocations: 0 / 0.607 GB, free: 0.8047 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006304/0.1602, allocations: 87.89 kB / 0.6071 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005641/0.1659, allocations: 1.314 MB / 0.6084 GB, free: 15.4 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002097/0.1661, allocations: 19.98 kB / 0.6084 GB, free: 15.38 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01525/0.1813, allocations: 5.752 MB / 0.614 GB, free: 9.52 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.1813, allocations: 0 / 0.614 GB, free: 9.52 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01284/0.1942, allocations: 3.35 MB / 0.6173 GB, free: 6.148 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006352/0.1948, allocations: 123.3 kB / 0.6174 GB, free: 6.027 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005198/0.1953, allocations: 16 kB / 0.6174 GB, free: 6.012 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001448/0.1968, allocations: 79.91 kB / 0.6175 GB, free: 5.934 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006638/0.1974, allocations: 172.2 kB / 0.6177 GB, free: 5.762 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000114/0.1975, allocations: 23.98 kB / 0.6177 GB, free: 5.738 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001308/0.1988, allocations: 0.6387 MB / 0.6183 GB, free: 5.09 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1988, allocations: 0 / 0.6183 GB, free: 5.09 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002068/0.2009, allocations: 359.6 kB / 0.6187 GB, free: 4.738 MB / 478.1 MB 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.0004846/0.2014, allocations: 135.2 kB / 0.6188 GB, free: 4.598 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005613/0.207, allocations: 1.69 MB / 0.6205 GB, free: 2.895 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.207, allocations: 4.125 kB / 0.6205 GB, free: 2.891 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003875/0.2109, allocations: 1.085 MB / 0.6215 GB, free: 1.789 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001298/0.2122, allocations: 95.19 kB / 0.6216 GB, free: 1.695 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004175/0.2164, allocations: 1.755 MB / 0.6233 GB, free: 15.91 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005988/0.217, allocations: 460.4 kB / 0.6238 GB, free: 15.43 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004101/0.2174, allocations: 94.45 kB / 0.6239 GB, free: 15.33 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002607/0.2176, allocations: 72.48 kB / 0.6239 GB, free: 15.26 MB / 494.1 MB Notification: Performance of SimCode: time 1.163e-06/0.2176, allocations: 0 / 0.6239 GB, free: 15.26 MB / 494.1 MB Notification: Performance of Templates: time 0.0345/0.2521, allocations: 19.28 MB / 0.6428 GB, free: 12.02 MB / 0.4981 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.makefile [Timeout 660] (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 & ./OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.006119955331087] Failed to read output from testmodel.py, exit status != 0: 0.2615349516272545 0.28042553800000003 0.25274122200000004 Calling exit ...