Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.conf.json 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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding") translateModel(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 115.4 kB / 17.69 MB, free: 5.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001257/0.001258, allocations: 191 kB / 18.63 MB, free: 4.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.605/1.605, allocations: 205.1 MB / 224.5 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1757/0.1757, allocations: 37.98 MB / 309.8 MB, free: 5.98 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 63.91 kB / 376.8 MB, free: 2.922 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.2582, allocations: 55.25 MB / 432 MB, free: 19.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding): time 0.008118/0.2663, allocations: 8.165 MB / 440.2 MB, free: 11.31 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005256/0.2716, allocations: 3.009 MB / 443.2 MB, free: 8.285 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000601/0.2723, allocations: 31.81 kB / 443.2 MB, free: 8.254 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001983/0.2743, allocations: 0.8906 MB / 444.1 MB, free: 7.359 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001661/0.276, allocations: 0.9104 MB / 445 MB, free: 6.445 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001433/0.2774, allocations: 0.6314 MB / 445.7 MB, free: 5.812 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001615/0.279, allocations: 1.954 MB / 447.6 MB, free: 3.852 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006488/0.2797, allocations: 0.6538 MB / 448.3 MB, free: 3.188 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007841/0.2805, allocations: 0.8173 MB / 449.1 MB, free: 2.367 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009925/0.2815, allocations: 1.11 MB / 450.2 MB, free: 1.254 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001235/0.2816, allocations: 112 kB / 450.3 MB, free: 1.145 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007762/0.2824, allocations: 0.5305 MB / 450.8 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005258/0.283, allocations: 0.7872 MB / 451.6 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007149/0.2837, allocations: 0.758 MB / 452.4 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002012/0.2857, allocations: 2.002 MB / 454.4 MB, free: 13.05 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.2857, allocations: 0 / 454.4 MB, free: 13.05 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.2857, allocations: 0 / 454.4 MB, free: 13.05 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.594e-05/0.2858, allocations: 4 kB / 454.4 MB, free: 13.05 MB / 334.1 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.003008/0.2888, allocations: 1.664 MB / 456.1 MB, free: 11.33 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.2889, allocations: 11.89 kB / 456.1 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001481/0.2903, allocations: 278.9 kB / 456.3 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001569/0.2919, allocations: 0.9105 MB / 457.3 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.46e-05/0.292, allocations: 90.78 kB / 457.3 MB, free: 10 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002963/0.2923, allocations: 160 kB / 457.5 MB, free: 9.844 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00255/0.2949, allocations: 2.08 MB / 459.6 MB, free: 7.605 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.874e-05/0.2949, allocations: 15.78 kB / 459.6 MB, free: 7.59 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001205/0.295, allocations: 59.97 kB / 459.7 MB, free: 7.531 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003814/0.2954, allocations: 174.5 kB / 459.8 MB, free: 7.359 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00234/0.2978, allocations: 1.673 MB / 461.5 MB, free: 5.68 MB / 334.1 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.009432/0.3072, allocations: 9.368 MB / 470.9 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/0.3083, allocations: 0.8911 MB / 471.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005536/0.3088, allocations: 443.5 kB / 472.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.889e-05/0.3089, allocations: 28.56 kB / 472.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.309, allocations: 47.2 kB / 472.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=81): time 2.504e-06/0.309, allocations: 0 / 472.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=85): time 0.004461/0.3134, allocations: 3.026 MB / 475.3 MB, free: 7.188 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.576e-05/0.3135, allocations: 90.05 kB / 475.4 MB, free: 7.078 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007784/0.3143, allocations: 0.7582 MB / 476.1 MB, free: 6.309 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.99e-05/0.3143, allocations: 41.7 kB / 476.2 MB, free: 6.262 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004142/0.3148, allocations: 0.7034 MB / 476.9 MB, free: 5.547 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002122/0.315, allocations: 307.7 kB / 477.2 MB, free: 5.242 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000309/0.3153, allocations: 255.3 kB / 477.4 MB, free: 4.988 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.3155, allocations: 402.7 kB / 477.8 MB, free: 4.586 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006175/0.3161, allocations: 455.7 kB / 478.3 MB, free: 4.141 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001031/0.3171, allocations: 1.014 MB / 479.3 MB, free: 2.867 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001805/0.319, allocations: 1.602 MB / 480.9 MB, free: 1.004 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.868e-06/0.319, allocations: 8 kB / 480.9 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003192/0.3222, allocations: 1.965 MB / 482.9 MB, free: 15.01 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.873e-05/0.3222, allocations: 12 kB / 482.9 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002066/0.3243, allocations: 1.199 MB / 484.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001306/0.3256, allocations: 453.2 kB / 484.5 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007988/0.3264, allocations: 263.5 kB / 484.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007275/0.3337, allocations: 5.887 MB / 490.7 MB, free: 6.922 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000805/0.3345, allocations: 51.98 kB / 490.7 MB, free: 6.871 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/0.3347, allocations: 71.98 kB / 490.8 MB, free: 6.801 MB / 366.1 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.0008305/0.3355, allocations: 475.3 kB / 491.2 MB, free: 6.328 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001554/0.3357, allocations: 86.88 kB / 491.3 MB, free: 6.242 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002185/0.3379, allocations: 1.384 MB / 492.7 MB, free: 4.785 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/0.3379, allocations: 11.98 kB / 492.7 MB, free: 4.773 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.3379, allocations: 7.938 kB / 492.7 MB, free: 4.766 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.3379, allocations: 7.984 kB / 492.7 MB, free: 4.758 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003887/0.3418, allocations: 2.489 MB / 495.2 MB, free: 2.137 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.3418, allocations: 4 kB / 495.2 MB, free: 2.133 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004959/0.3423, allocations: 127.8 kB / 495.4 MB, free: 2.008 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005251/0.3429, allocations: 182.2 kB / 495.5 MB, free: 1.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.114e-05/0.3429, allocations: 23.98 kB / 495.6 MB, free: 1.797 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003896/0.3468, allocations: 4.957 MB / 0.4888 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/0.3469, allocations: 4.031 kB / 0.4888 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002504/0.3494, allocations: 1.853 MB / 0.4906 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000478/0.3499, allocations: 220 kB / 0.4908 GB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.683e-05/0.35, allocations: 20 kB / 0.4908 GB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003558/0.3503, allocations: 39.91 kB / 0.4909 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.3505, allocations: 56.52 kB / 0.4909 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.688e-05/0.3505, allocations: 27.98 kB / 0.4909 GB, free: 10.08 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006559/0.3512, allocations: 499 kB / 0.4914 GB, free: 9.598 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.8e-07/0.3512, allocations: 0 / 0.4914 GB, free: 9.598 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001234/0.3524, allocations: 324 kB / 0.4917 GB, free: 9.281 MB / 382.1 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.0002111/0.3527, allocations: 127.1 kB / 0.4918 GB, free: 9.148 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002935/0.3556, allocations: 1.542 MB / 0.4934 GB, free: 7.582 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.3556, allocations: 2 kB / 0.4934 GB, free: 7.582 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001316/0.3569, allocations: 0.8395 MB / 0.4942 GB, free: 6.703 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008084/0.3578, allocations: 179.2 kB / 0.4943 GB, free: 6.531 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004921/0.3627, allocations: 2.763 MB / 0.497 GB, free: 3.727 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009579/0.3637, allocations: 1.309 MB / 0.4983 GB, free: 2.383 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007927/0.3645, allocations: 372.5 kB / 0.4987 GB, free: 2.016 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000178/0.3647, allocations: 67.44 kB / 0.4987 GB, free: 1.949 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3647, allocations: 0 / 0.4987 GB, free: 1.949 MB / 382.1 MB Notification: Performance of Templates: time 0.02007/0.3848, allocations: 11.81 MB / 0.5103 GB, free: 6.16 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe 2>&1)