Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL.Tests.FACTS.TCSC_Test") translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.001383/0.001384, allocations: 103.2 kB / 16.35 MB, free: 5.875 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.362/1.362, allocations: 222.9 MB / 240 MB, free: 4.516 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.001438/0.001437, allocations: 196.4 kB / 290.3 MB, free: 2.246 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4787/0.4787, allocations: 78.53 MB / 419 MB, free: 3.059 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002293/0.002293, allocations: 87.86 kB / 498.9 MB, free: 5.629 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1332, allocations: 68.17 MB / 0.5538 GB, free: 1.41 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.253/0.3863, allocations: 6.008 MB / 0.5596 GB, free: 36.85 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004163/0.3905, allocations: 1.843 MB / 0.5614 GB, free: 36.32 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000842/0.3914, allocations: 17.47 kB / 0.5614 GB, free: 36.32 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007397/0.3921, allocations: 210.7 kB / 0.5616 GB, free: 36.3 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001612/0.3938, allocations: 0.6987 MB / 0.5623 GB, free: 36.16 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001144/0.3949, allocations: 0.5397 MB / 0.5629 GB, free: 36.09 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001438/0.3964, allocations: 1.422 MB / 0.5642 GB, free: 35.94 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004126/0.3968, allocations: 281.5 kB / 0.5645 GB, free: 35.89 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007411/0.3976, allocations: 0.556 MB / 0.5651 GB, free: 35.74 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006782/0.3983, allocations: 0.6559 MB / 0.5657 GB, free: 35.57 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000137/0.3984, allocations: 100.5 kB / 0.5658 GB, free: 35.57 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004527/0.3989, allocations: 229.2 kB / 0.566 GB, free: 35.56 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002093/0.3991, allocations: 270.6 kB / 0.5663 GB, free: 35.49 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000417/0.3995, allocations: 0.5604 MB / 0.5668 GB, free: 35.28 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001225/0.4007, allocations: 1.397 MB / 0.5682 GB, free: 34.95 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4008, allocations: 0 / 0.5682 GB, free: 34.95 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4008, allocations: 0 / 0.5682 GB, free: 34.95 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.728e-05/0.4008, allocations: 0 / 0.5682 GB, free: 34.95 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.006759/0.4076, allocations: 2.242 MB / 0.5704 GB, free: 34.09 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.4076, allocations: 9.281 kB / 0.5704 GB, free: 34.09 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003183/0.4108, allocations: 0.5493 MB / 0.5709 GB, free: 34.02 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001201/0.412, allocations: 0.7949 MB / 0.5717 GB, free: 33.62 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001963/0.4122, allocations: 211.8 kB / 0.5719 GB, free: 33.46 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/0.4123, allocations: 64.44 kB / 0.572 GB, free: 33.46 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001465/0.4138, allocations: 0.8331 MB / 0.5728 GB, free: 33.41 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.4139, allocations: 3.547 kB / 0.5728 GB, free: 33.41 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.477e-05/0.4139, allocations: 25.47 kB / 0.5728 GB, free: 33.41 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/0.414, allocations: 22.38 kB / 0.5728 GB, free: 33.4 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001563/0.4155, allocations: 0.8493 MB / 0.5736 GB, free: 33.4 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.00467/0.4202, allocations: 3.036 MB / 0.5766 GB, free: 32.46 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008229/0.4284, allocations: 1.707 MB / 0.5783 GB, free: 31.66 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001674/0.4302, allocations: 0.5519 MB / 0.5788 GB, free: 31.44 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001238/0.4303, allocations: 8.25 kB / 0.5788 GB, free: 31.44 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001772/0.4321, allocations: 0.6181 MB / 0.5794 GB, free: 31.21 MB / 430.1 MB Notification: Performance of pre-optimization done (n=74): time 4.168e-06/0.4321, allocations: 0 / 0.5794 GB, free: 31.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.02549/0.4576, allocations: 4.706 MB / 0.584 GB, free: 30.12 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.4577, allocations: 61.64 kB / 0.5841 GB, free: 30.05 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002286/0.46, allocations: 0.9619 MB / 0.585 GB, free: 29.66 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002362/0.4602, allocations: 42.7 kB / 0.5851 GB, free: 29.62 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003995/0.4606, allocations: 470.2 kB / 0.5855 GB, free: 29.25 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003711/0.461, allocations: 273 kB / 0.5858 GB, free: 29.03 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005182/0.4616, allocations: 175.2 kB / 0.5859 GB, free: 28.95 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.4617, allocations: 343.4 kB / 0.5863 GB, free: 28.62 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001764/0.4635, allocations: 0.5512 MB / 0.5868 GB, free: 28.43 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001933/0.4654, allocations: 0.6682 MB / 0.5875 GB, free: 28.12 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02343/0.4888, allocations: 4.044 MB / 0.5914 GB, free: 27.03 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-05/0.4889, allocations: 1.281 kB / 0.5914 GB, free: 27.03 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.01381/0.5027, allocations: 2.834 MB / 0.5942 GB, free: 26.23 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.525e-05/0.5028, allocations: 5.656 kB / 0.5942 GB, free: 26.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.806e-05/0.5029, allocations: 1.969 kB / 0.5942 GB, free: 26.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006447/0.5093, allocations: 1.272 MB / 0.5954 GB, free: 26.01 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001732/0.5111, allocations: 185.9 kB / 0.5956 GB, free: 25.99 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01761/0.5287, allocations: 5.671 MB / 0.6011 GB, free: 22.94 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002295/0.5311, allocations: 152 kB / 0.6013 GB, free: 22.88 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002163/0.5313, allocations: 39.41 kB / 0.6013 GB, free: 22.87 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.0007276/0.532, allocations: 233.6 kB / 0.6015 GB, free: 22.68 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003667/0.5324, allocations: 115.9 kB / 0.6017 GB, free: 22.61 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.013/0.5454, allocations: 2.657 MB / 0.6042 GB, free: 21.91 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.283e-05/0.5455, allocations: 8 kB / 0.6043 GB, free: 21.91 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.5455, allocations: 1.5 kB / 0.6043 GB, free: 21.91 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.331e-05/0.5456, allocations: 3.891 kB / 0.6043 GB, free: 21.91 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01529/0.5609, allocations: 4.022 MB / 0.6082 GB, free: 19.99 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.899e-06/0.5609, allocations: 5.094 kB / 0.6082 GB, free: 19.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005932/0.5615, allocations: 91.89 kB / 0.6083 GB, free: 19.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004874/0.5664, allocations: 1.319 MB / 0.6096 GB, free: 19.37 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001963/0.5666, allocations: 16.31 kB / 0.6096 GB, free: 19.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.012/0.5787, allocations: 6.013 MB / 0.6155 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.5787, allocations: 0 / 0.6155 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0086/0.5873, allocations: 3.369 MB / 0.6187 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004341/0.5878, allocations: 207.5 kB / 0.6189 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001644/0.588, allocations: 12.94 kB / 0.619 GB, free: 11.4 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009007/0.5889, allocations: 87.89 kB / 0.619 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004533/0.5893, allocations: 164.4 kB / 0.6192 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.233e-05/0.5894, allocations: 16 kB / 0.6192 GB, free: 11.14 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008345/0.5902, allocations: 0.6631 MB / 0.6199 GB, free: 10.47 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5902, allocations: 0 / 0.6199 GB, free: 10.47 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001125/0.5914, allocations: 351.7 kB / 0.6202 GB, free: 10.12 MB / 430.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.0002296/0.5916, allocations: 120 kB / 0.6203 GB, free: 9.996 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004402/0.596, allocations: 1.876 MB / 0.6221 GB, free: 8.09 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/0.5961, allocations: 0 / 0.6221 GB, free: 8.09 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002971/0.5991, allocations: 1.208 MB / 0.6233 GB, free: 6.855 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009244/0.6, allocations: 100.9 kB / 0.6234 GB, free: 6.758 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002867/0.6029, allocations: 1.79 MB / 0.6252 GB, free: 4.961 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.6032, allocations: 1.038 MB / 0.6262 GB, free: 3.895 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003356/0.6036, allocations: 104.6 kB / 0.6263 GB, free: 3.789 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001936/0.6038, allocations: 63.42 kB / 0.6263 GB, free: 3.727 MB / 430.1 MB Notification: Performance of SimCode: time 4.51e-07/0.6038, allocations: 0 / 0.6263 GB, free: 3.727 MB / 430.1 MB Notification: Performance of Templates: time 0.02787/0.6317, allocations: 18.76 MB / 0.6447 GB, free: 1.168 MB / 446.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.makefile (rm -f OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.sim & ./OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1)