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.001115/0.001115, allocations: 101.2 kB / 15.98 MB, free: 6.359 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.26/1.26, allocations: 222.9 MB / 239.6 MB, free: 4.734 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.001363/0.001363, allocations: 196.4 kB / 289.9 MB, free: 2.469 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4381/0.4381, allocations: 78.53 MB / 418.6 MB, free: 3.371 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 75.88 kB / 497.6 MB, free: 6.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1321, allocations: 68.17 MB / 0.5525 GB, free: 2.512 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.2203/0.3525, allocations: 6.323 MB / 0.5587 GB, free: 36.22 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003551/0.3561, allocations: 1.875 MB / 0.5605 GB, free: 35.68 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006196/0.3567, allocations: 16.91 kB / 0.5605 GB, free: 35.68 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006662/0.3574, allocations: 162.4 kB / 0.5607 GB, free: 35.67 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001522/0.359, allocations: 0.6137 MB / 0.5613 GB, free: 35.53 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.3601, allocations: 0.511 MB / 0.5618 GB, free: 35.45 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001336/0.3614, allocations: 1.408 MB / 0.5631 GB, free: 35.39 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003714/0.3618, allocations: 274.3 kB / 0.5634 GB, free: 35.34 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007185/0.3625, allocations: 0.5648 MB / 0.564 GB, free: 35.22 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006523/0.3632, allocations: 0.6575 MB / 0.5646 GB, free: 35.06 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001381/0.3633, allocations: 99.88 kB / 0.5647 GB, free: 35.06 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004551/0.3638, allocations: 227.3 kB / 0.5649 GB, free: 35.05 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002333/0.364, allocations: 267.6 kB / 0.5652 GB, free: 35 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004372/0.3645, allocations: 0.574 MB / 0.5657 GB, free: 34.8 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001022/0.3655, allocations: 1.055 MB / 0.5668 GB, free: 34.64 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.3655, allocations: 3.188 kB / 0.5668 GB, free: 34.64 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.3655, allocations: 1.25 kB / 0.5668 GB, free: 34.64 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.756e-05/0.3655, allocations: 5.781 kB / 0.5668 GB, free: 34.64 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.3723, allocations: 2.237 MB / 0.5689 GB, free: 33.79 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.3724, allocations: 9.406 kB / 0.569 GB, free: 33.79 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003188/0.3756, allocations: 0.5533 MB / 0.5695 GB, free: 33.71 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/0.3767, allocations: 0.7908 MB / 0.5703 GB, free: 33.32 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002012/0.377, allocations: 212.9 kB / 0.5705 GB, free: 33.16 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/0.3771, allocations: 61.81 kB / 0.5705 GB, free: 33.16 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001519/0.3786, allocations: 0.8311 MB / 0.5713 GB, free: 33.11 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.3787, allocations: 0.9688 kB / 0.5713 GB, free: 33.11 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-05/0.3787, allocations: 24.94 kB / 0.5714 GB, free: 33.11 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.301e-05/0.3788, allocations: 20.38 kB / 0.5714 GB, free: 33.11 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001555/0.3803, allocations: 0.8546 MB / 0.5722 GB, free: 33.11 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.004726/0.385, allocations: 3.048 MB / 0.5752 GB, free: 32.31 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005552/0.3906, allocations: 1.704 MB / 0.5769 GB, free: 31.79 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001038/0.3917, allocations: 0.549 MB / 0.5774 GB, free: 31.69 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.326e-05/0.3918, allocations: 11.61 kB / 0.5774 GB, free: 31.69 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001118/0.3929, allocations: 0.6198 MB / 0.578 GB, free: 31.46 MB / 430.1 MB Notification: Performance of pre-optimization done (n=74): time 2.986e-06/0.3929, allocations: 0 / 0.578 GB, free: 31.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.01772/0.4107, allocations: 4.705 MB / 0.5826 GB, free: 30.38 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.4108, allocations: 58.81 kB / 0.5827 GB, free: 30.31 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001573/0.4123, allocations: 0.9724 MB / 0.5836 GB, free: 29.91 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001676/0.4125, allocations: 39.58 kB / 0.5837 GB, free: 29.87 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002908/0.4128, allocations: 470.3 kB / 0.5841 GB, free: 29.49 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002646/0.4131, allocations: 265.2 kB / 0.5844 GB, free: 29.29 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003551/0.4135, allocations: 183.3 kB / 0.5845 GB, free: 29.2 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.978e-05/0.4135, allocations: 346.2 kB / 0.5849 GB, free: 28.88 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00113/0.4147, allocations: 0.545 MB / 0.5854 GB, free: 28.68 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001209/0.4159, allocations: 0.6681 MB / 0.586 GB, free: 28.37 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01649/0.4324, allocations: 4.055 MB / 0.59 GB, free: 27.27 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.948e-06/0.4324, allocations: 1.344 kB / 0.59 GB, free: 27.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.008877/0.4413, allocations: 2.832 MB / 0.5928 GB, free: 26.47 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.235e-05/0.4414, allocations: 6.172 kB / 0.5928 GB, free: 26.47 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/0.4414, allocations: 2.656 kB / 0.5928 GB, free: 26.47 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00471/0.4461, allocations: 1.27 MB / 0.594 GB, free: 26.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/0.4472, allocations: 191.2 kB / 0.5942 GB, free: 26.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01193/0.4592, allocations: 5.684 MB / 0.5998 GB, free: 23.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001563/0.4608, allocations: 151.3 kB / 0.5999 GB, free: 23.1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/0.4609, allocations: 36.98 kB / 0.5999 GB, free: 23.09 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.0004602/0.4613, allocations: 242.2 kB / 0.6002 GB, free: 22.9 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001857/0.4615, allocations: 111 kB / 0.6003 GB, free: 22.84 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008687/0.4702, allocations: 2.655 MB / 0.6029 GB, free: 22.14 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-05/0.4703, allocations: 8.656 kB / 0.6029 GB, free: 22.14 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.4703, allocations: 5.125 kB / 0.6029 GB, free: 22.14 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.589e-05/0.4703, allocations: 3.562 kB / 0.6029 GB, free: 22.14 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01078/0.4811, allocations: 4.022 MB / 0.6068 GB, free: 20.56 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/0.4812, allocations: 1.656 kB / 0.6068 GB, free: 20.56 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005463/0.4817, allocations: 92.97 kB / 0.6069 GB, free: 20.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004655/0.4864, allocations: 1.331 MB / 0.6082 GB, free: 19.97 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001068/0.4865, allocations: 11.72 kB / 0.6082 GB, free: 19.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0117/0.4982, allocations: 6.015 MB / 0.6141 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.4983, allocations: 4.938 kB / 0.6141 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008799/0.5071, allocations: 3.362 MB / 0.6174 GB, free: 12.49 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004319/0.5075, allocations: 203.6 kB / 0.6176 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00016/0.5077, allocations: 16 kB / 0.6176 GB, free: 12.26 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009087/0.5086, allocations: 83.89 kB / 0.6177 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004508/0.5091, allocations: 152.4 kB / 0.6178 GB, free: 12.03 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.967e-05/0.5091, allocations: 23.98 kB / 0.6178 GB, free: 12 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000821/0.51, allocations: 0.6631 MB / 0.6185 GB, free: 11.33 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.51, allocations: 0 / 0.6185 GB, free: 11.33 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001068/0.5111, allocations: 347.8 kB / 0.6188 GB, free: 10.99 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.0002418/0.5113, allocations: 137 kB / 0.6189 GB, free: 10.85 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004393/0.5157, allocations: 1.902 MB / 0.6208 GB, free: 8.918 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.5157, allocations: 4.125 kB / 0.6208 GB, free: 8.914 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002871/0.5186, allocations: 1.208 MB / 0.622 GB, free: 7.68 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000862/0.5195, allocations: 93.48 kB / 0.6221 GB, free: 7.59 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00304/0.5225, allocations: 2.204 MB / 0.6242 GB, free: 5.367 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.5229, allocations: 1.046 MB / 0.6252 GB, free: 4.297 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002723/0.5232, allocations: 69.02 kB / 0.6253 GB, free: 4.23 MB / 430.1 MB Notification: Performance of SimCode: time 9.72e-07/0.5232, allocations: 0 / 0.6253 GB, free: 4.23 MB / 430.1 MB Notification: Performance of Templates: time 0.02436/0.5475, allocations: 21.79 MB / 0.6466 GB, free: 14.61 MB / 462.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 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1)