Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.conf.json 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/Modelica 4.0.0+maint.om/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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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_release_OpenIPSL.Tests.FACTS.TCSC_Test") translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008608/0.008608, allocations: 167.8 kB / 15.13 MB, free: 6.023 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.532/1.532, allocations: 223.3 MB / 239.1 MB, free: 15.96 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008221/0.0008225, allocations: 96.59 kB / 290.3 MB, free: 4.52 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4816/0.4816, allocations: 78.62 MB / 420 MB, free: 36.35 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003574/0.0003575, allocations: 8 kB / 499.9 MB, free: 7.254 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1371, allocations: 69.35 MB / 0.5559 GB, free: 1.836 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.005432/0.1426, allocations: 5.529 MB / 0.5613 GB, free: 12.28 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003878/0.1465, allocations: 1.779 MB / 0.563 GB, free: 10.5 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005603/0.1471, allocations: 15.94 kB / 0.563 GB, free: 10.48 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005677/0.1477, allocations: 154.9 kB / 0.5632 GB, free: 10.33 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001434/0.1491, allocations: 0.5807 MB / 0.5638 GB, free: 9.754 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009677/0.1501, allocations: 454.2 kB / 0.5642 GB, free: 9.312 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001155/0.1513, allocations: 1.269 MB / 0.5654 GB, free: 8.039 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003734/0.1516, allocations: 219.5 kB / 0.5656 GB, free: 7.812 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005584/0.1522, allocations: 497.8 kB / 0.5661 GB, free: 7.324 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000588/0.1528, allocations: 0.5754 MB / 0.5667 GB, free: 6.746 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001038/0.1529, allocations: 48 kB / 0.5667 GB, free: 6.699 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003549/0.1533, allocations: 175.9 kB / 0.5669 GB, free: 6.527 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001846/0.1535, allocations: 203 kB / 0.5671 GB, free: 6.328 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001863/0.1537, allocations: 205.1 kB / 0.5673 GB, free: 6.121 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008889/0.1546, allocations: 1.021 MB / 0.5683 GB, free: 5.098 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1546, allocations: 0 / 0.5683 GB, free: 5.098 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1546, allocations: 0 / 0.5683 GB, free: 5.098 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.549e-05/0.1546, allocations: 0 / 0.5683 GB, free: 5.098 MB / 442.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.006488/0.1611, allocations: 2.084 MB / 0.5703 GB, free: 2.961 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.1612, allocations: 8.031 kB / 0.5703 GB, free: 2.953 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003367/0.1645, allocations: 0.5681 MB / 0.5709 GB, free: 2.383 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001293/0.1658, allocations: 0.7417 MB / 0.5716 GB, free: 1.586 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002479/0.1661, allocations: 213.8 kB / 0.5718 GB, free: 1.348 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.1662, allocations: 71.91 kB / 0.5719 GB, free: 1.277 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001728/0.168, allocations: 0.8771 MB / 0.5727 GB, free: 400 kB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.168, allocations: 0 / 0.5727 GB, free: 400 kB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.237e-05/0.1681, allocations: 27.95 kB / 0.5728 GB, free: 372 kB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.314e-05/0.1681, allocations: 16 kB / 0.5728 GB, free: 356 kB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2429/0.411, allocations: 0.91 MB / 0.5737 GB, free: 44.59 MB / 442.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.005323/0.4163, allocations: 3.089 MB / 0.5767 GB, free: 43.92 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0062/0.4226, allocations: 1.979 MB / 0.5786 GB, free: 43.43 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001109/0.4237, allocations: 0.6007 MB / 0.5792 GB, free: 43.41 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.741e-05/0.4238, allocations: 17.41 kB / 0.5792 GB, free: 43.41 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001215/0.425, allocations: 0.6609 MB / 0.5799 GB, free: 43.36 MB / 442.7 MB Notification: Performance of pre-optimization done (n=74): time 2.655e-06/0.425, allocations: 0 / 0.5799 GB, free: 43.36 MB / 442.7 MB Notification: Performance of matching and sorting (n=74): time 0.01918/0.4442, allocations: 5.582 MB / 0.5853 GB, free: 42.84 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.4443, allocations: 60.19 kB / 0.5854 GB, free: 42.78 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001615/0.4459, allocations: 0.9619 MB / 0.5863 GB, free: 42.63 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001418/0.4461, allocations: 40.67 kB / 0.5863 GB, free: 42.6 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003511/0.4464, allocations: 472.7 kB / 0.5868 GB, free: 42.44 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002634/0.4467, allocations: 261.9 kB / 0.587 GB, free: 42.28 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-05/0.4468, allocations: 21.16 kB / 0.5871 GB, free: 42.28 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.76e-05/0.4469, allocations: 346.5 kB / 0.5874 GB, free: 41.97 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001289/0.4482, allocations: 0.5971 MB / 0.588 GB, free: 41.96 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001427/0.4496, allocations: 0.7168 MB / 0.5887 GB, free: 41.86 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001445/0.451, allocations: 0.6376 MB / 0.5893 GB, free: 41.83 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.4511, allocations: 0.5156 kB / 0.5893 GB, free: 41.83 MB / 442.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00949/0.4606, allocations: 3.332 MB / 0.5926 GB, free: 41.21 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.098e-05/0.4606, allocations: 7.5 kB / 0.5926 GB, free: 41.21 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.4606, allocations: 3.125 kB / 0.5926 GB, free: 41.21 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004862/0.4655, allocations: 1.48 MB / 0.594 GB, free: 40.97 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/0.4666, allocations: 194.8 kB / 0.5942 GB, free: 40.95 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01095/0.4775, allocations: 5.728 MB / 0.5998 GB, free: 38.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001588/0.4791, allocations: 180.2 kB / 0.6 GB, free: 38.03 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.494e-05/0.4793, allocations: 39.56 kB / 0.6 GB, free: 38.02 MB / 442.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 ($whenCondition1,$whenCondition2) * 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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {14 8} Notification: Performance of prepare postOptimizeDAE: time 0.0004868/0.4797, allocations: 234 kB / 0.6002 GB, free: 37.82 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001628/0.4799, allocations: 111.6 kB / 0.6003 GB, free: 37.77 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008738/0.4887, allocations: 3.156 MB / 0.6034 GB, free: 37 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.782e-05/0.4887, allocations: 9.281 kB / 0.6034 GB, free: 37 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.4887, allocations: 0 / 0.6034 GB, free: 37 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.896e-05/0.4888, allocations: 3.141 kB / 0.6034 GB, free: 37 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01047/0.4992, allocations: 4.53 MB / 0.6078 GB, free: 35.38 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/0.4993, allocations: 0 / 0.6078 GB, free: 35.38 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005064/0.4998, allocations: 91.42 kB / 0.6079 GB, free: 35.37 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005044/0.5049, allocations: 1.535 MB / 0.6094 GB, free: 35.11 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001119/0.505, allocations: 12.45 kB / 0.6094 GB, free: 35.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01233/0.5173, allocations: 5.889 MB / 0.6152 GB, free: 32.05 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.5174, allocations: 6.953 kB / 0.6152 GB, free: 32.05 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01082/0.5282, allocations: 3.907 MB / 0.619 GB, free: 30.91 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003694/0.5286, allocations: 206.8 kB / 0.6192 GB, free: 30.73 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001336/0.5288, allocations: 20.09 kB / 0.6192 GB, free: 30.72 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/0.5298, allocations: 109.7 kB / 0.6193 GB, free: 30.71 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004462/0.5303, allocations: 153.8 kB / 0.6195 GB, free: 30.69 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-05/0.5303, allocations: 28.02 kB / 0.6195 GB, free: 30.68 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001033/0.5314, allocations: 0.65 MB / 0.6201 GB, free: 30.4 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.5314, allocations: 0 / 0.6201 GB, free: 30.4 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001119/0.5325, allocations: 353.7 kB / 0.6205 GB, free: 30.35 MB / 442.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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {15 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002414/0.5328, allocations: 125.7 kB / 0.6206 GB, free: 30.25 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005193/0.538, allocations: 2.039 MB / 0.6226 GB, free: 29.47 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.538, allocations: 0 / 0.6226 GB, free: 29.47 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003785/0.5418, allocations: 1.34 MB / 0.6239 GB, free: 28.92 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.5429, allocations: 93.38 kB / 0.624 GB, free: 28.86 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003351/0.5462, allocations: 2.086 MB / 0.626 GB, free: 27.66 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005761/0.5468, allocations: 1.046 MB / 0.6271 GB, free: 26.95 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003873/0.5472, allocations: 98.09 kB / 0.6271 GB, free: 26.93 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002105/0.5474, allocations: 62.27 kB / 0.6272 GB, free: 26.92 MB / 442.7 MB Notification: Performance of SimCode: time 2.104e-06/0.5474, allocations: 1.375 kB / 0.6272 GB, free: 26.92 MB / 442.7 MB Notification: Performance of Templates: time 0.02242/0.5699, allocations: 16.1 MB / 0.6429 GB, free: 15.38 MB / 442.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.sim & ./OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1)