Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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_release_OpenIPSL.Tests.FACTS.TCSC_Test") translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00477/0.00477, allocations: 170.1 kB / 15.12 MB, free: 5.562 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 223.2 MB / 239 MB, free: 1.785 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008761/0.0008759, allocations: 99.7 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4966/0.4966, allocations: 78.58 MB / 419.9 MB, free: 44.19 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004008/0.0004009, allocations: 12 kB / 499.8 MB, free: 2.945 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3732/0.3736, allocations: 69.35 MB / 0.5558 GB, free: 38.57 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.005057/0.3787, allocations: 5.247 MB / 0.5609 GB, free: 37.89 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003236/0.382, allocations: 1.819 MB / 0.5627 GB, free: 36.6 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005403/0.3825, allocations: 14.97 kB / 0.5627 GB, free: 36.6 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005792/0.3831, allocations: 149.1 kB / 0.5628 GB, free: 36.54 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001449/0.3846, allocations: 0.6492 MB / 0.5634 GB, free: 36.09 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009985/0.3856, allocations: 454.3 kB / 0.5639 GB, free: 35.87 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001068/0.3867, allocations: 0.8827 MB / 0.5647 GB, free: 35.39 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003322/0.387, allocations: 227.4 kB / 0.565 GB, free: 35.29 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006354/0.3877, allocations: 0.4998 MB / 0.5654 GB, free: 35.05 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006659/0.3883, allocations: 0.5657 MB / 0.566 GB, free: 34.8 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001168/0.3885, allocations: 49.06 kB / 0.566 GB, free: 34.8 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004035/0.3889, allocations: 158.8 kB / 0.5662 GB, free: 34.77 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001722/0.3891, allocations: 204.7 kB / 0.5664 GB, free: 34.66 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001656/0.3892, allocations: 204.7 kB / 0.5666 GB, free: 34.52 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000837/0.3901, allocations: 0.991 MB / 0.5676 GB, free: 34.23 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.155e-06/0.3901, allocations: 0 / 0.5676 GB, free: 34.23 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3901, allocations: 1.094 kB / 0.5676 GB, free: 34.23 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.515e-05/0.3901, allocations: 4 kB / 0.5676 GB, free: 34.23 MB / 426.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.006368/0.3965, allocations: 2.099 MB / 0.5696 GB, free: 33.25 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.3965, allocations: 8.25 kB / 0.5696 GB, free: 33.25 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003265/0.3998, allocations: 0.5502 MB / 0.5702 GB, free: 33.14 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001293/0.4011, allocations: 0.7398 MB / 0.5709 GB, free: 32.65 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002122/0.4014, allocations: 223.5 kB / 0.5711 GB, free: 32.46 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.4015, allocations: 64.34 kB / 0.5712 GB, free: 32.44 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00156/0.403, allocations: 0.8709 MB / 0.572 GB, free: 32.12 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.4031, allocations: 3.938 kB / 0.572 GB, free: 32.12 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.82e-05/0.4031, allocations: 32.56 kB / 0.572 GB, free: 32.09 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.4032, allocations: 13.69 kB / 0.5721 GB, free: 32.09 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001642/0.4048, allocations: 0.9073 MB / 0.5729 GB, free: 31.81 MB / 426.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.004902/0.4097, allocations: 3.299 MB / 0.5762 GB, free: 29.84 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006084/0.4158, allocations: 1.978 MB / 0.5781 GB, free: 28.99 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.74e-05/0.4159, allocations: 14.52 kB / 0.5781 GB, free: 28.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001263/0.4172, allocations: 0.663 MB / 0.5788 GB, free: 28.75 MB / 426.7 MB Notification: Performance of pre-optimization done (n=74): time 3.677e-06/0.4172, allocations: 0 / 0.5788 GB, free: 28.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=74): time 0.01825/0.4355, allocations: 5.577 MB / 0.5842 GB, free: 27.57 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.4356, allocations: 60.5 kB / 0.5843 GB, free: 27.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001293/0.4369, allocations: 0.9662 MB / 0.5852 GB, free: 27.1 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.541e-05/0.437, allocations: 40.7 kB / 0.5852 GB, free: 27.05 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000271/0.4372, allocations: 469.4 kB / 0.5857 GB, free: 26.68 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002097/0.4375, allocations: 268.5 kB / 0.5859 GB, free: 26.47 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.882e-05/0.4375, allocations: 21.31 kB / 0.586 GB, free: 26.46 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.393e-05/0.4376, allocations: 344.6 kB / 0.5863 GB, free: 26.13 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001207/0.4388, allocations: 0.5995 MB / 0.5869 GB, free: 25.92 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001175/0.44, allocations: 0.7052 MB / 0.5876 GB, free: 25.61 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/0.4413, allocations: 0.6463 MB / 0.5882 GB, free: 25.34 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.401e-06/0.4413, allocations: 1.094 kB / 0.5882 GB, free: 25.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00923/0.4505, allocations: 3.322 MB / 0.5914 GB, free: 24.49 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.4506, allocations: 6.344 kB / 0.5914 GB, free: 24.49 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.4506, allocations: 3.031 kB / 0.5915 GB, free: 24.49 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005202/0.4558, allocations: 1.48 MB / 0.5929 GB, free: 24.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/0.4568, allocations: 195.1 kB / 0.5931 GB, free: 24.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01249/0.4693, allocations: 5.973 MB / 0.5989 GB, free: 21.26 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001557/0.4709, allocations: 176.2 kB / 0.5991 GB, free: 21.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001341/0.471, allocations: 39.36 kB / 0.5991 GB, free: 21.18 MB / 426.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 ($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.0004793/0.4715, allocations: 246.2 kB / 0.5994 GB, free: 20.98 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002121/0.4718, allocations: 110.1 kB / 0.5995 GB, free: 20.93 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009575/0.4813, allocations: 3.152 MB / 0.6025 GB, free: 20.17 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.4814, allocations: 7.812 kB / 0.6025 GB, free: 20.17 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.4814, allocations: 5.312 kB / 0.6026 GB, free: 20.17 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.239e-05/0.4814, allocations: 2.578 kB / 0.6026 GB, free: 20.17 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01147/0.4929, allocations: 4.526 MB / 0.607 GB, free: 18.53 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.4929, allocations: 0 / 0.607 GB, free: 18.53 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005226/0.4934, allocations: 94.89 kB / 0.6071 GB, free: 18.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005342/0.4988, allocations: 1.538 MB / 0.6086 GB, free: 18.24 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.597e-05/0.4989, allocations: 13.64 kB / 0.6086 GB, free: 18.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01314/0.512, allocations: 6.163 MB / 0.6146 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.5121, allocations: 0 / 0.6146 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009391/0.5215, allocations: 3.922 MB / 0.6184 GB, free: 9.398 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004367/0.5219, allocations: 191.7 kB / 0.6186 GB, free: 9.191 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002124/0.5222, allocations: 23.92 kB / 0.6186 GB, free: 9.168 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009851/0.5231, allocations: 111.9 kB / 0.6187 GB, free: 9.059 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004153/0.5236, allocations: 156.4 kB / 0.6189 GB, free: 8.902 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.257e-05/0.5236, allocations: 23.98 kB / 0.6189 GB, free: 8.879 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009822/0.5246, allocations: 0.6475 MB / 0.6195 GB, free: 8.223 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5246, allocations: 0 / 0.6195 GB, free: 8.223 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001154/0.5258, allocations: 355.6 kB / 0.6199 GB, free: 7.875 MB / 426.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 (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.0002728/0.5261, allocations: 123.1 kB / 0.62 GB, free: 7.742 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004668/0.5308, allocations: 2.043 MB / 0.622 GB, free: 5.668 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.5308, allocations: 0 / 0.622 GB, free: 5.668 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003121/0.5339, allocations: 1.33 MB / 0.6233 GB, free: 4.305 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005461/0.5345, allocations: 80.36 kB / 0.6234 GB, free: 4.227 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002859/0.5373, allocations: 2.106 MB / 0.6254 GB, free: 2.109 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003877/0.5377, allocations: 1.065 MB / 0.6265 GB, free: 1.016 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004212/0.5382, allocations: 102.7 kB / 0.6266 GB, free: 0.9102 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001938/0.5384, allocations: 59.42 kB / 0.6266 GB, free: 0.8516 MB / 426.7 MB Notification: Performance of SimCode: time 4.81e-07/0.5384, allocations: 3.938 kB / 0.6266 GB, free: 0.8477 MB / 426.7 MB Notification: Performance of Templates: time 0.02634/0.5647, allocations: 16.06 MB / 0.6423 GB, free: 0.8125 MB / 442.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.sim & ./OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1)