Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker.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/PowerGrids 1.0.2/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerGrids 1.0.2/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(PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker") translateModel(PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009721/0.000972, allocations: 181.4 kB / 15.43 MB, free: 5.773 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.3/1.3, allocations: 225.7 MB / 241.9 MB, free: 14.66 MB / 202.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.0007908/0.0007908, allocations: 92.84 kB / 293 MB, free: 4.773 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.0618/0.0618, allocations: 14.38 MB / 358.6 MB, free: 13.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004456/0.0004457, allocations: 9.188 kB / 423.2 MB, free: 97.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1035, allocations: 53.94 MB / 477.2 MB, free: 58.2 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker): time 0.01045/0.114, allocations: 10.71 MB / 487.9 MB, free: 47.46 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.008155/0.1222, allocations: 5.83 MB / 493.7 MB, free: 41.34 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001362/0.1236, allocations: 35.81 kB / 493.7 MB, free: 41.3 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001726/0.1253, allocations: 0.5639 MB / 494.3 MB, free: 40.74 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006653/0.132, allocations: 3.349 MB / 497.7 MB, free: 37.09 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001521/0.1335, allocations: 0.9428 MB / 498.6 MB, free: 36.04 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.004542/0.1381, allocations: 3.354 MB / 0.4902 GB, free: 32.67 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005488/0.1386, allocations: 217.6 kB / 0.4904 GB, free: 32.43 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001773/0.1404, allocations: 0.8706 MB / 0.4912 GB, free: 31.55 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00143/0.1419, allocations: 0.9137 MB / 0.4921 GB, free: 30.64 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000162/0.1421, allocations: 44 kB / 0.4922 GB, free: 30.59 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001738/0.1438, allocations: 411.7 kB / 0.4926 GB, free: 30.19 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001861/0.144, allocations: 194.7 kB / 0.4928 GB, free: 30 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001034/0.1451, allocations: 0.8719 MB / 0.4936 GB, free: 29.12 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002725/0.1478, allocations: 2.107 MB / 0.4957 GB, free: 27 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.1478, allocations: 0 / 0.4957 GB, free: 27 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.1478, allocations: 0 / 0.4957 GB, free: 27 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.65e-05/0.1479, allocations: 4 kB / 0.4957 GB, free: 27 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 336 * Number of variables: 336 Notification: Performance of Generate backend data structure: time 0.01016/0.158, allocations: 2.415 MB / 0.498 GB, free: 24.52 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.1581, allocations: 12.03 kB / 0.498 GB, free: 24.51 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001566/0.1597, allocations: 270.6 kB / 0.4983 GB, free: 24.24 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002372/0.1621, allocations: 1.012 MB / 0.4993 GB, free: 23.19 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/0.1622, allocations: 136.3 kB / 0.4994 GB, free: 23.05 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002088/0.1625, allocations: 127.9 kB / 0.4995 GB, free: 22.92 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002734/0.1652, allocations: 1.347 MB / 0.5009 GB, free: 21.48 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.803e-05/0.1653, allocations: 3.938 kB / 0.5009 GB, free: 21.48 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001435/0.1654, allocations: 56 kB / 0.5009 GB, free: 21.43 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.169e-05/0.1655, allocations: 32 kB / 0.5009 GB, free: 21.39 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002739/0.1682, allocations: 1.235 MB / 0.5021 GB, free: 20.15 MB / 346.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.009378/0.1776, allocations: 8.612 MB / 0.5106 GB, free: 10.61 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003369/0.181, allocations: 1.529 MB / 0.512 GB, free: 9.051 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001076/0.1821, allocations: 0.5618 MB / 0.5126 GB, free: 8.484 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.363e-05/0.1822, allocations: 21.31 kB / 0.5126 GB, free: 8.465 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001285/0.1835, allocations: 0.6283 MB / 0.5132 GB, free: 7.812 MB / 346.7 MB Notification: Performance of pre-optimization done (n=150): time 6.001e-06/0.1835, allocations: 0 / 0.5132 GB, free: 7.812 MB / 346.7 MB Notification: Performance of matching and sorting (n=150): time 0.01295/0.1965, allocations: 3.143 MB / 0.5163 GB, free: 4.637 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.783e-05/0.1966, allocations: 149.8 kB / 0.5164 GB, free: 4.461 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001311/0.1979, allocations: 0.7777 MB / 0.5172 GB, free: 3.66 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000101/0.1981, allocations: 57.64 kB / 0.5173 GB, free: 3.598 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004574/0.1985, allocations: 0.5664 MB / 0.5178 GB, free: 3.023 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000439/0.199, allocations: 0.5043 MB / 0.5183 GB, free: 2.512 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.546e-05/0.1991, allocations: 32 kB / 0.5183 GB, free: 2.48 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.393e-05/0.1992, allocations: 357.9 kB / 0.5187 GB, free: 2.125 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009457/0.2001, allocations: 399.8 kB / 0.5191 GB, free: 1.734 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/0.2012, allocations: 0.614 MB / 0.5197 GB, free: 1.047 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002215/0.2034, allocations: 1.178 MB / 0.5208 GB, free: 15.78 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.635e-06/0.2035, allocations: 0 / 0.5208 GB, free: 15.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.005199/0.2087, allocations: 1.753 MB / 0.5225 GB, free: 14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.788e-05/0.2088, allocations: 59.41 kB / 0.5226 GB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.386e-05/0.2088, allocations: 4 kB / 0.5226 GB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002421/0.2113, allocations: 0.4934 MB / 0.5231 GB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002011/0.2133, allocations: 315.6 kB / 0.5234 GB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01082/0.2242, allocations: 4.374 MB / 0.5276 GB, free: 8.609 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00184/0.226, allocations: 95.11 kB / 0.5277 GB, free: 8.516 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002226/0.2263, allocations: 51.94 kB / 0.5278 GB, free: 8.465 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 6 (transformer.breakerStatusInInternal,$whenCondition1,$whenCondition2,$PRE.transformer.breakerStatus,transformer.breakerStatus,$PRE.transformer.breakerStatusInInternal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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 {(8,37)} Notification: Performance of prepare postOptimizeDAE: time 0.0009719/0.2273, allocations: 364 kB / 0.5281 GB, free: 8.098 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004275/0.2277, allocations: 130.5 kB / 0.5282 GB, free: 7.969 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00509/0.2328, allocations: 1.625 MB / 0.5298 GB, free: 6.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.56e-05/0.2329, allocations: 27.92 kB / 0.5299 GB, free: 6.293 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.2329, allocations: 0 / 0.5299 GB, free: 6.293 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.807e-05/0.233, allocations: 3.984 kB / 0.5299 GB, free: 6.289 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008467/0.2415, allocations: 3.089 MB / 0.5329 GB, free: 3.109 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.357e-05/0.2415, allocations: 0 / 0.5329 GB, free: 3.109 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001625/0.2432, allocations: 247.7 kB / 0.5331 GB, free: 2.867 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002321/0.2455, allocations: 484.7 kB / 0.5336 GB, free: 2.391 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001337/0.2457, allocations: 32 kB / 0.5336 GB, free: 2.359 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01031/0.256, allocations: 4.246 MB / 0.5378 GB, free: 13.97 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.2561, allocations: 4 kB / 0.5378 GB, free: 13.97 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005245/0.2613, allocations: 1.673 MB / 0.5394 GB, free: 12.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007978/0.2621, allocations: 303.3 kB / 0.5397 GB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002041/0.2624, allocations: 31.94 kB / 0.5397 GB, free: 11.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008437/0.2632, allocations: 55.67 kB / 0.5398 GB, free: 11.87 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003009/0.2635, allocations: 105.2 kB / 0.5399 GB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.559e-05/0.2636, allocations: 32 kB / 0.5399 GB, free: 11.73 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008257/0.2645, allocations: 0.5239 MB / 0.5404 GB, free: 11.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2645, allocations: 0 / 0.5404 GB, free: 11.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001659/0.2661, allocations: 0.5308 MB / 0.5409 GB, free: 10.67 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,transformer.breakerStatus,transformer.breakerStatusInInternal) * Number of discrete states: 4 (transformer.breakerStatus,$whenCondition2,$whenCondition1,transformer.breakerStatusInInternal) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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 {(6,39)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004085/0.2666, allocations: 221.6 kB / 0.5411 GB, free: 10.45 MB / 378.7 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created initialization part: time 0.00354/0.2701, allocations: 1.651 MB / 0.5428 GB, free: 8.754 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.2701, allocations: 0 / 0.5428 GB, free: 8.754 MB / 378.7 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created simulation system equations: time 0.001984/0.2721, allocations: 1.003 MB / 0.5437 GB, free: 7.727 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00116/0.2733, allocations: 151.4 kB / 0.5439 GB, free: 7.574 MB / 378.7 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004239/0.2776, allocations: 2.892 MB / 0.5467 GB, free: 4.648 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007759/0.2784, allocations: 1.163 MB / 0.5478 GB, free: 3.457 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008433/0.2792, allocations: 157.8 kB / 0.548 GB, free: 3.301 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000205/0.2794, allocations: 83.44 kB / 0.5481 GB, free: 3.223 MB / 378.7 MB Notification: Performance of SimCode: time 8.81e-07/0.2794, allocations: 0 / 0.5481 GB, free: 3.223 MB / 378.7 MB Notification: Performance of Templates: time 0.1947/0.4741, allocations: 16.73 MB / 0.5644 GB, free: 72.62 MB / 378.7 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker.makefile (rm -f PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker.sim & ./PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker.pipe 2>&1)