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.000781/0.000781, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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 0.8765/0.8765, allocations: 177.2 MB / 200.2 MB, free: 5.957 MB / 186.7 MB " [Timeout remaining time 179] 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.001089/0.001089, allocations: 156.6 kB / 256.7 MB, free: 13.36 MB / 250.7 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.2574/0.2574, allocations: 80.37 MB / 393.5 MB, free: 2.375 MB / 314.7 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.443e-06/1.443e-06, allocations: 0 / 0.5561 GB, free: 12.14 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.831e-05/1.975e-05, allocations: 6.281 kB / 0.5561 GB, free: 12.14 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.004234/0.004254, allocations: 5.372 MB / 0.5614 GB, free: 6.734 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002173/0.006427, allocations: 1.798 MB / 0.5631 GB, free: 4.934 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002815/0.006709, allocations: 11.94 kB / 0.5632 GB, free: 4.922 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004902/0.007199, allocations: 214.1 kB / 0.5634 GB, free: 4.711 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001176/0.008375, allocations: 0.7589 MB / 0.5641 GB, free: 3.949 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006686/0.009044, allocations: 0.5644 MB / 0.5647 GB, free: 3.387 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008476/0.009891, allocations: 1.409 MB / 0.566 GB, free: 1.973 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002438/0.01014, allocations: 183.7 kB / 0.5662 GB, free: 1.781 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006153/0.01075, allocations: 0.787 MB / 0.567 GB, free: 0.9922 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004464/0.0112, allocations: 0.5101 MB / 0.5675 GB, free: 492 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 9.482e-05/0.01129, allocations: 96 kB / 0.5676 GB, free: 396 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002771/0.01157, allocations: 251.8 kB / 0.5678 GB, free: 144 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001702/0.01174, allocations: 266.8 kB / 0.5681 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002305/0.01197, allocations: 378.7 kB / 0.5684 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001002/0.01297, allocations: 1.44 MB / 0.5698 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.01297, allocations: 0 / 0.5698 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.593e-06/0.01298, allocations: 0 / 0.5698 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.124e-05/0.01299, allocations: 3.984 kB / 0.5698 GB, free: 14.06 MB / 0.4948 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.003869/0.01686, allocations: 2.317 MB / 0.5721 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.0169, allocations: 16.03 kB / 0.5721 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001602/0.0185, allocations: 0.5578 MB / 0.5727 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008434/0.01935, allocations: 0.7241 MB / 0.5734 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001828/0.01953, allocations: 290.9 kB / 0.5736 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-05/0.01962, allocations: 68 kB / 0.5737 GB, free: 9.957 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/0.02064, allocations: 0.8418 MB / 0.5745 GB, free: 9.105 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.02065, allocations: 0 / 0.5745 GB, free: 9.105 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.428e-05/0.02071, allocations: 27.98 kB / 0.5745 GB, free: 9.078 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.02072, allocations: 16 kB / 0.5746 GB, free: 9.062 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/0.02181, allocations: 0.8405 MB / 0.5754 GB, free: 8.223 MB / 0.4948 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.003025/0.02483, allocations: 2.283 MB / 0.5776 GB, free: 5.906 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003113/0.02795, allocations: 1.267 MB / 0.5789 GB, free: 4.629 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00066/0.02861, allocations: 499 kB / 0.5793 GB, free: 4.137 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.639e-05/0.02867, allocations: 16.64 kB / 0.5793 GB, free: 4.121 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000802/0.02947, allocations: 0.6172 MB / 0.5799 GB, free: 3.488 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=74): time 2.224e-06/0.02948, allocations: 0 / 0.5799 GB, free: 3.488 MB / 0.4948 GB Notification: Performance of matching and sorting (n=74): time 0.009444/0.03892, allocations: 4.529 MB / 0.5844 GB, free: 14.94 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/0.03897, allocations: 60.06 kB / 0.5844 GB, free: 14.87 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001199/0.04017, allocations: 0.9409 MB / 0.5853 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.535e-05/0.04023, allocations: 33.7 kB / 0.5854 GB, free: 13.87 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002501/0.04048, allocations: 484.8 kB / 0.5858 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002163/0.04069, allocations: 277.6 kB / 0.5861 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002083/0.0409, allocations: 174.6 kB / 0.5863 GB, free: 12.94 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.116e-05/0.04099, allocations: 341.9 kB / 0.5866 GB, free: 12.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007146/0.04171, allocations: 0.5485 MB / 0.5871 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007553/0.04246, allocations: 0.6594 MB / 0.5878 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008565/0.05103, allocations: 4.132 MB / 0.5918 GB, free: 7.195 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.05103, allocations: 0 / 0.5918 GB, free: 7.195 MB / 0.5105 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004459/0.05549, allocations: 2.812 MB / 0.5946 GB, free: 4.363 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.05551, allocations: 4 kB / 0.5946 GB, free: 4.359 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.05552, allocations: 4 kB / 0.5946 GB, free: 4.355 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002334/0.05786, allocations: 1.264 MB / 0.5958 GB, free: 3.086 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004298/0.05829, allocations: 183.7 kB / 0.596 GB, free: 2.906 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2259/0.2842, allocations: 5.424 MB / 0.6013 GB, free: 91.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008982/0.2851, allocations: 150.6 kB / 0.6014 GB, free: 91.45 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.998e-05/0.2852, allocations: 33.81 kB / 0.6014 GB, free: 91.45 MB / 0.5105 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 (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.0003235/0.2855, allocations: 243.3 kB / 0.6017 GB, free: 91.34 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.2856, allocations: 118.5 kB / 0.6018 GB, free: 91.34 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004202/0.2898, allocations: 2.632 MB / 0.6044 GB, free: 90.77 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.2898, allocations: 10.12 kB / 0.6044 GB, free: 90.77 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.2898, allocations: 0 / 0.6044 GB, free: 90.77 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.126e-06/0.2898, allocations: 10.17 kB / 0.6044 GB, free: 90.77 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00492/0.2947, allocations: 3.465 MB / 0.6078 GB, free: 89.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.2947, allocations: 0 / 0.6078 GB, free: 89.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002482/0.295, allocations: 87.31 kB / 0.6079 GB, free: 89.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002477/0.2975, allocations: 1.313 MB / 0.6091 GB, free: 89.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.614e-05/0.2975, allocations: 13.12 kB / 0.6091 GB, free: 89.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007652/0.3052, allocations: 5.742 MB / 0.6148 GB, free: 86.42 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3052, allocations: 0 / 0.6148 GB, free: 86.42 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005678/0.3108, allocations: 3.352 MB / 0.618 GB, free: 85.35 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001754/0.311, allocations: 129.6 kB / 0.6182 GB, free: 85.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.25e-05/0.3111, allocations: 16.55 kB / 0.6182 GB, free: 85.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004671/0.3116, allocations: 85.16 kB / 0.6182 GB, free: 85.25 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003187/0.3119, allocations: 165 kB / 0.6184 GB, free: 85.21 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-05/0.3119, allocations: 23.25 kB / 0.6184 GB, free: 85.21 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006583/0.3126, allocations: 0.6383 MB / 0.6191 GB, free: 84.94 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.3126, allocations: 3.281 kB / 0.6191 GB, free: 84.94 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008387/0.3134, allocations: 358.4 kB / 0.6194 GB, free: 84.89 MB / 0.5105 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.0002246/0.3136, allocations: 127.6 kB / 0.6195 GB, free: 84.79 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00298/0.3166, allocations: 1.698 MB / 0.6212 GB, free: 84.19 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3166, allocations: 0.5625 kB / 0.6212 GB, free: 84.19 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001923/0.3186, allocations: 1.096 MB / 0.6222 GB, free: 83.77 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004653/0.319, allocations: 90.02 kB / 0.6223 GB, free: 83.71 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002302/0.3213, allocations: 1.799 MB / 0.6241 GB, free: 82.76 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004136/0.3217, allocations: 464.9 kB / 0.6245 GB, free: 82.62 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000192/0.3219, allocations: 68.44 kB / 0.6246 GB, free: 82.62 MB / 0.5105 GB Notification: Performance of SimCode: time 1.352e-06/0.3219, allocations: 1.281 kB / 0.6246 GB, free: 82.62 MB / 0.5105 GB Notification: Performance of Templates: time 0.01666/0.3386, allocations: 22.39 MB / 0.6465 GB, free: 71.64 MB / 0.5105 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: 5.711096458137035] Failed to read output from testmodel.py, exit status != 0: 0.3438537558540702 0.349030788 0.33483943899999996 Calling exit ...