Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.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/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.0/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(PowerSystems.Examples.AC3ph.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer") translateModel(PowerSystems.Examples.AC3ph.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 178.4 kB / 16.71 MB, free: 5.09 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.458/1.458, allocations: 225.7 MB / 243.2 MB, free: 8.445 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.000711/0.0007111, allocations: 93.27 kB / 294.4 MB, free: 9.484 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.3152/0.3152, allocations: 38.12 MB / 383.6 MB, free: 40.35 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003616/0.0003616, allocations: 12 kB / 453.5 MB, free: 8.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3105, allocations: 59.13 MB / 0.5006 GB, free: 38.91 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.006395/0.3169, allocations: 6.876 MB / 0.5073 GB, free: 36.84 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005007/0.3219, allocations: 4.501 MB / 0.5117 GB, free: 32.75 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008119/0.3228, allocations: 42.69 kB / 0.5118 GB, free: 32.73 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006594/0.3235, allocations: 200.6 kB / 0.5119 GB, free: 32.64 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001474/0.325, allocations: 0.6365 MB / 0.5126 GB, free: 32.32 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.326, allocations: 410.8 kB / 0.513 GB, free: 32.14 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001902/0.3279, allocations: 2.288 MB / 0.5152 GB, free: 31.48 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001044/0.329, allocations: 1.063 MB / 0.5162 GB, free: 30.68 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006227/0.3296, allocations: 492 kB / 0.5167 GB, free: 30.5 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008907/0.3305, allocations: 0.8044 MB / 0.5175 GB, free: 30.26 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.643e-05/0.3306, allocations: 37.47 kB / 0.5175 GB, free: 30.26 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005001/0.3311, allocations: 257.8 kB / 0.5178 GB, free: 30.19 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003813/0.3315, allocations: 488.3 kB / 0.5182 GB, free: 30.06 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004358/0.3319, allocations: 0.4984 MB / 0.5187 GB, free: 29.76 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001016/0.333, allocations: 1.265 MB / 0.52 GB, free: 29.39 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.333, allocations: 3.062 kB / 0.52 GB, free: 29.39 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.333, allocations: 0 / 0.52 GB, free: 29.39 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.239e-05/0.333, allocations: 0 / 0.52 GB, free: 29.39 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.001631/0.3346, allocations: 1.133 MB / 0.5211 GB, free: 28.6 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.3347, allocations: 11.88 kB / 0.5211 GB, free: 28.6 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008243/0.3355, allocations: 204.6 kB / 0.5213 GB, free: 28.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008189/0.3363, allocations: 0.6801 MB / 0.5219 GB, free: 28.11 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.978e-05/0.3364, allocations: 65.23 kB / 0.522 GB, free: 28.08 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001685/0.3366, allocations: 95.5 kB / 0.5221 GB, free: 28.05 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001454/0.338, allocations: 1.38 MB / 0.5234 GB, free: 27.36 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.697e-05/0.3381, allocations: 6.531 kB / 0.5234 GB, free: 27.36 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.408e-05/0.3381, allocations: 38.17 kB / 0.5235 GB, free: 27.33 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002371/0.3384, allocations: 121 kB / 0.5236 GB, free: 27.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001313/0.3397, allocations: 1.091 MB / 0.5247 GB, free: 26.98 MB / 378.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.004651/0.3444, allocations: 5.958 MB / 0.5305 GB, free: 22.53 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007938/0.3452, allocations: 0.7081 MB / 0.5312 GB, free: 22.18 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003381/0.3455, allocations: 320.9 kB / 0.5315 GB, free: 22.05 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.003e-05/0.3456, allocations: 18.59 kB / 0.5315 GB, free: 22.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004797/0.3461, allocations: 471.8 kB / 0.5319 GB, free: 21.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=65): time 2.234e-06/0.3461, allocations: 3.984 kB / 0.5319 GB, free: 21.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=66): time 0.002535/0.3486, allocations: 2.144 MB / 0.534 GB, free: 20.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.033e-05/0.3487, allocations: 167.6 kB / 0.5342 GB, free: 20.47 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000577/0.3493, allocations: 0.6261 MB / 0.5348 GB, free: 20.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.83e-05/0.3493, allocations: 43.73 kB / 0.5349 GB, free: 20.15 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002487/0.3496, allocations: 0.5227 MB / 0.5354 GB, free: 19.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/0.3497, allocations: 230.5 kB / 0.5356 GB, free: 19.56 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.809e-05/0.3498, allocations: 22.16 kB / 0.5356 GB, free: 19.54 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.3499, allocations: 393.7 kB / 0.536 GB, free: 19.2 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000453/0.3503, allocations: 338.8 kB / 0.5363 GB, free: 19.09 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005877/0.3509, allocations: 0.7638 MB / 0.537 GB, free: 18.42 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/0.352, allocations: 1.236 MB / 0.5383 GB, free: 17.47 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/0.352, allocations: 3.344 kB / 0.5383 GB, free: 17.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.00182/0.3538, allocations: 1.431 MB / 0.5397 GB, free: 16.9 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.504e-05/0.3539, allocations: 46.84 kB / 0.5397 GB, free: 16.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001181/0.3551, allocations: 0.7854 MB / 0.5405 GB, free: 16.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006322/0.3557, allocations: 252.3 kB / 0.5407 GB, free: 16.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006004/0.3563, allocations: 214.2 kB / 0.5409 GB, free: 16.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003152/0.3595, allocations: 4.034 MB / 0.5449 GB, free: 13.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005308/0.36, allocations: 57.53 kB / 0.5449 GB, free: 13.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.033e-05/0.3601, allocations: 62.78 kB / 0.545 GB, free: 13.34 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,$whenCondition1,$whenCondition2,$PRE.tapChanger.cnt_1,tapChanger.cnt_1,$PRE.tapChanger.cnt_2,tapChanger.cnt_2,$PRE.tapChanger.tap_1,tapChanger.tap_1,$PRE.tapChanger.tap_2,tapChanger.tap_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,12,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004719/0.3606, allocations: 399 kB / 0.5453 GB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.335e-05/0.3607, allocations: 77.77 kB / 0.5454 GB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001085/0.3618, allocations: 0.8411 MB / 0.5462 GB, free: 12.69 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.3618, allocations: 6.312 kB / 0.5462 GB, free: 12.69 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.3618, allocations: 4 kB / 0.5463 GB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/0.3618, allocations: 7.266 kB / 0.5463 GB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002343/0.3642, allocations: 1.758 MB / 0.548 GB, free: 11.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/0.3642, allocations: 12.67 kB / 0.548 GB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000683/0.3649, allocations: 153.2 kB / 0.5481 GB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.704e-06/0.3649, allocations: 3.688 kB / 0.5481 GB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.66e-05/0.3649, allocations: 23.72 kB / 0.5482 GB, free: 11.81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.624e-06/0.365, allocations: 4.188 kB / 0.5482 GB, free: 11.81 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.365, allocations: 2.281 kB / 0.5482 GB, free: 11.81 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001602/0.3666, allocations: 1.301 MB / 0.5494 GB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003226/0.3669, allocations: 204.7 kB / 0.5496 GB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.633e-05/0.367, allocations: 20.25 kB / 0.5497 GB, free: 11.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003335/0.3674, allocations: 36.56 kB / 0.5497 GB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.3675, allocations: 42.38 kB / 0.5497 GB, free: 11.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.29e-05/0.3676, allocations: 38.83 kB / 0.5498 GB, free: 11 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005221/0.3681, allocations: 423.8 kB / 0.5502 GB, free: 10.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3681, allocations: 0 / 0.5502 GB, free: 10.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009682/0.3691, allocations: 233.2 kB / 0.5504 GB, free: 10.8 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (trafo.i1[1],trafo.i1[2],trafo.i1[3]) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,tapChanger.tap_1,tapChanger.tap_2,tapChanger.cnt_1,tapChanger.cnt_2,system.initime) * Number of discrete states: 6 (tapChanger.tap_2,tapChanger.cnt_2,$whenCondition2,tapChanger.tap_1,tapChanger.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001711/0.3693, allocations: 128 kB / 0.5505 GB, free: 10.69 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001838/0.3711, allocations: 1.225 MB / 0.5517 GB, free: 10.09 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.3711, allocations: 448 / 0.5517 GB, free: 10.09 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005544/0.3717, allocations: 465.5 kB / 0.5522 GB, free: 9.895 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008585/0.3726, allocations: 129.7 kB / 0.5523 GB, free: 9.848 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003449/0.376, allocations: 2.447 MB / 0.5547 GB, free: 8.434 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006961/0.3767, allocations: 1.117 MB / 0.5558 GB, free: 7.676 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000889/0.3776, allocations: 287.3 kB / 0.556 GB, free: 7.641 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001739/0.3778, allocations: 60.59 kB / 0.5561 GB, free: 7.629 MB / 378.7 MB Notification: Performance of SimCode: time 1.213e-06/0.3778, allocations: 0 / 0.5561 GB, free: 7.629 MB / 378.7 MB Notification: Performance of Templates: time 0.01503/0.3929, allocations: 8.042 MB / 0.5639 GB, free: 4.703 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe 2>&1)