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/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) 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 3.2.3+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 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 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1004/0.1004, allocations: 12.59 MB / 28.22 MB, free: 0.7734 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 111.4 kB / 31.84 MB, free: 3.906 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.308/1.308, allocations: 205.1 MB / 240.4 MB, free: 12.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 184.5 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4228/0.4228, allocations: 78.51 MB / 419.3 MB, free: 11.25 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002428/0.002428, allocations: 137.8 kB / 0.5558 GB, free: 28.55 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1105, allocations: 68.13 MB / 0.6223 GB, free: 15.47 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.006521/0.1171, allocations: 6.052 MB / 0.6283 GB, free: 9.387 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003416/0.1205, allocations: 1.818 MB / 0.63 GB, free: 7.562 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004761/0.121, allocations: 15.94 kB / 0.63 GB, free: 7.547 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000616/0.1216, allocations: 206.2 kB / 0.6302 GB, free: 7.344 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00153/0.1232, allocations: 0.7426 MB / 0.631 GB, free: 6.598 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.1243, allocations: 0.5417 MB / 0.6315 GB, free: 6.059 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001263/0.1255, allocations: 1.425 MB / 0.6329 GB, free: 4.629 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004088/0.126, allocations: 279.2 kB / 0.6332 GB, free: 4.34 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006417/0.1266, allocations: 0.5602 MB / 0.6337 GB, free: 3.777 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007115/0.1273, allocations: 0.6611 MB / 0.6344 GB, free: 3.113 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001439/0.1275, allocations: 100 kB / 0.6344 GB, free: 3.016 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004072/0.1279, allocations: 231.9 kB / 0.6347 GB, free: 2.789 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002391/0.1282, allocations: 262.9 kB / 0.6349 GB, free: 2.531 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004829/0.1286, allocations: 0.5708 MB / 0.6355 GB, free: 1.957 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001539/0.1302, allocations: 1.4 MB / 0.6368 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1302, allocations: 0 / 0.6368 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1302, allocations: 4 kB / 0.6368 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.713e-05/0.1302, allocations: 0 / 0.6368 GB, free: 0.5469 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.00712/0.1374, allocations: 2.27 MB / 0.6391 GB, free: 14.22 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.1374, allocations: 11.98 kB / 0.6391 GB, free: 14.21 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003456/0.1409, allocations: 0.5656 MB / 0.6396 GB, free: 13.64 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001367/0.1423, allocations: 0.7963 MB / 0.6404 GB, free: 12.79 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002352/0.1425, allocations: 209.7 kB / 0.6406 GB, free: 12.55 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/0.1427, allocations: 64 kB / 0.6407 GB, free: 12.49 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001753/0.1444, allocations: 0.8379 MB / 0.6415 GB, free: 11.64 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.1444, allocations: 0 / 0.6415 GB, free: 11.64 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.462e-05/0.1445, allocations: 24 kB / 0.6415 GB, free: 11.62 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.573e-05/0.1446, allocations: 19.94 kB / 0.6415 GB, free: 11.6 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001858/0.1464, allocations: 0.8523 MB / 0.6424 GB, free: 10.75 MB / 462.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.005293/0.1517, allocations: 3.035 MB / 0.6453 GB, free: 7.59 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006185/0.1579, allocations: 1.709 MB / 0.647 GB, free: 5.785 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001133/0.1591, allocations: 0.5512 MB / 0.6475 GB, free: 5.234 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.775e-05/0.1592, allocations: 16.58 kB / 0.6475 GB, free: 5.215 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001324/0.1605, allocations: 0.625 MB / 0.6482 GB, free: 4.578 MB / 462.1 MB Notification: Performance of pre-optimization done (n=74): time 2.775e-06/0.1605, allocations: 0 / 0.6482 GB, free: 4.578 MB / 462.1 MB Notification: Performance of matching and sorting (n=74): time 0.01872/0.1792, allocations: 4.703 MB / 0.6527 GB, free: 15.82 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.1793, allocations: 64.06 kB / 0.6528 GB, free: 15.74 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001535/0.1809, allocations: 0.9661 MB / 0.6538 GB, free: 14.76 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.833e-05/0.181, allocations: 41.7 kB / 0.6538 GB, free: 14.71 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003567/0.1813, allocations: 472.8 kB / 0.6542 GB, free: 14.24 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002777/0.1816, allocations: 277.7 kB / 0.6545 GB, free: 13.97 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003802/0.182, allocations: 186.5 kB / 0.6547 GB, free: 13.78 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.1821, allocations: 341.9 kB / 0.655 GB, free: 13.44 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001253/0.1834, allocations: 0.5524 MB / 0.6556 GB, free: 12.89 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001318/0.1847, allocations: 0.6672 MB / 0.6562 GB, free: 12.19 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0172/0.2019, allocations: 4.038 MB / 0.6601 GB, free: 8.113 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.737e-06/0.202, allocations: 3.938 kB / 0.6602 GB, free: 8.109 MB / 478.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.009013/0.211, allocations: 2.84 MB / 0.6629 GB, free: 5.254 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.211, allocations: 15.98 kB / 0.6629 GB, free: 5.238 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.211, allocations: 3.984 kB / 0.6629 GB, free: 5.234 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004757/0.2158, allocations: 1.262 MB / 0.6642 GB, free: 3.965 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009281/0.2168, allocations: 191.7 kB / 0.6644 GB, free: 3.777 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01262/0.2294, allocations: 5.679 MB / 0.6699 GB, free: 13.96 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/0.2308, allocations: 155.3 kB / 0.6701 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001325/0.2309, allocations: 39.97 kB / 0.6701 GB, free: 13.77 MB / 494.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.0004839/0.2314, allocations: 235.6 kB / 0.6703 GB, free: 13.53 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002679/0.2317, allocations: 119.2 kB / 0.6704 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008997/0.2407, allocations: 2.661 MB / 0.673 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.2407, allocations: 4 kB / 0.673 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.2407, allocations: 7.938 kB / 0.673 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.2408, allocations: 3.984 kB / 0.673 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01054/0.2513, allocations: 4.023 MB / 0.677 GB, free: 6.578 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.2513, allocations: 0 / 0.677 GB, free: 6.578 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005127/0.2519, allocations: 87.89 kB / 0.6771 GB, free: 6.492 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005009/0.2569, allocations: 1.325 MB / 0.6783 GB, free: 5.16 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.072e-05/0.257, allocations: 16 kB / 0.6784 GB, free: 5.145 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01358/0.2706, allocations: 6.02 MB / 0.6842 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.2706, allocations: 4 kB / 0.6842 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01047/0.2811, allocations: 3.377 MB / 0.6875 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004939/0.2816, allocations: 204.3 kB / 0.6877 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002687/0.2819, allocations: 16 kB / 0.6878 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001102/0.283, allocations: 87.89 kB / 0.6878 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005318/0.2836, allocations: 152.4 kB / 0.688 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.451e-05/0.2837, allocations: 19.98 kB / 0.688 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00121/0.2849, allocations: 0.6631 MB / 0.6887 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2849, allocations: 3.938 kB / 0.6887 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001318/0.2862, allocations: 351.7 kB / 0.689 GB, free: 10.07 MB / 0.4981 GB 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.0002957/0.2865, allocations: 123.7 kB / 0.6891 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00514/0.2917, allocations: 1.882 MB / 0.6909 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.2917, allocations: 8.125 kB / 0.691 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003531/0.2953, allocations: 1.207 MB / 0.6921 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009388/0.2962, allocations: 100.3 kB / 0.6922 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004402/0.3006, allocations: 1.815 MB / 0.694 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007624/0.3014, allocations: 1.042 MB / 0.695 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003981/0.3018, allocations: 106.7 kB / 0.6951 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000244/0.3021, allocations: 63.42 kB / 0.6952 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of SimCode: time 9.22e-07/0.3021, allocations: 3.938 kB / 0.6952 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of Templates: time 0.02992/0.332, allocations: 18.93 MB / 0.7137 GB, free: 0.6641 MB / 0.5137 GB 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)