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.001367/0.001367, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.437/1.437, allocations: 222.9 MB / 240.1 MB, free: 4.379 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.001877/0.001877, allocations: 184.5 kB / 290.4 MB, free: 2.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4744/0.4744, allocations: 78.53 MB / 419.1 MB, free: 3.086 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 83.8 kB / 0.5542 GB, free: 1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4051/0.4071, allocations: 68.17 MB / 0.6208 GB, free: 9.652 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.005421/0.4126, allocations: 6.012 MB / 0.6267 GB, free: 4.215 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003678/0.4163, allocations: 1.841 MB / 0.6285 GB, free: 2.367 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008958/0.4173, allocations: 11.94 kB / 0.6285 GB, free: 2.355 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007417/0.4181, allocations: 206.2 kB / 0.6287 GB, free: 2.152 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001918/0.42, allocations: 0.7095 MB / 0.6294 GB, free: 1.441 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.4211, allocations: 0.5379 MB / 0.6299 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001643/0.4227, allocations: 1.421 MB / 0.6313 GB, free: 15.48 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004705/0.4232, allocations: 287.3 kB / 0.6316 GB, free: 15.18 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008065/0.424, allocations: 0.5602 MB / 0.6321 GB, free: 14.62 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007966/0.4249, allocations: 0.6454 MB / 0.6328 GB, free: 13.97 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001624/0.425, allocations: 100 kB / 0.6328 GB, free: 13.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005427/0.4256, allocations: 239.8 kB / 0.6331 GB, free: 13.64 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002628/0.4258, allocations: 262.9 kB / 0.6333 GB, free: 13.38 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005086/0.4264, allocations: 0.567 MB / 0.6339 GB, free: 12.81 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001624/0.428, allocations: 1.395 MB / 0.6352 GB, free: 11.42 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.428, allocations: 3.984 kB / 0.6352 GB, free: 11.41 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.428, allocations: 4 kB / 0.6353 GB, free: 11.41 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.021e-05/0.4281, allocations: 0 / 0.6353 GB, free: 11.41 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.007619/0.4357, allocations: 2.224 MB / 0.6374 GB, free: 9.133 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.4357, allocations: 8.031 kB / 0.6374 GB, free: 9.125 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003572/0.4393, allocations: 0.5648 MB / 0.638 GB, free: 8.559 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001628/0.441, allocations: 0.7875 MB / 0.6388 GB, free: 7.711 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002866/0.4413, allocations: 209.8 kB / 0.639 GB, free: 7.473 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001417/0.4414, allocations: 67.94 kB / 0.639 GB, free: 7.406 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001851/0.4433, allocations: 0.8341 MB / 0.6398 GB, free: 6.566 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.4433, allocations: 0 / 0.6398 GB, free: 6.566 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.872e-05/0.4434, allocations: 24 kB / 0.6399 GB, free: 6.543 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/0.4434, allocations: 27.88 kB / 0.6399 GB, free: 6.516 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001934/0.4454, allocations: 0.8523 MB / 0.6407 GB, free: 5.664 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.006347/0.4517, allocations: 3.035 MB / 0.6437 GB, free: 2.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006546/0.4583, allocations: 1.698 MB / 0.6453 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001256/0.4596, allocations: 0.5537 MB / 0.6459 GB, free: 148 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.925e-05/0.4597, allocations: 8.656 kB / 0.6459 GB, free: 136 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001514/0.4612, allocations: 0.6172 MB / 0.6465 GB, free: 15.5 MB / 462.1 MB Notification: Performance of pre-optimization done (n=74): time 4.598e-06/0.4613, allocations: 7.938 kB / 0.6465 GB, free: 15.49 MB / 462.1 MB Notification: Performance of matching and sorting (n=74): time 0.0197/0.481, allocations: 4.698 MB / 0.6511 GB, free: 10.74 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.761e-05/0.4811, allocations: 64.06 kB / 0.6511 GB, free: 10.67 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001787/0.4829, allocations: 0.966 MB / 0.6521 GB, free: 9.684 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002139/0.4831, allocations: 37.7 kB / 0.6521 GB, free: 9.641 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004153/0.4835, allocations: 472.2 kB / 0.6526 GB, free: 9.172 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003972/0.4839, allocations: 268.2 kB / 0.6528 GB, free: 8.906 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004733/0.4844, allocations: 178.5 kB / 0.653 GB, free: 8.727 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.4846, allocations: 341.9 kB / 0.6533 GB, free: 8.387 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00127/0.4858, allocations: 0.5564 MB / 0.6539 GB, free: 7.828 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001445/0.4873, allocations: 0.6672 MB / 0.6545 GB, free: 7.133 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01791/0.5052, allocations: 4.042 MB / 0.6585 GB, free: 3.055 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.196e-05/0.5053, allocations: 4 kB / 0.6585 GB, free: 3.051 MB / 462.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.009806/0.5151, allocations: 2.827 MB / 0.6612 GB, free: 212 kB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.948e-05/0.5152, allocations: 11.98 kB / 0.6612 GB, free: 200 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.337e-05/0.5153, allocations: 3.938 kB / 0.6612 GB, free: 196 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00552/0.5208, allocations: 1.269 MB / 0.6625 GB, free: 14.92 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/0.522, allocations: 191.7 kB / 0.6627 GB, free: 14.73 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01346/0.5355, allocations: 5.685 MB / 0.6682 GB, free: 8.902 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001598/0.5372, allocations: 147 kB / 0.6684 GB, free: 8.758 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002325/0.5374, allocations: 43.97 kB / 0.6684 GB, free: 8.715 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.0006924/0.5381, allocations: 233.5 kB / 0.6686 GB, free: 8.477 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003233/0.5385, allocations: 110.6 kB / 0.6687 GB, free: 8.367 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009002/0.5475, allocations: 2.657 MB / 0.6713 GB, free: 5.699 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.199e-05/0.5475, allocations: 12 kB / 0.6713 GB, free: 5.688 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.5476, allocations: 0 / 0.6713 GB, free: 5.688 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.138e-05/0.5476, allocations: 7.984 kB / 0.6713 GB, free: 5.68 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01143/0.559, allocations: 4.023 MB / 0.6753 GB, free: 1.543 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.435e-05/0.5591, allocations: 0 / 0.6753 GB, free: 1.543 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006079/0.5597, allocations: 91.77 kB / 0.6754 GB, free: 1.453 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005148/0.5649, allocations: 1.322 MB / 0.6767 GB, free: 128 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001791/0.5651, allocations: 12 kB / 0.6767 GB, free: 116 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01417/0.5793, allocations: 6.006 MB / 0.6825 GB, free: 9.965 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.5793, allocations: 4 kB / 0.6825 GB, free: 9.961 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01086/0.5902, allocations: 3.372 MB / 0.6858 GB, free: 6.559 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004485/0.5907, allocations: 199.6 kB / 0.686 GB, free: 6.344 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003337/0.5911, allocations: 16 kB / 0.686 GB, free: 6.328 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/0.5922, allocations: 87.89 kB / 0.6861 GB, free: 6.242 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005558/0.5928, allocations: 152.4 kB / 0.6863 GB, free: 6.094 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/0.5929, allocations: 19.98 kB / 0.6863 GB, free: 6.074 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001237/0.5942, allocations: 0.6631 MB / 0.6869 GB, free: 5.402 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5942, allocations: 0 / 0.6869 GB, free: 5.402 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001426/0.5956, allocations: 351.8 kB / 0.6873 GB, free: 5.059 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.0003561/0.596, allocations: 126.7 kB / 0.6874 GB, free: 4.93 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005403/0.6014, allocations: 1.885 MB / 0.6892 GB, free: 3.012 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.6015, allocations: 0 / 0.6892 GB, free: 3.012 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003721/0.6052, allocations: 1.204 MB / 0.6904 GB, free: 1.77 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001246/0.6065, allocations: 108.4 kB / 0.6905 GB, free: 1.668 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004159/0.6107, allocations: 1.819 MB / 0.6923 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007487/0.6114, allocations: 1.053 MB / 0.6933 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000393/0.6119, allocations: 67.42 kB / 0.6934 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of SimCode: time 5.71e-07/0.6119, allocations: 0 / 0.6934 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of Templates: time 0.0319/0.6438, allocations: 21.88 MB / 0.7147 GB, free: 8.77 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)