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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test") translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 107.3 kB / 16.41 MB, free: 6.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 222.9 MB / 240.1 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 200.4 kB / 290.4 MB, free: 2.055 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5369/0.5369, allocations: 91.89 MB / 432.4 MB, free: 9.152 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 78.75 kB / 0.5733 GB, free: 33.77 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1628, allocations: 71.29 MB / 0.643 GB, free: 3.719 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.007865/0.1707, allocations: 6.024 MB / 0.6488 GB, free: 13.66 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004572/0.1754, allocations: 1.841 MB / 0.6506 GB, free: 11.82 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001198/0.1766, allocations: 12 kB / 0.6507 GB, free: 11.81 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001123/0.1777, allocations: 210.2 kB / 0.6509 GB, free: 11.6 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002729/0.1805, allocations: 0.7131 MB / 0.6516 GB, free: 10.89 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001548/0.1821, allocations: 0.5338 MB / 0.6521 GB, free: 10.36 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002519/0.1846, allocations: 1.425 MB / 0.6535 GB, free: 8.926 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006211/0.1853, allocations: 295.2 kB / 0.6537 GB, free: 8.625 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001124/0.1864, allocations: 0.5602 MB / 0.6543 GB, free: 8.062 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001184/0.1876, allocations: 0.6532 MB / 0.6549 GB, free: 7.406 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003923/0.188, allocations: 100 kB / 0.655 GB, free: 7.309 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000887/0.1889, allocations: 227.9 kB / 0.6552 GB, free: 7.086 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004252/0.1894, allocations: 266.8 kB / 0.6555 GB, free: 6.824 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009384/0.1903, allocations: 0.567 MB / 0.6561 GB, free: 6.254 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002317/0.1926, allocations: 1.393 MB / 0.6574 GB, free: 4.855 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.1927, allocations: 0 / 0.6574 GB, free: 4.855 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.1927, allocations: 4 kB / 0.6574 GB, free: 4.852 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.498e-05/0.1928, allocations: 0 / 0.6574 GB, free: 4.852 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.008508/0.2013, allocations: 2.228 MB / 0.6596 GB, free: 2.57 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.2013, allocations: 8.031 kB / 0.6596 GB, free: 2.562 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003841/0.2052, allocations: 0.561 MB / 0.6601 GB, free: 2 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002108/0.2073, allocations: 0.7914 MB / 0.6609 GB, free: 1.152 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003262/0.2077, allocations: 205.8 kB / 0.6611 GB, free: 0.918 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002414/0.2079, allocations: 68 kB / 0.6612 GB, free: 0.8516 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002229/0.2102, allocations: 0.834 MB / 0.662 GB, free: 12 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.2102, allocations: 0 / 0.662 GB, free: 12 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001112/0.2103, allocations: 24.05 kB / 0.662 GB, free: 15.98 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.245e-05/0.2104, allocations: 19.94 kB / 0.662 GB, free: 15.96 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002022/0.2124, allocations: 0.8522 MB / 0.6629 GB, free: 15.12 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.007015/0.2194, allocations: 3.035 MB / 0.6658 GB, free: 11.95 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006841/0.2263, allocations: 1.716 MB / 0.6675 GB, free: 10.13 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001334/0.2277, allocations: 0.542 MB / 0.668 GB, free: 9.586 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001171/0.2278, allocations: 20.58 kB / 0.6681 GB, free: 9.566 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001645/0.2295, allocations: 0.6172 MB / 0.6687 GB, free: 8.934 MB / 478.1 MB Notification: Performance of pre-optimization done (n=74): time 4.048e-06/0.2295, allocations: 0 / 0.6687 GB, free: 8.934 MB / 478.1 MB Notification: Performance of matching and sorting (n=74): time 0.01999/0.2495, allocations: 4.702 MB / 0.6733 GB, free: 4.18 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.463e-05/0.2496, allocations: 60.06 kB / 0.6733 GB, free: 4.109 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001913/0.2515, allocations: 0.9738 MB / 0.6743 GB, free: 3.117 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002228/0.2518, allocations: 37.7 kB / 0.6743 GB, free: 3.074 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005033/0.2523, allocations: 468.2 kB / 0.6747 GB, free: 2.609 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004413/0.2527, allocations: 268.2 kB / 0.675 GB, free: 2.344 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005042/0.2533, allocations: 178.5 kB / 0.6752 GB, free: 2.16 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002981/0.2536, allocations: 341.9 kB / 0.6755 GB, free: 1.82 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001292/0.2549, allocations: 0.5524 MB / 0.676 GB, free: 1.27 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00138/0.2563, allocations: 0.6633 MB / 0.6767 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01793/0.2742, allocations: 4.046 MB / 0.6806 GB, free: 12.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/0.2743, allocations: 0 / 0.6806 GB, free: 12.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.009741/0.284, allocations: 2.839 MB / 0.6834 GB, free: 9.641 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.395e-05/0.2841, allocations: 8 kB / 0.6834 GB, free: 9.633 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.2841, allocations: 0 / 0.6834 GB, free: 9.633 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005028/0.2891, allocations: 1.273 MB / 0.6847 GB, free: 8.355 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/0.2903, allocations: 187.7 kB / 0.6848 GB, free: 8.172 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01332/0.3036, allocations: 5.685 MB / 0.6904 GB, free: 2.348 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00162/0.3053, allocations: 147 kB / 0.6905 GB, free: 2.203 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002197/0.3055, allocations: 32 kB / 0.6906 GB, free: 2.172 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.0006869/0.3062, allocations: 237.6 kB / 0.6908 GB, free: 1.93 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003492/0.3066, allocations: 110.6 kB / 0.6909 GB, free: 1.82 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009229/0.3158, allocations: 2.657 MB / 0.6935 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-05/0.3159, allocations: 12 kB / 0.6935 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.3159, allocations: 4 kB / 0.6935 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.945e-05/0.3159, allocations: 3.984 kB / 0.6935 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01143/0.3273, allocations: 4.027 MB / 0.6974 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.429e-05/0.3274, allocations: 0 / 0.6974 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006058/0.328, allocations: 91.83 kB / 0.6975 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005134/0.3332, allocations: 1.318 MB / 0.6988 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000174/0.3334, allocations: 16 kB / 0.6988 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01418/0.3476, allocations: 6.008 MB / 0.7047 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.3476, allocations: 0 / 0.7047 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01071/0.3583, allocations: 3.361 MB / 0.708 GB, free: 12 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004727/0.3589, allocations: 211.5 kB / 0.7082 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003407/0.3592, allocations: 23.92 kB / 0.7082 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/0.3604, allocations: 79.91 kB / 0.7083 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005713/0.361, allocations: 156.4 kB / 0.7084 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/0.3611, allocations: 20 kB / 0.7084 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001254/0.3623, allocations: 0.6631 MB / 0.7091 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3624, allocations: 0 / 0.7091 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001426/0.3638, allocations: 347.7 kB / 0.7094 GB, free: 14.5 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.0003406/0.3641, allocations: 131.3 kB / 0.7095 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00537/0.3695, allocations: 1.882 MB / 0.7114 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.3696, allocations: 0 / 0.7114 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003655/0.3732, allocations: 1.203 MB / 0.7126 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/0.3744, allocations: 100.3 kB / 0.7127 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004114/0.3786, allocations: 1.822 MB / 0.7144 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008069/0.3794, allocations: 1.049 MB / 0.7155 GB, free: 8.18 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003817/0.3798, allocations: 71.42 kB / 0.7155 GB, free: 8.109 MB / 0.5137 GB Notification: Performance of SimCode: time 1.503e-06/0.3798, allocations: 4 kB / 0.7155 GB, free: 8.105 MB / 0.5137 GB Notification: Performance of Templates: time 0.03133/0.4112, allocations: 21.89 MB / 0.7369 GB, free: 2.199 MB / 0.5294 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.makefile (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)