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.000827/0.000827, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.274/1.274, allocations: 223.3 MB / 239 MB, free: 5.594 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.001011/0.001012, allocations: 172.5 kB / 290.3 MB, free: 2.293 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4879/0.4879, allocations: 91.92 MB / 433.3 MB, free: 10.39 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003792/0.0003793, allocations: 8 kB / 0.5042 GB, free: 7.66 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3002/0.3006, allocations: 72.48 MB / 0.5749 GB, free: 36.39 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.003748/0.3044, allocations: 5.536 MB / 0.5803 GB, free: 32.95 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002318/0.3067, allocations: 1.783 MB / 0.5821 GB, free: 31.68 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003405/0.3071, allocations: 14.09 kB / 0.5821 GB, free: 31.68 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004206/0.3075, allocations: 153.2 kB / 0.5822 GB, free: 31.61 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001094/0.3086, allocations: 0.5802 MB / 0.5828 GB, free: 31.23 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000782/0.3094, allocations: 458.7 kB / 0.5832 GB, free: 31 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008941/0.3103, allocations: 1.269 MB / 0.5845 GB, free: 30.36 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003169/0.3106, allocations: 219.4 kB / 0.5847 GB, free: 30.27 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004829/0.3111, allocations: 495.8 kB / 0.5852 GB, free: 30.06 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004954/0.3116, allocations: 0.5756 MB / 0.5857 GB, free: 29.81 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.42e-05/0.3117, allocations: 47.19 kB / 0.5858 GB, free: 29.81 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003107/0.3121, allocations: 173.6 kB / 0.5859 GB, free: 29.77 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001493/0.3122, allocations: 209.4 kB / 0.5861 GB, free: 29.66 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001399/0.3124, allocations: 204.7 kB / 0.5863 GB, free: 29.52 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006639/0.313, allocations: 1.021 MB / 0.5873 GB, free: 29.21 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.313, allocations: 0 / 0.5873 GB, free: 29.21 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3131, allocations: 1.469 kB / 0.5873 GB, free: 29.21 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.3131, allocations: 0 / 0.5873 GB, free: 29.21 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.005426/0.3185, allocations: 2.088 MB / 0.5894 GB, free: 28.26 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.3185, allocations: 9.375 kB / 0.5894 GB, free: 28.26 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003166/0.3217, allocations: 0.5552 MB / 0.5899 GB, free: 28.14 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/0.3228, allocations: 0.7424 MB / 0.5907 GB, free: 27.65 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001908/0.323, allocations: 218.6 kB / 0.5909 GB, free: 27.46 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.3231, allocations: 66.84 kB / 0.5909 GB, free: 27.44 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001508/0.3246, allocations: 0.8767 MB / 0.5918 GB, free: 27.12 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.3247, allocations: 0 / 0.5918 GB, free: 27.12 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.518e-05/0.3247, allocations: 32.81 kB / 0.5918 GB, free: 27.1 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.628e-05/0.3248, allocations: 14.84 kB / 0.5918 GB, free: 27.1 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001624/0.3264, allocations: 0.909 MB / 0.5927 GB, free: 26.81 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.004545/0.331, allocations: 3.102 MB / 0.5957 GB, free: 25.09 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005425/0.3364, allocations: 1.978 MB / 0.5977 GB, free: 24.24 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001059/0.3375, allocations: 0.5922 MB / 0.5983 GB, free: 24.02 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.946e-05/0.3376, allocations: 17.83 kB / 0.5983 GB, free: 24.01 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001203/0.3388, allocations: 0.6615 MB / 0.5989 GB, free: 23.77 MB / 430.1 MB Notification: Performance of pre-optimization done (n=74): time 2.495e-06/0.3388, allocations: 1.219 kB / 0.5989 GB, free: 23.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.01754/0.3563, allocations: 5.588 MB / 0.6044 GB, free: 22.59 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.3564, allocations: 58.94 kB / 0.6044 GB, free: 22.53 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001682/0.3581, allocations: 0.9553 MB / 0.6054 GB, free: 22.14 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001441/0.3583, allocations: 45.92 kB / 0.6054 GB, free: 22.09 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002919/0.3586, allocations: 467.3 kB / 0.6059 GB, free: 21.72 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002553/0.3588, allocations: 276.6 kB / 0.6061 GB, free: 21.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.194e-05/0.3589, allocations: 16.97 kB / 0.6061 GB, free: 21.49 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.035e-05/0.359, allocations: 345.9 kB / 0.6065 GB, free: 21.16 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001161/0.3601, allocations: 0.5986 MB / 0.607 GB, free: 20.95 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001235/0.3614, allocations: 0.7177 MB / 0.6077 GB, free: 20.64 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001252/0.3627, allocations: 0.6419 MB / 0.6084 GB, free: 20.37 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.3627, allocations: 0 / 0.6084 GB, free: 20.37 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.009329/0.372, allocations: 3.317 MB / 0.6116 GB, free: 19.52 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.372, allocations: 5.531 kB / 0.6116 GB, free: 19.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.3721, allocations: 7.969 kB / 0.6116 GB, free: 19.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0048/0.3769, allocations: 1.483 MB / 0.6131 GB, free: 19.26 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/0.3779, allocations: 195.7 kB / 0.6133 GB, free: 19.24 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01142/0.3893, allocations: 5.726 MB / 0.6189 GB, free: 16.08 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/0.3908, allocations: 181.8 kB / 0.619 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001556/0.391, allocations: 35.66 kB / 0.6191 GB, free: 15.9 MB / 430.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 ($whenCondition1,$whenCondition2) * 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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {14 8} Notification: Performance of prepare postOptimizeDAE: time 0.000492/0.3915, allocations: 236.8 kB / 0.6193 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002426/0.3917, allocations: 110.6 kB / 0.6194 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007611/0.3993, allocations: 3.16 MB / 0.6225 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.3994, allocations: 8 kB / 0.6225 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3994, allocations: 0 / 0.6225 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.3994, allocations: 11.86 kB / 0.6225 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008646/0.408, allocations: 4.517 MB / 0.6269 GB, free: 7.926 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.461e-06/0.4081, allocations: 4 kB / 0.6269 GB, free: 7.922 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004504/0.4085, allocations: 103.8 kB / 0.627 GB, free: 7.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004222/0.4128, allocations: 1.526 MB / 0.6285 GB, free: 6.289 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-05/0.4128, allocations: 19.98 kB / 0.6285 GB, free: 6.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009925/0.4228, allocations: 5.881 MB / 0.6343 GB, free: 256 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4228, allocations: 0 / 0.6343 GB, free: 256 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009183/0.432, allocations: 3.93 MB / 0.6381 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003125/0.4323, allocations: 199.7 kB / 0.6383 GB, free: 12.08 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001732/0.4325, allocations: 20 kB / 0.6383 GB, free: 12.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008888/0.4334, allocations: 115.9 kB / 0.6384 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003677/0.4338, allocations: 156.4 kB / 0.6386 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.819e-05/0.4338, allocations: 20 kB / 0.6386 GB, free: 11.78 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009181/0.4348, allocations: 0.6475 MB / 0.6392 GB, free: 11.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4348, allocations: 3.938 kB / 0.6392 GB, free: 11.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001058/0.4358, allocations: 347.7 kB / 0.6396 GB, free: 10.78 MB / 446.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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {15 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002098/0.436, allocations: 133.6 kB / 0.6397 GB, free: 10.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004502/0.4406, allocations: 2.031 MB / 0.6417 GB, free: 8.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4406, allocations: 0 / 0.6417 GB, free: 8.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003066/0.4436, allocations: 1.34 MB / 0.643 GB, free: 7.191 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008262/0.4445, allocations: 98.61 kB / 0.6431 GB, free: 7.098 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003284/0.4478, allocations: 2.092 MB / 0.6451 GB, free: 4.984 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006034/0.4484, allocations: 1.038 MB / 0.6461 GB, free: 3.918 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003996/0.4488, allocations: 102.7 kB / 0.6462 GB, free: 3.812 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002113/0.449, allocations: 63.42 kB / 0.6463 GB, free: 3.75 MB / 446.1 MB Notification: Performance of SimCode: time 5.61e-07/0.449, allocations: 0 / 0.6463 GB, free: 3.75 MB / 446.1 MB Notification: Performance of Templates: time 0.0251/0.4741, allocations: 16.1 MB / 0.662 GB, free: 3.688 MB / 462.1 MB 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)