Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TreeWinding.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.Transformation.TreeWinding,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TreeWinding") translateModel(PowerSystems.Examples.AC3ph.Transformation.TreeWinding,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TreeWinding") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009396/0.0009397, allocations: 178.8 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.485/1.485, allocations: 225.7 MB / 243.2 MB, free: 10.19 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.000728/0.0007281, allocations: 95.91 kB / 294.4 MB, free: 9.734 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.3109/0.3109, allocations: 38.12 MB / 383.6 MB, free: 40.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002803/0.0002803, allocations: 12.2 kB / 453.5 MB, free: 8.848 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3091, allocations: 59.12 MB / 0.5006 GB, free: 39.05 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TreeWinding): time 0.01009/0.3192, allocations: 8.723 MB / 0.5091 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.006959/0.3262, allocations: 5.696 MB / 0.5147 GB, free: 30.45 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001539/0.3278, allocations: 53.09 kB / 0.5147 GB, free: 30.43 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00101/0.3288, allocations: 252.4 kB / 0.515 GB, free: 30.3 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002416/0.3312, allocations: 0.8565 MB / 0.5158 GB, free: 29.87 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001598/0.3329, allocations: 0.5802 MB / 0.5164 GB, free: 29.62 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003442/0.3363, allocations: 3.34 MB / 0.5196 GB, free: 28.66 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00219/0.3385, allocations: 1.591 MB / 0.5212 GB, free: 27.43 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001565/0.3401, allocations: 0.6928 MB / 0.5219 GB, free: 27.17 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001919/0.342, allocations: 1.129 MB / 0.523 GB, free: 26.84 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002843/0.3423, allocations: 54.47 kB / 0.523 GB, free: 26.84 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00129/0.3436, allocations: 0.5081 MB / 0.5235 GB, free: 26.7 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007463/0.3444, allocations: 0.7206 MB / 0.5242 GB, free: 26.51 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007459/0.3452, allocations: 0.7136 MB / 0.5249 GB, free: 26.09 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001505/0.3467, allocations: 1.913 MB / 0.5268 GB, free: 25.53 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.3467, allocations: 0 / 0.5268 GB, free: 25.53 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3467, allocations: 0 / 0.5268 GB, free: 25.53 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.131e-05/0.3467, allocations: 0 / 0.5268 GB, free: 25.53 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: 374 * Number of variables: 374 Notification: Performance of Generate backend data structure: time 0.002203/0.3489, allocations: 1.398 MB / 0.5281 GB, free: 24.62 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.349, allocations: 9.344 kB / 0.5282 GB, free: 24.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0014/0.3504, allocations: 277.9 kB / 0.5284 GB, free: 24.53 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001261/0.3517, allocations: 0.8739 MB / 0.5293 GB, free: 24.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.516e-05/0.3517, allocations: 86.58 kB / 0.5294 GB, free: 23.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000281/0.352, allocations: 154.3 kB / 0.5295 GB, free: 23.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002464/0.3545, allocations: 2.071 MB / 0.5315 GB, free: 22.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.682e-05/0.3545, allocations: 7.188 kB / 0.5315 GB, free: 22.91 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/0.3547, allocations: 57.22 kB / 0.5316 GB, free: 22.87 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003563/0.355, allocations: 175.5 kB / 0.5318 GB, free: 22.85 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002071/0.3571, allocations: 1.67 MB / 0.5334 GB, free: 22.32 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.007674/0.3648, allocations: 9.423 MB / 0.5426 GB, free: 15.36 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009909/0.3658, allocations: 0.882 MB / 0.5434 GB, free: 14.89 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005131/0.3663, allocations: 438 kB / 0.5439 GB, free: 14.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.646e-05/0.3664, allocations: 24.75 kB / 0.5439 GB, free: 14.72 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.3664, allocations: 39.2 kB / 0.5439 GB, free: 14.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=81): time 2.635e-06/0.3664, allocations: 0 / 0.5439 GB, free: 14.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=85): time 0.004092/0.3705, allocations: 3.038 MB / 0.5469 GB, free: 13.01 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/0.3706, allocations: 87.05 kB / 0.547 GB, free: 12.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00073/0.3713, allocations: 0.7452 MB / 0.5477 GB, free: 12.61 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.149e-05/0.3714, allocations: 40.86 kB / 0.5477 GB, free: 12.56 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002959/0.3717, allocations: 0.6989 MB / 0.5484 GB, free: 12.01 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000151/0.3718, allocations: 306.6 kB / 0.5487 GB, free: 11.78 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.735e-05/0.3719, allocations: 23.19 kB / 0.5487 GB, free: 11.76 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.372, allocations: 405.3 kB / 0.5491 GB, free: 11.41 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006072/0.3726, allocations: 449.8 kB / 0.5496 GB, free: 11.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008593/0.3735, allocations: 1.012 MB / 0.5505 GB, free: 10.39 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001647/0.3751, allocations: 1.598 MB / 0.5521 GB, free: 9.211 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.989e-06/0.3752, allocations: 9.5 kB / 0.5521 GB, free: 9.207 MB / 378.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003415/0.3786, allocations: 1.95 MB / 0.554 GB, free: 8.473 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.143e-05/0.3786, allocations: 13.72 kB / 0.554 GB, free: 8.473 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002282/0.3809, allocations: 1.206 MB / 0.5552 GB, free: 8.047 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00139/0.3823, allocations: 443.4 kB / 0.5556 GB, free: 7.961 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008753/0.3832, allocations: 257.2 kB / 0.5559 GB, free: 7.934 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005919/0.3891, allocations: 5.42 MB / 0.5612 GB, free: 4.234 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007844/0.3899, allocations: 54.44 kB / 0.5612 GB, free: 4.215 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.476e-05/0.3901, allocations: 68.67 kB / 0.5613 GB, free: 4.203 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 4 (system.initime,trafo3Stray.tap_2_internal[2],trafo3Stray.tap_2_internal[1],trafo3Stray.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * 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 {(3,15,100.0%), (2,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006451/0.3907, allocations: 476.5 kB / 0.5617 GB, free: 3.887 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.3908, allocations: 90.12 kB / 0.5618 GB, free: 3.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001917/0.3927, allocations: 1.387 MB / 0.5632 GB, free: 2.883 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/0.3928, allocations: 8.312 kB / 0.5632 GB, free: 2.883 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.3928, allocations: 3.156 kB / 0.5632 GB, free: 2.883 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.3928, allocations: 7.922 kB / 0.5632 GB, free: 2.875 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003459/0.3963, allocations: 2.49 MB / 0.5656 GB, free: 1.215 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.3963, allocations: 2.75 kB / 0.5656 GB, free: 1.215 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005167/0.3968, allocations: 130.9 kB / 0.5658 GB, free: 1.184 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004973/0.3973, allocations: 183.5 kB / 0.5659 GB, free: 1.074 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.82e-05/0.3974, allocations: 24.23 kB / 0.566 GB, free: 1.059 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003717/0.4011, allocations: 4.605 MB / 0.5705 GB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.4011, allocations: 2.125 kB / 0.5705 GB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002564/0.4037, allocations: 1.849 MB / 0.5723 GB, free: 11.14 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004056/0.4041, allocations: 228 kB / 0.5725 GB, free: 10.9 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.852e-05/0.4042, allocations: 23.98 kB / 0.5725 GB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003559/0.4046, allocations: 31.97 kB / 0.5725 GB, free: 10.85 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.4047, allocations: 56.52 kB / 0.5726 GB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.098e-05/0.4048, allocations: 27.98 kB / 0.5726 GB, free: 10.77 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006112/0.4054, allocations: 491 kB / 0.5731 GB, free: 10.29 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.4054, allocations: 0 / 0.5731 GB, free: 10.29 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001289/0.4067, allocations: 328 kB / 0.5734 GB, free: 9.973 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (trafo3Stray.i2a[1],trafo3Stray.i2a[2],trafo3Stray.i2a[3],trafo3Stray.i2b[1],trafo3Stray.i2b[2],trafo3Stray.i2b[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001699/0.4069, allocations: 127.1 kB / 0.5735 GB, free: 9.84 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002592/0.4095, allocations: 1.536 MB / 0.575 GB, free: 8.281 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.4095, allocations: 4.062 kB / 0.575 GB, free: 8.277 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001269/0.4108, allocations: 0.8392 MB / 0.5758 GB, free: 7.395 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009286/0.4117, allocations: 169.3 kB / 0.576 GB, free: 7.23 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004856/0.4166, allocations: 3.468 MB / 0.5794 GB, free: 3.715 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009907/0.4176, allocations: 1.317 MB / 0.5807 GB, free: 2.363 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0009597/0.4186, allocations: 364.5 kB / 0.581 GB, free: 2.004 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001604/0.4187, allocations: 71.44 kB / 0.5811 GB, free: 1.938 MB / 394.7 MB Notification: Performance of SimCode: time 2.846e-06/0.4188, allocations: 0 / 0.5811 GB, free: 1.938 MB / 394.7 MB Notification: Performance of Templates: time 0.01899/0.4377, allocations: 11.27 MB / 0.5921 GB, free: 6.703 MB / 410.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TreeWinding.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TreeWinding.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TreeWinding.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TreeWinding.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TreeWinding.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TreeWinding -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TreeWinding.pipe 2>&1)