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.001144/0.001144, allocations: 109.5 kB / 16.42 MB, free: 6.434 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.381/1.381, allocations: 222.9 MB / 240.1 MB, free: 4.504 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.001474/0.001474, allocations: 188.5 kB / 290.4 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5216/0.5216, allocations: 91.91 MB / 432.5 MB, free: 9.164 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 77.09 kB / 0.5734 GB, free: 33.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1259, allocations: 71.29 MB / 0.643 GB, free: 3.605 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.006996/0.1329, allocations: 6.018 MB / 0.6489 GB, free: 13.56 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003947/0.1369, allocations: 1.841 MB / 0.6507 GB, free: 11.71 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008957/0.1378, allocations: 11.94 kB / 0.6507 GB, free: 11.7 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008701/0.1387, allocations: 214.1 kB / 0.6509 GB, free: 11.49 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002228/0.141, allocations: 0.7488 MB / 0.6516 GB, free: 10.74 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001306/0.1423, allocations: 0.5399 MB / 0.6521 GB, free: 10.2 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001892/0.1442, allocations: 1.421 MB / 0.6535 GB, free: 8.777 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004728/0.1447, allocations: 283.3 kB / 0.6538 GB, free: 8.488 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008243/0.1455, allocations: 0.5679 MB / 0.6543 GB, free: 7.918 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008819/0.1464, allocations: 0.6416 MB / 0.655 GB, free: 7.273 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001856/0.1466, allocations: 100 kB / 0.6551 GB, free: 7.176 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005453/0.1472, allocations: 231.9 kB / 0.6553 GB, free: 6.949 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002599/0.1474, allocations: 270.9 kB / 0.6555 GB, free: 6.684 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005455/0.148, allocations: 0.5708 MB / 0.6561 GB, free: 6.109 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001775/0.1498, allocations: 1.4 MB / 0.6575 GB, free: 4.703 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.1498, allocations: 0 / 0.6575 GB, free: 4.703 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1498, allocations: 0 / 0.6575 GB, free: 4.703 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.852e-05/0.1498, allocations: 0 / 0.6575 GB, free: 4.703 MB / 462.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.007303/0.1571, allocations: 2.271 MB / 0.6597 GB, free: 2.379 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.129e-05/0.1572, allocations: 8.031 kB / 0.6597 GB, free: 2.371 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003555/0.1608, allocations: 0.5734 MB / 0.6603 GB, free: 1.797 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001774/0.1626, allocations: 0.7885 MB / 0.661 GB, free: 0.9531 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003152/0.1629, allocations: 217.7 kB / 0.6612 GB, free: 0.707 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001999/0.1631, allocations: 64 kB / 0.6613 GB, free: 0.6445 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001851/0.165, allocations: 0.8302 MB / 0.6621 GB, free: 15.81 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.165, allocations: 0 / 0.6621 GB, free: 15.81 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.973e-05/0.1651, allocations: 27.98 kB / 0.6621 GB, free: 15.78 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.961e-05/0.1651, allocations: 19.94 kB / 0.6622 GB, free: 15.76 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001763/0.1669, allocations: 0.8484 MB / 0.663 GB, free: 14.91 MB / 478.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.005341/0.1723, allocations: 3.047 MB / 0.666 GB, free: 11.74 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006284/0.1786, allocations: 1.709 MB / 0.6676 GB, free: 9.926 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00131/0.1799, allocations: 0.5498 MB / 0.6682 GB, free: 9.371 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001223/0.1801, allocations: 16.62 kB / 0.6682 GB, free: 9.355 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001525/0.1816, allocations: 0.6133 MB / 0.6688 GB, free: 8.727 MB / 478.1 MB Notification: Performance of pre-optimization done (n=74): time 4.288e-06/0.1816, allocations: 0 / 0.6688 GB, free: 8.727 MB / 478.1 MB Notification: Performance of matching and sorting (n=74): time 0.01904/0.2007, allocations: 4.711 MB / 0.6734 GB, free: 3.965 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.2008, allocations: 60.06 kB / 0.6734 GB, free: 3.895 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00165/0.2024, allocations: 0.9661 MB / 0.6744 GB, free: 2.91 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001721/0.2026, allocations: 37.7 kB / 0.6744 GB, free: 2.867 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000394/0.203, allocations: 480.8 kB / 0.6749 GB, free: 2.391 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003461/0.2034, allocations: 277.6 kB / 0.6751 GB, free: 2.117 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004139/0.2038, allocations: 182.6 kB / 0.6753 GB, free: 1.93 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.2039, allocations: 341.9 kB / 0.6756 GB, free: 1.59 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001232/0.2052, allocations: 0.5524 MB / 0.6762 GB, free: 1.039 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001328/0.2065, allocations: 0.6672 MB / 0.6768 GB, free: 348 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01806/0.2246, allocations: 4.034 MB / 0.6808 GB, free: 12.27 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.209e-05/0.2246, allocations: 7.938 kB / 0.6808 GB, free: 12.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.009619/0.2343, allocations: 2.84 MB / 0.6835 GB, free: 9.41 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.328e-05/0.2343, allocations: 8 kB / 0.6836 GB, free: 9.402 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/0.2344, allocations: 0 / 0.6836 GB, free: 9.402 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005018/0.2394, allocations: 1.276 MB / 0.6848 GB, free: 8.121 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/0.2407, allocations: 187.7 kB / 0.685 GB, free: 7.938 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01351/0.2542, allocations: 5.681 MB / 0.6905 GB, free: 2.117 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001783/0.256, allocations: 159.2 kB / 0.6907 GB, free: 1.961 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002644/0.2563, allocations: 35.98 kB / 0.6907 GB, free: 1.926 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.0008915/0.2572, allocations: 229.6 kB / 0.6909 GB, free: 1.691 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004029/0.2576, allocations: 119.2 kB / 0.691 GB, free: 1.574 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008794/0.2665, allocations: 2.665 MB / 0.6937 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.056e-05/0.2665, allocations: 3.984 kB / 0.6937 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.2665, allocations: 0 / 0.6937 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003799/0.2669, allocations: 200.1 kB / 0.6938 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002656/0.2672, allocations: 19.98 kB / 0.6939 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001134/0.2683, allocations: 87.84 kB / 0.6939 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009481/0.2693, allocations: 296.2 kB / 0.6942 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005209/0.2745, allocations: 1.613 MB / 0.6958 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003643/0.2782, allocations: 1.778 MB / 0.6975 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001041/0.2793, allocations: 457 kB / 0.698 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001156/0.2805, allocations: 0.6553 MB / 0.6986 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of Backend: time 4.1e-07/0.2805, allocations: 0 / 0.6986 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004702/0.2852, allocations: 1.569 MB / 0.7002 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of SimCode: time 0.00336/0.2886, allocations: 2.374 MB / 0.7025 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of Templates: time 0.03204/0.3206, allocations: 18.51 MB / 0.7205 GB, free: 3.191 MB / 0.5137 GB 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)