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.004593/0.004593, allocations: 108.3 kB / 15.74 MB, free: 6.055 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.36/1.36, allocations: 222.9 MB / 239.4 MB, free: 4.551 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.001386/0.001386, allocations: 188.4 kB / 289.7 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4785/0.4785, allocations: 78.52 MB / 418.4 MB, free: 3.156 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001634/0.001634, allocations: 80.16 kB / 0.5536 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3629, allocations: 68.16 MB / 0.6201 GB, free: 9.609 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.005308/0.3683, allocations: 6.008 MB / 0.626 GB, free: 4.207 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003288/0.3716, allocations: 1.841 MB / 0.6278 GB, free: 2.359 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000513/0.3722, allocations: 15.94 kB / 0.6278 GB, free: 2.344 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005893/0.3728, allocations: 206.2 kB / 0.628 GB, free: 2.141 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001241/0.374, allocations: 0.7103 MB / 0.6287 GB, free: 1.43 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008829/0.3749, allocations: 0.5486 MB / 0.6292 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001115/0.3761, allocations: 1.417 MB / 0.6306 GB, free: 15.46 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003949/0.3765, allocations: 283.3 kB / 0.6309 GB, free: 15.17 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006665/0.3771, allocations: 0.564 MB / 0.6315 GB, free: 14.6 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007161/0.3779, allocations: 0.6532 MB / 0.6321 GB, free: 13.95 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001429/0.378, allocations: 96 kB / 0.6322 GB, free: 13.85 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004343/0.3785, allocations: 231.9 kB / 0.6324 GB, free: 13.62 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002442/0.3787, allocations: 270.8 kB / 0.6327 GB, free: 13.36 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004775/0.3792, allocations: 0.5592 MB / 0.6332 GB, free: 12.8 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001423/0.3806, allocations: 1.403 MB / 0.6346 GB, free: 11.39 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.3807, allocations: 0 / 0.6346 GB, free: 11.39 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3807, allocations: 0 / 0.6346 GB, free: 11.39 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.369e-05/0.3807, allocations: 0 / 0.6346 GB, free: 11.39 MB / 446.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.006662/0.3873, allocations: 2.232 MB / 0.6368 GB, free: 9.109 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.3874, allocations: 12.03 kB / 0.6368 GB, free: 9.098 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003227/0.3906, allocations: 0.5571 MB / 0.6373 GB, free: 8.535 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/0.3919, allocations: 0.7836 MB / 0.6381 GB, free: 7.695 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002343/0.3922, allocations: 209.8 kB / 0.6383 GB, free: 7.457 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/0.3923, allocations: 68 kB / 0.6383 GB, free: 7.391 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001638/0.3939, allocations: 0.8302 MB / 0.6392 GB, free: 6.555 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.394, allocations: 0 / 0.6392 GB, free: 6.555 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.592e-05/0.3941, allocations: 35.98 kB / 0.6392 GB, free: 6.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.259e-05/0.3941, allocations: 27.88 kB / 0.6392 GB, free: 6.492 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001782/0.3959, allocations: 0.8483 MB / 0.64 GB, free: 5.645 MB / 446.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.005348/0.4012, allocations: 3.035 MB / 0.643 GB, free: 2.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005557/0.4068, allocations: 1.694 MB / 0.6447 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001076/0.4079, allocations: 0.5498 MB / 0.6452 GB, free: 136 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.551e-05/0.408, allocations: 12.64 kB / 0.6452 GB, free: 120 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001223/0.4093, allocations: 0.621 MB / 0.6458 GB, free: 15.48 MB / 462.1 MB Notification: Performance of pre-optimization done (n=74): time 2.955e-06/0.4093, allocations: 0 / 0.6458 GB, free: 15.48 MB / 462.1 MB Notification: Performance of matching and sorting (n=74): time 0.01691/0.4262, allocations: 4.706 MB / 0.6504 GB, free: 10.72 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/0.4263, allocations: 64 kB / 0.6505 GB, free: 10.65 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001612/0.4279, allocations: 0.9699 MB / 0.6514 GB, free: 9.66 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001146/0.428, allocations: 33.7 kB / 0.6515 GB, free: 9.621 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000373/0.4284, allocations: 472.2 kB / 0.6519 GB, free: 9.152 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003195/0.4287, allocations: 264.2 kB / 0.6522 GB, free: 8.891 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003443/0.4291, allocations: 186.5 kB / 0.6523 GB, free: 8.703 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.4293, allocations: 345.9 kB / 0.6527 GB, free: 8.359 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001116/0.4304, allocations: 0.5485 MB / 0.6532 GB, free: 7.809 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001231/0.4316, allocations: 0.6672 MB / 0.6539 GB, free: 7.113 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01616/0.4478, allocations: 4.038 MB / 0.6578 GB, free: 3.039 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.4478, allocations: 0 / 0.6578 GB, free: 3.039 MB / 462.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.008371/0.4562, allocations: 2.839 MB / 0.6606 GB, free: 188 kB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.292e-05/0.4563, allocations: 6.344 kB / 0.6606 GB, free: 184 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.966e-05/0.4564, allocations: 7.938 kB / 0.6606 GB, free: 176 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004596/0.461, allocations: 1.277 MB / 0.6618 GB, free: 14.89 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009945/0.462, allocations: 179.8 kB / 0.662 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01189/0.4739, allocations: 5.684 MB / 0.6675 GB, free: 8.887 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001567/0.4755, allocations: 151 kB / 0.6677 GB, free: 8.738 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.255e-05/0.4756, allocations: 39.97 kB / 0.6677 GB, free: 8.699 MB / 478.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.0005225/0.4761, allocations: 236.9 kB / 0.668 GB, free: 8.461 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001943/0.4763, allocations: 118.5 kB / 0.6681 GB, free: 8.344 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007959/0.4843, allocations: 2.653 MB / 0.6707 GB, free: 5.68 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/0.4843, allocations: 8 kB / 0.6707 GB, free: 5.672 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.4843, allocations: 4 kB / 0.6707 GB, free: 5.668 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.4844, allocations: 3.984 kB / 0.6707 GB, free: 5.664 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009837/0.4942, allocations: 4.019 MB / 0.6746 GB, free: 1.531 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.575e-06/0.4942, allocations: 0 / 0.6746 GB, free: 1.531 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004763/0.4947, allocations: 95.75 kB / 0.6747 GB, free: 1.438 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004578/0.4993, allocations: 1.327 MB / 0.676 GB, free: 108 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.876e-05/0.4994, allocations: 12 kB / 0.676 GB, free: 96 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01397/0.5134, allocations: 6.014 MB / 0.6819 GB, free: 9.938 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.5134, allocations: 0 / 0.6819 GB, free: 9.938 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01002/0.5234, allocations: 3.365 MB / 0.6852 GB, free: 6.543 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003868/0.5239, allocations: 203.6 kB / 0.6854 GB, free: 6.324 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/0.524, allocations: 16 kB / 0.6854 GB, free: 6.309 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009123/0.5249, allocations: 87.89 kB / 0.6855 GB, free: 6.223 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005396/0.5255, allocations: 152.4 kB / 0.6856 GB, free: 6.074 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.601e-05/0.5255, allocations: 20 kB / 0.6856 GB, free: 6.055 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009878/0.5265, allocations: 0.6592 MB / 0.6863 GB, free: 5.387 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5265, allocations: 0 / 0.6863 GB, free: 5.387 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001075/0.5276, allocations: 351.8 kB / 0.6866 GB, free: 5.043 MB / 494.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.0002521/0.5279, allocations: 127.1 kB / 0.6867 GB, free: 4.91 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004599/0.5325, allocations: 1.882 MB / 0.6886 GB, free: 2.996 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.5325, allocations: 0 / 0.6886 GB, free: 2.996 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003067/0.5356, allocations: 1.211 MB / 0.6897 GB, free: 1.746 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007147/0.5363, allocations: 98.45 kB / 0.6898 GB, free: 1.652 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00362/0.54, allocations: 1.782 MB / 0.6916 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007297/0.5407, allocations: 1.046 MB / 0.6926 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003567/0.5411, allocations: 98.67 kB / 0.6927 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002187/0.5413, allocations: 67.42 kB / 0.6928 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of SimCode: time 5.11e-07/0.5413, allocations: 0 / 0.6928 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of Templates: time 0.03171/0.573, allocations: 18.92 MB / 0.7112 GB, free: 11.69 MB / 0.5137 GB 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)