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.001013/0.001013, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.288/1.288, allocations: 222.9 MB / 239 MB, free: 4.652 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.001225/0.001225, allocations: 192.4 kB / 289.3 MB, free: 2.387 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.477/0.477, allocations: 91.89 MB / 431.3 MB, free: 9.43 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 72.22 kB / 0.5014 GB, free: 8.105 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3248, allocations: 71.27 MB / 0.571 GB, free: 36.33 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.005595/0.3304, allocations: 6.336 MB / 0.5772 GB, free: 32.73 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003579/0.3341, allocations: 1.875 MB / 0.579 GB, free: 31.54 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007596/0.3348, allocations: 11.62 kB / 0.579 GB, free: 31.54 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006589/0.3355, allocations: 161.4 kB / 0.5792 GB, free: 31.48 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001539/0.3371, allocations: 0.6318 MB / 0.5798 GB, free: 31.06 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.3381, allocations: 0.5033 MB / 0.5803 GB, free: 30.79 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001181/0.3393, allocations: 1.42 MB / 0.5816 GB, free: 30.08 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003587/0.3397, allocations: 287.2 kB / 0.5819 GB, free: 29.96 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005935/0.3403, allocations: 0.5609 MB / 0.5825 GB, free: 29.68 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005848/0.3409, allocations: 0.6537 MB / 0.5831 GB, free: 29.36 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001244/0.341, allocations: 98.75 kB / 0.5832 GB, free: 29.36 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003908/0.3414, allocations: 231.5 kB / 0.5834 GB, free: 29.32 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001657/0.3416, allocations: 266.4 kB / 0.5837 GB, free: 29.15 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003216/0.3419, allocations: 0.5707 MB / 0.5842 GB, free: 28.76 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00102/0.3429, allocations: 1.383 MB / 0.5856 GB, free: 28.13 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.343, allocations: 0 / 0.5856 GB, free: 28.13 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.343, allocations: 0 / 0.5856 GB, free: 28.13 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.223e-05/0.343, allocations: 0 / 0.5856 GB, free: 28.13 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.006482/0.3495, allocations: 2.229 MB / 0.5878 GB, free: 27.05 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.3495, allocations: 9.906 kB / 0.5878 GB, free: 27.05 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003342/0.3529, allocations: 0.5613 MB / 0.5883 GB, free: 26.92 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001249/0.3541, allocations: 0.7838 MB / 0.5891 GB, free: 26.39 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002182/0.3544, allocations: 207.2 kB / 0.5893 GB, free: 26.21 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/0.3545, allocations: 63.22 kB / 0.5893 GB, free: 26.19 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00159/0.3561, allocations: 0.8339 MB / 0.5902 GB, free: 25.88 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.3561, allocations: 1.375 kB / 0.5902 GB, free: 25.88 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.749e-05/0.3562, allocations: 24.56 kB / 0.5902 GB, free: 25.86 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.58e-05/0.3562, allocations: 19.03 kB / 0.5902 GB, free: 25.85 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001744/0.358, allocations: 0.8529 MB / 0.591 GB, free: 25.57 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.005312/0.3633, allocations: 3.046 MB / 0.594 GB, free: 23.86 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006004/0.3693, allocations: 1.724 MB / 0.5957 GB, free: 23.03 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001275/0.3706, allocations: 0.5483 MB / 0.5962 GB, free: 22.81 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001059/0.3708, allocations: 20.77 kB / 0.5962 GB, free: 22.8 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001371/0.3721, allocations: 0.6152 MB / 0.5968 GB, free: 22.57 MB / 430.1 MB Notification: Performance of pre-optimization done (n=74): time 3.697e-06/0.3722, allocations: 0 / 0.5968 GB, free: 22.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.01872/0.3909, allocations: 4.7 MB / 0.6014 GB, free: 21.49 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.391, allocations: 58.78 kB / 0.6015 GB, free: 21.42 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001451/0.3924, allocations: 0.9712 MB / 0.6024 GB, free: 21.02 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00018/0.3926, allocations: 40.98 kB / 0.6025 GB, free: 20.98 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000268/0.3929, allocations: 468.8 kB / 0.6029 GB, free: 20.61 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002523/0.3931, allocations: 268.3 kB / 0.6032 GB, free: 20.39 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003507/0.3935, allocations: 178.5 kB / 0.6034 GB, free: 20.31 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.586e-05/0.3936, allocations: 343 kB / 0.6037 GB, free: 19.99 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001159/0.3947, allocations: 0.5529 MB / 0.6042 GB, free: 19.78 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001194/0.3959, allocations: 0.6672 MB / 0.6049 GB, free: 19.48 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01758/0.4135, allocations: 4.057 MB / 0.6088 GB, free: 18.37 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.267e-06/0.4136, allocations: 1.188 kB / 0.6088 GB, free: 18.37 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.008838/0.4224, allocations: 2.827 MB / 0.6116 GB, free: 17.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.52e-05/0.4225, allocations: 6.375 kB / 0.6116 GB, free: 17.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/0.4225, allocations: 2.25 kB / 0.6116 GB, free: 17.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0049/0.4274, allocations: 1.278 MB / 0.6128 GB, free: 17.33 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/0.4286, allocations: 181.1 kB / 0.613 GB, free: 17.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0117/0.4404, allocations: 5.685 MB / 0.6186 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001684/0.4421, allocations: 151 kB / 0.6187 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/0.4422, allocations: 35.98 kB / 0.6188 GB, free: 13.27 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.0004742/0.4427, allocations: 237.6 kB / 0.619 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000174/0.4429, allocations: 114.6 kB / 0.6191 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007548/0.4504, allocations: 2.649 MB / 0.6217 GB, free: 10.24 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.407e-06/0.4505, allocations: 8 kB / 0.6217 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.4505, allocations: 3.938 kB / 0.6217 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.296e-05/0.4505, allocations: 3.984 kB / 0.6217 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008959/0.4595, allocations: 4.021 MB / 0.6256 GB, free: 6.094 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.4595, allocations: 4 kB / 0.6256 GB, free: 6.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005062/0.46, allocations: 95.75 kB / 0.6257 GB, free: 5.996 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004346/0.4644, allocations: 1.319 MB / 0.627 GB, free: 4.672 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001088/0.4645, allocations: 19.98 kB / 0.627 GB, free: 4.652 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01137/0.4759, allocations: 6.029 MB / 0.6329 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.4759, allocations: 0 / 0.6329 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009753/0.4857, allocations: 3.364 MB / 0.6362 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000439/0.4862, allocations: 199.6 kB / 0.6364 GB, free: 10.87 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001686/0.4863, allocations: 19.98 kB / 0.6364 GB, free: 10.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/0.4873, allocations: 83.91 kB / 0.6365 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004934/0.4878, allocations: 156.4 kB / 0.6366 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.398e-05/0.4879, allocations: 23.94 kB / 0.6367 GB, free: 10.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009477/0.4889, allocations: 0.6592 MB / 0.6373 GB, free: 9.926 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4889, allocations: 4 kB / 0.6373 GB, free: 9.922 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001061/0.49, allocations: 351.7 kB / 0.6376 GB, free: 9.578 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.0002537/0.4902, allocations: 119.2 kB / 0.6377 GB, free: 9.449 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005209/0.4954, allocations: 1.898 MB / 0.6396 GB, free: 7.516 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.4955, allocations: 0 / 0.6396 GB, free: 7.516 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003334/0.4988, allocations: 1.219 MB / 0.6408 GB, free: 6.262 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009482/0.4998, allocations: 94.66 kB / 0.6409 GB, free: 6.172 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003781/0.5036, allocations: 2.169 MB / 0.643 GB, free: 3.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005651/0.5042, allocations: 1.042 MB / 0.644 GB, free: 2.914 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004552/0.5046, allocations: 98.67 kB / 0.6441 GB, free: 2.812 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002269/0.5049, allocations: 71.42 kB / 0.6442 GB, free: 2.742 MB / 446.1 MB Notification: Performance of SimCode: time 8.92e-07/0.5049, allocations: 0 / 0.6442 GB, free: 2.742 MB / 446.1 MB Notification: Performance of Templates: time 0.0269/0.5318, allocations: 17.96 MB / 0.6617 GB, free: 0.8125 MB / 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 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1)