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.0009991/0.0009994, allocations: 172.5 kB / 15.77 MB, free: 6.324 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.471/1.471, allocations: 223.2 MB / 239.8 MB, free: 1.703 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.00104/0.00104, allocations: 100.1 kB / 290.9 MB, free: 13.9 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4978/0.4978, allocations: 78.61 MB / 420.7 MB, free: 44.31 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004014/0.0004015, allocations: 19.98 kB / 0.4888 GB, free: 2.922 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4909/0.4913, allocations: 69.33 MB / 0.5565 GB, free: 38.91 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.005588/0.4969, allocations: 5.518 MB / 0.5619 GB, free: 37.97 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003891/0.5009, allocations: 1.781 MB / 0.5636 GB, free: 36.71 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006543/0.5015, allocations: 15.97 kB / 0.5636 GB, free: 36.71 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000531/0.5021, allocations: 155.5 kB / 0.5638 GB, free: 36.64 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001604/0.5037, allocations: 0.5963 MB / 0.5644 GB, free: 36.25 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001119/0.5048, allocations: 445.5 kB / 0.5648 GB, free: 36.03 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00158/0.5064, allocations: 1.264 MB / 0.566 GB, free: 35.38 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004036/0.5068, allocations: 238.2 kB / 0.5663 GB, free: 35.28 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008005/0.5076, allocations: 497 kB / 0.5667 GB, free: 35.07 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007158/0.5084, allocations: 0.585 MB / 0.5673 GB, free: 34.8 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001364/0.5085, allocations: 49.44 kB / 0.5673 GB, free: 34.8 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000487/0.509, allocations: 171.4 kB / 0.5675 GB, free: 34.77 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001691/0.5092, allocations: 202.2 kB / 0.5677 GB, free: 34.66 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001821/0.5094, allocations: 207.5 kB / 0.5679 GB, free: 34.52 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008467/0.5102, allocations: 1.012 MB / 0.5689 GB, free: 34.22 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.5102, allocations: 1.094 kB / 0.5689 GB, free: 34.22 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.5102, allocations: 0 / 0.5689 GB, free: 34.22 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.352e-05/0.5103, allocations: 0 / 0.5689 GB, free: 34.22 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.006244/0.5165, allocations: 2.093 MB / 0.5709 GB, free: 33.25 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.5165, allocations: 8.031 kB / 0.5709 GB, free: 33.25 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003184/0.5197, allocations: 0.5654 MB / 0.5715 GB, free: 33.13 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001148/0.5209, allocations: 0.7384 MB / 0.5722 GB, free: 32.64 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002023/0.5211, allocations: 219.5 kB / 0.5724 GB, free: 32.45 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.5212, allocations: 63.31 kB / 0.5725 GB, free: 32.43 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001591/0.5228, allocations: 0.8762 MB / 0.5733 GB, free: 32.11 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.5229, allocations: 0 / 0.5733 GB, free: 32.11 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.595e-05/0.5229, allocations: 30.98 kB / 0.5734 GB, free: 32.09 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.523, allocations: 14.78 kB / 0.5734 GB, free: 32.09 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001816/0.5248, allocations: 0.9073 MB / 0.5743 GB, free: 31.8 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.005694/0.5305, allocations: 3.111 MB / 0.5773 GB, free: 30.08 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006162/0.5367, allocations: 1.965 MB / 0.5792 GB, free: 29.23 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001035/0.5377, allocations: 0.6028 MB / 0.5798 GB, free: 29.01 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.734e-05/0.5378, allocations: 10.36 kB / 0.5798 GB, free: 29.01 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001188/0.539, allocations: 0.6639 MB / 0.5805 GB, free: 28.77 MB / 426.7 MB Notification: Performance of pre-optimization done (n=74): time 3.136e-06/0.539, allocations: 3.938 kB / 0.5805 GB, free: 28.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=74): time 0.01834/0.5574, allocations: 5.583 MB / 0.5859 GB, free: 27.59 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.5574, allocations: 64.91 kB / 0.586 GB, free: 27.52 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001334/0.5588, allocations: 0.9638 MB / 0.5869 GB, free: 27.12 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.503e-05/0.5589, allocations: 40.58 kB / 0.587 GB, free: 27.07 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002654/0.5592, allocations: 465.2 kB / 0.5874 GB, free: 26.71 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002248/0.5594, allocations: 267.1 kB / 0.5877 GB, free: 26.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.614e-05/0.5595, allocations: 25.12 kB / 0.5877 GB, free: 26.48 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.925e-05/0.5596, allocations: 350.8 kB / 0.588 GB, free: 26.15 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001098/0.5607, allocations: 0.6009 MB / 0.5886 GB, free: 25.93 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001231/0.5619, allocations: 0.7096 MB / 0.5893 GB, free: 25.62 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/0.5631, allocations: 0.6455 MB / 0.5899 GB, free: 25.35 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.5631, allocations: 3.938 kB / 0.5899 GB, free: 25.35 MB / 426.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.009207/0.5724, allocations: 3.313 MB / 0.5932 GB, free: 24.51 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.826e-05/0.5724, allocations: 8.734 kB / 0.5932 GB, free: 24.51 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.5724, allocations: 2.75 kB / 0.5932 GB, free: 24.51 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005449/0.5779, allocations: 1.482 MB / 0.5946 GB, free: 24.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/0.579, allocations: 191.5 kB / 0.5948 GB, free: 24.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.012/0.591, allocations: 5.732 MB / 0.6004 GB, free: 21.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001665/0.5927, allocations: 176.1 kB / 0.6006 GB, free: 21.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.476e-05/0.5928, allocations: 35.28 kB / 0.6006 GB, free: 21.29 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.0004856/0.5933, allocations: 244 kB / 0.6008 GB, free: 21.09 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001664/0.5935, allocations: 110.7 kB / 0.601 GB, free: 21.03 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01007/0.6036, allocations: 3.155 MB / 0.604 GB, free: 20.27 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.6036, allocations: 7.844 kB / 0.604 GB, free: 20.27 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.6036, allocations: 0 / 0.604 GB, free: 20.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.634e-05/0.6036, allocations: 7.75 kB / 0.604 GB, free: 20.27 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01185/0.6155, allocations: 4.522 MB / 0.6085 GB, free: 18.63 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.6155, allocations: 0 / 0.6085 GB, free: 18.63 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005391/0.6161, allocations: 93.92 kB / 0.6086 GB, free: 18.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005427/0.6215, allocations: 1.54 MB / 0.6101 GB, free: 18.34 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001041/0.6217, allocations: 13.8 kB / 0.6101 GB, free: 18.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01254/0.6342, allocations: 5.897 MB / 0.6158 GB, free: 12.87 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.6343, allocations: 0 / 0.6158 GB, free: 12.87 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009872/0.6441, allocations: 3.918 MB / 0.6197 GB, free: 8.926 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004066/0.6446, allocations: 199.7 kB / 0.6198 GB, free: 8.711 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000253/0.6448, allocations: 19.98 kB / 0.6199 GB, free: 8.691 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/0.6459, allocations: 107.9 kB / 0.62 GB, free: 8.586 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000439/0.6464, allocations: 152.4 kB / 0.6201 GB, free: 8.438 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.082e-05/0.6465, allocations: 27.98 kB / 0.6201 GB, free: 8.41 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009936/0.6475, allocations: 0.6475 MB / 0.6208 GB, free: 7.754 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.6475, allocations: 0 / 0.6208 GB, free: 7.754 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001368/0.6489, allocations: 355.8 kB / 0.6211 GB, free: 7.406 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.0003261/0.6492, allocations: 127.6 kB / 0.6212 GB, free: 7.27 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004959/0.6542, allocations: 2.032 MB / 0.6232 GB, free: 5.207 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/0.6542, allocations: 4.125 kB / 0.6232 GB, free: 5.203 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00333/0.6575, allocations: 1.333 MB / 0.6245 GB, free: 3.836 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/0.6586, allocations: 98.61 kB / 0.6246 GB, free: 3.742 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003435/0.662, allocations: 2.128 MB / 0.6267 GB, free: 1.582 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004615/0.6625, allocations: 1.042 MB / 0.6277 GB, free: 0.5117 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002849/0.6628, allocations: 67.42 kB / 0.6278 GB, free: 456 kB / 426.7 MB Notification: Performance of SimCode: time 5.81e-07/0.6628, allocations: 0 / 0.6278 GB, free: 456 kB / 426.7 MB Notification: Performance of Templates: time 0.03132/0.6941, allocations: 21.71 MB / 0.649 GB, free: 10.74 MB / 458.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)