Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test") translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00162/0.00162, allocations: 183.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.345/1.345, allocations: 205.1 MB / 221.8 MB, free: 8.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009237/0.0009236, allocations: 97.17 kB / 269.2 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06959/0.06959, allocations: 12.59 MB / 329.1 MB, free: 12.4 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3053/0.3053, allocations: 78.52 MB / 457.8 MB, free: 13.71 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001821/0.001821, allocations: 105.6 kB / 0.5254 GB, free: 19.73 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1469, allocations: 68.13 MB / 0.592 GB, free: 15.67 MB / 394.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.006995/0.154, allocations: 6.36 MB / 0.5982 GB, free: 9.27 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.003764/0.1578, allocations: 1.853 MB / 0.6 GB, free: 7.406 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006797/0.1585, allocations: 19.94 kB / 0.6 GB, free: 7.387 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007462/0.1592, allocations: 166.9 kB / 0.6002 GB, free: 7.223 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001583/0.1609, allocations: 0.6289 MB / 0.6008 GB, free: 6.594 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.1619, allocations: 0.5029 MB / 0.6013 GB, free: 6.094 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001256/0.1632, allocations: 1.359 MB / 0.6026 GB, free: 4.73 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003619/0.1636, allocations: 255.7 kB / 0.6028 GB, free: 4.473 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006062/0.1642, allocations: 0.5132 MB / 0.6033 GB, free: 3.957 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006566/0.1649, allocations: 0.622 MB / 0.604 GB, free: 3.332 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001222/0.165, allocations: 60 kB / 0.604 GB, free: 3.273 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004057/0.1654, allocations: 191.9 kB / 0.6042 GB, free: 3.086 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002116/0.1656, allocations: 230.8 kB / 0.6044 GB, free: 2.859 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004346/0.1661, allocations: 0.524 MB / 0.6049 GB, free: 2.332 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001206/0.1673, allocations: 1.339 MB / 0.6062 GB, free: 0.9883 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1673, allocations: 0 / 0.6062 GB, free: 0.9883 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.041e-06/0.1673, allocations: 0 / 0.6062 GB, free: 0.9883 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.139e-05/0.1673, allocations: 0 / 0.6062 GB, free: 0.9883 MB / 394.7 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.007185/0.1745, allocations: 2.239 MB / 0.6084 GB, free: 14.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.1746, allocations: 11.98 kB / 0.6084 GB, free: 14.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003224/0.1778, allocations: 0.5609 MB / 0.609 GB, free: 14.12 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001503/0.1793, allocations: 0.772 MB / 0.6097 GB, free: 13.29 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002818/0.1796, allocations: 217.7 kB / 0.6099 GB, free: 13.05 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/0.1798, allocations: 68 kB / 0.61 GB, free: 12.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001668/0.1815, allocations: 0.8263 MB / 0.6108 GB, free: 12.15 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.1815, allocations: 0 / 0.6108 GB, free: 12.15 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.551e-05/0.1816, allocations: 31.98 kB / 0.6108 GB, free: 12.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.837e-05/0.1816, allocations: 19.94 kB / 0.6109 GB, free: 12.1 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001755/0.1834, allocations: 0.8445 MB / 0.6117 GB, free: 11.25 MB / 410.7 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.005703/0.1891, allocations: 3.054 MB / 0.6147 GB, free: 8.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006352/0.1954, allocations: 1.706 MB / 0.6163 GB, free: 6.262 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001184/0.1967, allocations: 0.5498 MB / 0.6169 GB, free: 5.711 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.958e-05/0.1968, allocations: 16.62 kB / 0.6169 GB, free: 5.695 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001296/0.1981, allocations: 0.6172 MB / 0.6175 GB, free: 5.066 MB / 410.7 MB Notification: Performance of pre-optimization done (n=74): time 6.011e-06/0.1981, allocations: 0 / 0.6175 GB, free: 5.066 MB / 410.7 MB Notification: Performance of matching and sorting (n=74): time 0.01901/0.2171, allocations: 4.71 MB / 0.6221 GB, free: 308 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.2172, allocations: 60.06 kB / 0.6221 GB, free: 236 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0017/0.2189, allocations: 0.9661 MB / 0.6231 GB, free: 15.25 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001668/0.2191, allocations: 37.7 kB / 0.6231 GB, free: 15.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003966/0.2195, allocations: 468.2 kB / 0.6236 GB, free: 14.74 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003359/0.2199, allocations: 260.2 kB / 0.6238 GB, free: 14.48 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004553/0.2203, allocations: 190.5 kB / 0.624 GB, free: 14.29 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.2205, allocations: 341.9 kB / 0.6243 GB, free: 13.95 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001255/0.2217, allocations: 0.5485 MB / 0.6249 GB, free: 13.4 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001318/0.2231, allocations: 0.6711 MB / 0.6255 GB, free: 12.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0176/0.2407, allocations: 4.045 MB / 0.6295 GB, free: 8.621 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-06/0.2407, allocations: 0 / 0.6295 GB, free: 8.621 MB / 426.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.009874/0.2506, allocations: 2.843 MB / 0.6322 GB, free: 5.762 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.806e-05/0.2507, allocations: 4 kB / 0.6323 GB, free: 5.758 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/0.2507, allocations: 4 kB / 0.6323 GB, free: 5.754 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004992/0.2557, allocations: 1.266 MB / 0.6335 GB, free: 4.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/0.2569, allocations: 187.7 kB / 0.6337 GB, free: 4.297 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2873/0.5441, allocations: 5.221 MB / 0.6388 GB, free: 49.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001593/0.5458, allocations: 151.8 kB / 0.6389 GB, free: 49.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.913e-05/0.5459, allocations: 35.86 kB / 0.6389 GB, free: 49.82 MB / 426.7 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.0004668/0.5463, allocations: 236.1 kB / 0.6392 GB, free: 49.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001889/0.5465, allocations: 114.6 kB / 0.6393 GB, free: 49.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009683/0.5562, allocations: 2.653 MB / 0.6419 GB, free: 49.46 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-05/0.5563, allocations: 10.75 kB / 0.6419 GB, free: 49.46 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.5563, allocations: 5.641 kB / 0.6419 GB, free: 49.46 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.242e-05/0.5563, allocations: 4.172 kB / 0.6419 GB, free: 49.46 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01163/0.568, allocations: 4.028 MB / 0.6458 GB, free: 47.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.265e-06/0.568, allocations: 1.156 kB / 0.6458 GB, free: 47.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005369/0.5686, allocations: 88.39 kB / 0.6459 GB, free: 47.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005548/0.5741, allocations: 1.315 MB / 0.6472 GB, free: 47.77 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001089/0.5742, allocations: 12.77 kB / 0.6472 GB, free: 47.76 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01285/0.5871, allocations: 5.46 MB / 0.6525 GB, free: 44.87 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.5871, allocations: 3.875 kB / 0.6525 GB, free: 44.87 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05973/0.6469, allocations: 21.58 MB / 0.6736 GB, free: 32.06 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003292/0.6473, allocations: 191.7 kB / 0.6738 GB, free: 31.86 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003286/0.6476, allocations: 12 kB / 0.6738 GB, free: 31.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/0.6487, allocations: 87.89 kB / 0.6739 GB, free: 31.76 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005752/0.6493, allocations: 152.3 kB / 0.674 GB, free: 31.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.901e-05/0.6494, allocations: 24 kB / 0.6741 GB, free: 31.59 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009662/0.6504, allocations: 0.6628 MB / 0.6747 GB, free: 30.92 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.32e-07/0.6504, allocations: 0 / 0.6747 GB, free: 30.92 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001725/0.6521, allocations: 499.5 kB / 0.6752 GB, free: 30.43 MB / 426.7 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.0003014/0.6525, allocations: 122 kB / 0.6753 GB, free: 30.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004685/0.6571, allocations: 1.843 MB / 0.6771 GB, free: 28.43 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.6572, allocations: 4.062 kB / 0.6771 GB, free: 28.43 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003131/0.6603, allocations: 1.191 MB / 0.6783 GB, free: 27.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009075/0.6612, allocations: 98.97 kB / 0.6784 GB, free: 27.11 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00595/0.6672, allocations: 3.096 MB / 0.6814 GB, free: 23.97 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005843/0.6678, allocations: 1.08 MB / 0.6824 GB, free: 22.86 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004532/0.6683, allocations: 106.6 kB / 0.6825 GB, free: 22.75 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002485/0.6685, allocations: 63.42 kB / 0.6826 GB, free: 22.69 MB / 426.7 MB Notification: Performance of SimCode: time 1.002e-06/0.6685, allocations: 0 / 0.6826 GB, free: 22.69 MB / 426.7 MB Notification: Performance of Templates: time 0.03478/0.7033, allocations: 23.57 MB / 0.7056 GB, free: 15.17 MB / 442.7 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1)