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.001275/0.001275, allocations: 105 kB / 16.35 MB, free: 5.824 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.27/1.27, allocations: 222.9 MB / 240 MB, free: 4.496 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.001247/0.001247, allocations: 200.4 kB / 290.3 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4675/0.4675, allocations: 91.89 MB / 432.4 MB, free: 9.145 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 87.86 kB / 0.5033 GB, free: 6.945 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3041, allocations: 71.25 MB / 0.5729 GB, free: 36.97 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.005058/0.3092, allocations: 6.023 MB / 0.5787 GB, free: 33.48 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003072/0.3123, allocations: 1.848 MB / 0.5805 GB, free: 32.17 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000501/0.3128, allocations: 12.06 kB / 0.5806 GB, free: 32.17 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005064/0.3134, allocations: 211.5 kB / 0.5808 GB, free: 32.06 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00129/0.3147, allocations: 0.7122 MB / 0.5815 GB, free: 31.59 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009025/0.3156, allocations: 0.5449 MB / 0.582 GB, free: 31.31 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009974/0.3166, allocations: 1.42 MB / 0.5834 GB, free: 30.61 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003356/0.3169, allocations: 281.5 kB / 0.5836 GB, free: 30.5 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004824/0.3174, allocations: 0.5616 MB / 0.5842 GB, free: 30.22 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005174/0.318, allocations: 0.6499 MB / 0.5848 GB, free: 29.9 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001236/0.3181, allocations: 97.06 kB / 0.5849 GB, free: 29.9 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003553/0.3184, allocations: 236.9 kB / 0.5851 GB, free: 29.86 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001792/0.3186, allocations: 265.3 kB / 0.5854 GB, free: 29.69 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003194/0.319, allocations: 0.5662 MB / 0.586 GB, free: 29.3 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008848/0.3199, allocations: 1.393 MB / 0.5873 GB, free: 28.68 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.3199, allocations: 0 / 0.5873 GB, free: 28.68 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3199, allocations: 0 / 0.5873 GB, free: 28.68 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.3199, allocations: 1.219 kB / 0.5873 GB, free: 28.68 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.005963/0.3259, allocations: 2.239 MB / 0.5895 GB, free: 27.59 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.3259, allocations: 9.312 kB / 0.5895 GB, free: 27.59 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003154/0.3291, allocations: 0.554 MB / 0.59 GB, free: 27.47 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/0.3302, allocations: 0.7975 MB / 0.5908 GB, free: 26.92 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001878/0.3304, allocations: 210.1 kB / 0.591 GB, free: 26.74 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/0.3305, allocations: 63.72 kB / 0.5911 GB, free: 26.72 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001439/0.3319, allocations: 0.8358 MB / 0.5919 GB, free: 26.41 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.332, allocations: 0 / 0.5919 GB, free: 26.41 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.879e-05/0.332, allocations: 25.56 kB / 0.5919 GB, free: 26.39 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/0.3321, allocations: 18.25 kB / 0.5919 GB, free: 26.38 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001549/0.3336, allocations: 0.8495 MB / 0.5928 GB, free: 26.1 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.004484/0.3381, allocations: 3.031 MB / 0.5957 GB, free: 24.4 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005521/0.3436, allocations: 1.715 MB / 0.5974 GB, free: 23.57 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001026/0.3447, allocations: 0.5475 MB / 0.5979 GB, free: 23.36 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.226e-05/0.3448, allocations: 17.2 kB / 0.598 GB, free: 23.35 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001139/0.3459, allocations: 0.6226 MB / 0.5986 GB, free: 23.11 MB / 430.1 MB Notification: Performance of pre-optimization done (n=74): time 2.865e-06/0.3459, allocations: 0 / 0.5986 GB, free: 23.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.01748/0.3634, allocations: 4.702 MB / 0.6032 GB, free: 22.03 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.3635, allocations: 59.97 kB / 0.6032 GB, free: 21.96 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001452/0.365, allocations: 0.9714 MB / 0.6042 GB, free: 21.56 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001227/0.3651, allocations: 40.45 kB / 0.6042 GB, free: 21.52 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002577/0.3654, allocations: 469.2 kB / 0.6047 GB, free: 21.14 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002013/0.3656, allocations: 264.8 kB / 0.6049 GB, free: 20.94 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003112/0.3659, allocations: 178.8 kB / 0.6051 GB, free: 20.85 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.914e-05/0.366, allocations: 341.9 kB / 0.6054 GB, free: 20.53 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001041/0.367, allocations: 0.5542 MB / 0.6059 GB, free: 20.32 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001101/0.3681, allocations: 0.6699 MB / 0.6066 GB, free: 20.01 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01568/0.3838, allocations: 4.038 MB / 0.6105 GB, free: 18.92 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.3838, allocations: 0 / 0.6105 GB, free: 18.92 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.008015/0.3919, allocations: 2.84 MB / 0.6133 GB, free: 18.12 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.3919, allocations: 9.188 kB / 0.6133 GB, free: 18.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.3919, allocations: 2.375 kB / 0.6133 GB, free: 18.12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004175/0.3961, allocations: 1.265 MB / 0.6146 GB, free: 17.67 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009964/0.3971, allocations: 190.2 kB / 0.6147 GB, free: 17.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01099/0.4081, allocations: 5.683 MB / 0.6203 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001409/0.4096, allocations: 151 kB / 0.6204 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.679e-05/0.4097, allocations: 35.98 kB / 0.6205 GB, free: 13.11 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 ($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.0003953/0.4101, allocations: 233.6 kB / 0.6207 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001575/0.4103, allocations: 110.6 kB / 0.6208 GB, free: 12.76 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007129/0.4174, allocations: 2.657 MB / 0.6234 GB, free: 10.08 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.4174, allocations: 8 kB / 0.6234 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.4174, allocations: 0 / 0.6234 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/0.4175, allocations: 3.984 kB / 0.6234 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008374/0.4258, allocations: 4.023 MB / 0.6273 GB, free: 5.938 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.4259, allocations: 0 / 0.6273 GB, free: 5.938 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004567/0.4263, allocations: 99.81 kB / 0.6274 GB, free: 5.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004018/0.4304, allocations: 1.322 MB / 0.6287 GB, free: 4.512 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.273e-05/0.4305, allocations: 12 kB / 0.6287 GB, free: 4.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01075/0.4412, allocations: 6.013 MB / 0.6346 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.4413, allocations: 4 kB / 0.6346 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009268/0.4505, allocations: 3.365 MB / 0.6379 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004004/0.451, allocations: 207.6 kB / 0.6381 GB, free: 10.72 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001426/0.4511, allocations: 15.94 kB / 0.6381 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000911/0.452, allocations: 83.89 kB / 0.6382 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000475/0.4525, allocations: 152.4 kB / 0.6383 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.731e-05/0.4526, allocations: 28 kB / 0.6384 GB, free: 10.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009803/0.4536, allocations: 0.6553 MB / 0.639 GB, free: 9.785 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4536, allocations: 0 / 0.639 GB, free: 9.785 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001116/0.4547, allocations: 351.7 kB / 0.6393 GB, free: 9.441 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 (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.0002713/0.455, allocations: 127.1 kB / 0.6395 GB, free: 9.309 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004449/0.4595, allocations: 1.875 MB / 0.6413 GB, free: 7.395 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.4595, allocations: 0 / 0.6413 GB, free: 7.395 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003057/0.4626, allocations: 1.215 MB / 0.6425 GB, free: 6.141 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007725/0.4633, allocations: 96.34 kB / 0.6426 GB, free: 6.043 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003066/0.4664, allocations: 1.779 MB / 0.6443 GB, free: 4.242 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005332/0.467, allocations: 1.049 MB / 0.6453 GB, free: 3.164 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003193/0.4673, allocations: 98.69 kB / 0.6454 GB, free: 3.062 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002064/0.4675, allocations: 63.42 kB / 0.6455 GB, free: 3 MB / 446.1 MB Notification: Performance of SimCode: time 9.01e-07/0.4675, allocations: 0 / 0.6455 GB, free: 3 MB / 446.1 MB Notification: Performance of Templates: time 0.02653/0.4941, allocations: 18.75 MB / 0.6638 GB, free: 288 kB / 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 -s cvode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1)