Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.FACTS.TCSC_Test.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo", uses=false) Using package OpenIPSL with version 2.0.0-beta.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.FACTS.TCSC_Test") translateModel(OpenIPSL.Examples.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.FACTS.TCSC_Test") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001397/0.001404, allocations: 179.1 kB / 15.43 MB, free: 5.836 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 225.7 MB / 241.9 MB, free: 208 kB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007605/0.0007601, allocations: 90.64 kB / 293.1 MB, free: 12.87 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.167/0.167, allocations: 43.18 MB / 387.4 MB, free: 15.45 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003052/0.0003053, allocations: 8.656 kB / 458.6 MB, free: 55.45 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1287, allocations: 60.5 MB / 0.5069 GB, free: 10.88 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.FACTS.TCSC_Test): time 0.009565/0.1383, allocations: 5.529 MB / 0.5123 GB, free: 5.328 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005306/0.1437, allocations: 2.425 MB / 0.5147 GB, free: 2.754 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001034/0.1448, allocations: 19.94 kB / 0.5147 GB, free: 2.734 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001191/0.146, allocations: 162.9 kB / 0.5148 GB, free: 2.574 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003523/0.1495, allocations: 0.9154 MB / 0.5157 GB, free: 1.582 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001987/0.1516, allocations: 0.6537 MB / 0.5164 GB, free: 0.8906 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002709/0.1543, allocations: 1.347 MB / 0.5177 GB, free: 15.54 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006664/0.155, allocations: 255.7 kB / 0.5179 GB, free: 15.27 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001152/0.1561, allocations: 0.4897 MB / 0.5184 GB, free: 14.78 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001518/0.1577, allocations: 0.5947 MB / 0.519 GB, free: 14.18 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000332/0.158, allocations: 52 kB / 0.519 GB, free: 14.13 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009181/0.159, allocations: 171.9 kB / 0.5192 GB, free: 13.96 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004722/0.1595, allocations: 210.8 kB / 0.5194 GB, free: 13.76 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009562/0.1604, allocations: 0.5413 MB / 0.5199 GB, free: 13.21 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002178/0.1626, allocations: 1.304 MB / 0.5212 GB, free: 11.9 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.1627, allocations: 0 / 0.5212 GB, free: 11.9 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.1627, allocations: 4 kB / 0.5212 GB, free: 11.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.921e-05/0.1627, allocations: 0 / 0.5212 GB, free: 11.89 MB / 362.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.01095/0.1737, allocations: 2.069 MB / 0.5232 GB, free: 9.773 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.1737, allocations: 12.03 kB / 0.5232 GB, free: 9.762 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006013/0.1798, allocations: 0.561 MB / 0.5238 GB, free: 9.199 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002286/0.1821, allocations: 0.7837 MB / 0.5246 GB, free: 8.359 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003895/0.1825, allocations: 217.8 kB / 0.5248 GB, free: 8.113 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002566/0.1828, allocations: 60 kB / 0.5248 GB, free: 8.055 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003063/0.1859, allocations: 0.8848 MB / 0.5257 GB, free: 7.164 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.1859, allocations: 0 / 0.5257 GB, free: 7.164 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001287/0.186, allocations: 24 kB / 0.5257 GB, free: 7.141 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.487e-05/0.1861, allocations: 23.94 kB / 0.5257 GB, free: 7.117 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003258/0.1893, allocations: 0.9109 MB / 0.5266 GB, free: 6.207 MB / 362.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.009238/0.1986, allocations: 3.097 MB / 0.5296 GB, free: 2.977 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01084/0.2095, allocations: 1.969 MB / 0.5316 GB, free: 0.9062 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002289/0.2118, allocations: 0.6061 MB / 0.5322 GB, free: 304 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001271/0.2119, allocations: 12.64 kB / 0.5322 GB, free: 292 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1987/0.4107, allocations: 0.6563 MB / 0.5328 GB, free: 32.29 MB / 362.7 MB Notification: Performance of pre-optimization done (n=74): time 3.657e-06/0.4107, allocations: 0 / 0.5328 GB, free: 32.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=74): time 0.01945/0.4302, allocations: 5.606 MB / 0.5383 GB, free: 31.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.4303, allocations: 59.16 kB / 0.5383 GB, free: 31.72 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001786/0.4321, allocations: 0.963 MB / 0.5393 GB, free: 31.33 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001056/0.4322, allocations: 36.39 kB / 0.5393 GB, free: 31.29 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003575/0.4325, allocations: 476 kB / 0.5398 GB, free: 31 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002509/0.4328, allocations: 263.6 kB / 0.54 GB, free: 30.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.334e-05/0.4329, allocations: 20.16 kB / 0.54 GB, free: 30.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.015e-05/0.433, allocations: 348 kB / 0.5404 GB, free: 30.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001225/0.4342, allocations: 0.5967 MB / 0.541 GB, free: 30.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001314/0.4355, allocations: 0.7146 MB / 0.5417 GB, free: 29.95 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0171/0.4526, allocations: 4.431 MB / 0.546 GB, free: 28.83 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.076e-05/0.4527, allocations: 1.094 kB / 0.546 GB, free: 28.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.009814/0.4625, allocations: 3.316 MB / 0.5492 GB, free: 27.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.4626, allocations: 5.5 kB / 0.5492 GB, free: 27.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.4626, allocations: 6.875 kB / 0.5492 GB, free: 27.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00495/0.4675, allocations: 1.482 MB / 0.5507 GB, free: 27.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009333/0.4685, allocations: 191.9 kB / 0.5509 GB, free: 27.13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01086/0.4794, allocations: 5.733 MB / 0.5565 GB, free: 23.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/0.4808, allocations: 181.4 kB / 0.5566 GB, free: 23.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001509/0.4809, allocations: 39.55 kB / 0.5567 GB, free: 23.4 MB / 362.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 (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.0004598/0.4814, allocations: 225.7 kB / 0.5569 GB, free: 23.17 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000217/0.4816, allocations: 114.6 kB / 0.557 GB, free: 23.05 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008115/0.4897, allocations: 3.164 MB / 0.5601 GB, free: 19.88 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.4898, allocations: 8 kB / 0.5601 GB, free: 19.87 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.4898, allocations: 0 / 0.5601 GB, free: 19.87 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.4898, allocations: 3.984 kB / 0.5601 GB, free: 19.87 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009484/0.4993, allocations: 4.528 MB / 0.5645 GB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/0.4993, allocations: 0 / 0.5645 GB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004801/0.4998, allocations: 95.89 kB / 0.5646 GB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004436/0.5043, allocations: 1.534 MB / 0.5661 GB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.863e-05/0.5044, allocations: 15.94 kB / 0.5661 GB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01103/0.5154, allocations: 5.889 MB / 0.5719 GB, free: 7.582 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.5154, allocations: 0 / 0.5719 GB, free: 7.582 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009248/0.5247, allocations: 3.922 MB / 0.5757 GB, free: 3.633 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003369/0.5251, allocations: 191.8 kB / 0.5759 GB, free: 3.426 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002098/0.5253, allocations: 19.98 kB / 0.5759 GB, free: 3.406 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009989/0.5263, allocations: 114.6 kB / 0.576 GB, free: 3.297 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004483/0.5268, allocations: 152.3 kB / 0.5762 GB, free: 3.148 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.543e-05/0.5268, allocations: 27.98 kB / 0.5762 GB, free: 3.121 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0009427/0.5278, allocations: 0.6475 MB / 0.5768 GB, free: 2.465 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.302e-06/0.5278, allocations: 4 kB / 0.5768 GB, free: 2.461 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001127/0.5289, allocations: 353.3 kB / 0.5772 GB, free: 2.117 MB / 362.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.000278/0.5292, allocations: 131.9 kB / 0.5773 GB, free: 1.984 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004808/0.534, allocations: 2.041 MB / 0.5793 GB, free: 15.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.5341, allocations: 0 / 0.5793 GB, free: 15.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003592/0.5377, allocations: 1.333 MB / 0.5806 GB, free: 14.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000856/0.5385, allocations: 96.39 kB / 0.5807 GB, free: 14.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003728/0.5423, allocations: 2.204 MB / 0.5828 GB, free: 12.23 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007506/0.543, allocations: 1.042 MB / 0.5838 GB, free: 11.16 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004076/0.5435, allocations: 102.7 kB / 0.5839 GB, free: 11.06 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002336/0.5437, allocations: 63.42 kB / 0.584 GB, free: 11 MB / 378.7 MB Notification: Performance of SimCode: time 7.81e-07/0.5437, allocations: 0 / 0.584 GB, free: 11 MB / 378.7 MB Notification: Performance of Templates: time 0.02878/0.5725, allocations: 16.58 MB / 0.6002 GB, free: 10.43 MB / 394.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.FACTS.TCSC_Test.makefile (rm -f OpenIPSL_OpenIPSL.Examples.FACTS.TCSC_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.FACTS.TCSC_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.FACTS.TCSC_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.FACTS.TCSC_Test.sim & ./OpenIPSL_OpenIPSL.Examples.FACTS.TCSC_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.FACTS.TCSC_Test.pipe 2>&1)