Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.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.0007919/0.0007919, allocations: 72.19 kB / 9.876 MB, free: 0.8125 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001185/0.001977, allocations: 443.8 kB / 10.31 MB, free: 388 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.009/1.009, allocations: 158.6 MB / 169.6 MB, free: 2.781 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1725/1.181, allocations: 49.5 MB / 219.1 MB, free: 5.555 MB / 218.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.0009136/0.0009136, allocations: 156.5 kB / 220 MB, free: 4.668 MB / 218.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001167/0.00208, allocations: 484.2 kB / 220.5 MB, free: 4.195 MB / 218.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-beta.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-beta.1/package.mo): time 0.1521/0.1521, allocations: 32.51 MB / 253.7 MB, free: 2.934 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02725/0.1793, allocations: 10.85 MB / 264.6 MB, free: 8.043 MB / 266.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 2.0.0-beta.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-beta.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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Examples.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.FACTS.TCSC_Test") translateModel(OpenIPSL.Examples.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.FACTS.TCSC_Test") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 265.8 MB, free: 6.793 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.583e-05/2.721e-05, allocations: 10.19 kB / 265.9 MB, free: 6.781 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.FACTS.TCSC_Test): time 0.01001/0.01004, allocations: 5.773 MB / 271.6 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01015/0.02018, allocations: 1.849 MB / 273.5 MB, free: 15.12 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008029/0.02098, allocations: 15.94 kB / 273.5 MB, free: 15.1 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006058/0.02159, allocations: 218.1 kB / 273.7 MB, free: 14.89 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0049/0.02649, allocations: 0.7645 MB / 274.5 MB, free: 14.12 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001199/0.02769, allocations: 0.5534 MB / 275 MB, free: 13.56 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004685/0.03237, allocations: 1.401 MB / 276.4 MB, free: 12.16 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003397/0.03271, allocations: 205.6 kB / 276.6 MB, free: 11.94 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00119/0.0339, allocations: 0.9432 MB / 277.6 MB, free: 10.98 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003617/0.03752, allocations: 0.5179 MB / 278.1 MB, free: 10.46 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001706/0.03769, allocations: 100 kB / 278.2 MB, free: 10.36 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005137/0.03821, allocations: 239.8 kB / 278.4 MB, free: 10.12 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001924/0.0384, allocations: 187.2 kB / 278.6 MB, free: 9.941 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003524/0.03875, allocations: 295.2 kB / 278.9 MB, free: 9.652 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001163/0.03991, allocations: 0.9376 MB / 279.8 MB, free: 8.711 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.58e-05/0.03993, allocations: 0 / 279.8 MB, free: 8.711 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.03993, allocations: 4 kB / 279.8 MB, free: 8.707 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.816e-05/0.03995, allocations: 0 / 279.8 MB, free: 8.707 MB / 282.7 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.01066/0.05061, allocations: 2.447 MB / 282.3 MB, free: 6.211 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.05064, allocations: 8.031 kB / 282.3 MB, free: 6.203 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002446/0.05309, allocations: 0.691 MB / 283 MB, free: 5.512 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006931/0.05378, allocations: 0.5492 MB / 283.5 MB, free: 4.918 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001481/0.05393, allocations: 286.9 kB / 283.8 MB, free: 4.59 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.562e-05/0.05401, allocations: 64 kB / 283.9 MB, free: 4.527 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00054/0.05455, allocations: 489 kB / 284.3 MB, free: 4.039 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.05456, allocations: 3.938 kB / 284.3 MB, free: 4.035 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.169e-05/0.0546, allocations: 28 kB / 284.4 MB, free: 4.008 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.05461, allocations: 16 kB / 284.4 MB, free: 3.992 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00036/0.05497, allocations: 258.2 kB / 284.6 MB, free: 3.738 MB / 282.7 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.002211/0.05718, allocations: 1.396 MB / 286 MB, free: 2.32 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001906/0.05909, allocations: 0.8145 MB / 286.9 MB, free: 1.496 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000206/0.05929, allocations: 171.2 kB / 287 MB, free: 1.324 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.786e-05/0.05935, allocations: 12.66 kB / 287 MB, free: 1.312 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005906/0.05994, allocations: 319 kB / 287.3 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of pre-optimization done (n=74): time 2.164e-06/0.05994, allocations: 0 / 287.3 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of matching and sorting (n=74): time 0.006021/0.06596, allocations: 2.897 MB / 290.2 MB, free: 14.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/0.06599, allocations: 60.06 kB / 290.3 MB, free: 14 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000509/0.0665, allocations: 0.7629 MB / 291.1 MB, free: 13.22 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.044e-05/0.06655, allocations: 37.7 kB / 291.1 MB, free: 13.18 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.06671, allocations: 342.6 kB / 291.4 MB, free: 12.84 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001517/0.06686, allocations: 281.6 kB / 291.7 MB, free: 12.56 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001945/0.06705, allocations: 182.4 kB / 291.9 MB, free: 12.37 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.881e-05/0.06713, allocations: 345.9 kB / 292.2 MB, free: 12.03 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003144/0.06745, allocations: 216.8 kB / 292.4 MB, free: 11.82 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003436/0.06779, allocations: 335.3 kB / 292.8 MB, free: 11.46 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.0688, allocations: 0.8934 MB / 293.7 MB, free: 10.54 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.0688, allocations: 0 / 293.7 MB, free: 10.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002984/0.07178, allocations: 1.667 MB / 295.3 MB, free: 8.852 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.0718, allocations: 12 kB / 295.3 MB, free: 8.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.07181, allocations: 0 / 295.3 MB, free: 8.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002785/0.07459, allocations: 1.145 MB / 296.5 MB, free: 7.688 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005938/0.07519, allocations: 239.6 kB / 296.7 MB, free: 7.453 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003189/0.07838, allocations: 2.66 MB / 299.4 MB, free: 4.691 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005571/0.07893, allocations: 127.3 kB / 299.5 MB, free: 4.566 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.477e-05/0.07898, allocations: 27.98 kB / 299.5 MB, free: 4.539 MB / 298.7 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 (101): * Single equations (assignments): 99 * 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.0002285/0.07921, allocations: 157 kB / 299.7 MB, free: 4.375 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.07931, allocations: 87.91 kB / 299.8 MB, free: 4.289 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002547/0.08186, allocations: 1.547 MB / 301.3 MB, free: 2.723 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.08186, allocations: 8 kB / 301.3 MB, free: 2.715 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.08186, allocations: 0 / 301.3 MB, free: 2.715 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.08187, allocations: 7.984 kB / 301.3 MB, free: 2.707 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003232/0.0851, allocations: 2.048 MB / 303.4 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.08511, allocations: 8 kB / 303.4 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002567/0.08536, allocations: 99.88 kB / 303.5 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.08547, allocations: 103.2 kB / 303.6 MB, free: 432 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003399/0.08887, allocations: 1.32 MB / 304.9 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001828/0.08905, allocations: 19.98 kB / 304.9 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004648/0.0937, allocations: 2.98 MB / 307.9 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.0937, allocations: 0 / 307.9 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004252/0.09795, allocations: 1.786 MB / 309.7 MB, free: 10.19 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001481/0.0981, allocations: 16 kB / 309.7 MB, free: 10.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005019/0.0986, allocations: 63.88 kB / 309.8 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000318/0.09892, allocations: 156.4 kB / 309.9 MB, free: 9.957 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.36e-05/0.09897, allocations: 15.98 kB / 309.9 MB, free: 9.941 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003856/0.09935, allocations: 388.2 kB / 310.3 MB, free: 9.551 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.09935, allocations: 0 / 310.3 MB, free: 9.551 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008302/0.1002, allocations: 359.7 kB / 310.7 MB, free: 9.199 MB / 314.7 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.0001892/0.1004, allocations: 112.2 kB / 310.8 MB, free: 9.082 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002064/0.1024, allocations: 1.027 MB / 311.8 MB, free: 8.035 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.326e-05/0.1024, allocations: 8 kB / 311.8 MB, free: 8.027 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001598/0.104, allocations: 0.7393 MB / 312.5 MB, free: 7.27 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006208/0.1047, allocations: 187 kB / 312.7 MB, free: 7.082 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01246/0.1171, allocations: 1.667 MB / 314.4 MB, free: 5.379 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001832/0.1173, allocations: 205.2 kB / 314.6 MB, free: 5.152 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003272/0.1176, allocations: 94.67 kB / 314.7 MB, free: 5.055 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002798/0.1179, allocations: 151.4 kB / 314.8 MB, free: 4.906 MB / 314.7 MB Notification: Performance of SimCode: time 1.172e-06/0.1179, allocations: 0 / 314.8 MB, free: 4.906 MB / 314.7 MB Notification: Performance of Templates: time 0.02903/0.147, allocations: 20.24 MB / 335.1 MB, free: 0.6172 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.FACTS.TCSC_Test.makefile [Timeout 660] (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.FACTS.TCSC_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.FACTS.TCSC_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.FACTS.TCSC_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.FACTS.TCSC_Test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.FACTS.TCSC_Test -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.FACTS.TCSC_Test.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.328001477755606]