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.001828/0.001828, allocations: 115.5 kB / 17.7 MB, free: 5.434 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.00187/0.00187, allocations: 188 kB / 18.63 MB, free: 4.508 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.359/1.359, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.178/0.178, allocations: 37.99 MB / 309.8 MB, free: 5.977 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.001406/0.001406, allocations: 67.19 kB / 376.8 MB, free: 2.922 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.2061, allocations: 55.23 MB / 432 MB, free: 19.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding): time 0.006733/0.2129, allocations: 8.173 MB / 440.2 MB, free: 11.3 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004122/0.2171, allocations: 3.009 MB / 443.2 MB, free: 8.277 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000423/0.2175, allocations: 31.81 kB / 443.2 MB, free: 8.246 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001768/0.2193, allocations: 0.8932 MB / 444.1 MB, free: 7.352 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001376/0.2207, allocations: 0.9144 MB / 445 MB, free: 6.434 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001229/0.2219, allocations: 0.6276 MB / 445.7 MB, free: 5.805 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001478/0.2234, allocations: 1.954 MB / 447.6 MB, free: 3.844 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006541/0.2241, allocations: 0.6538 MB / 448.3 MB, free: 3.18 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007083/0.2248, allocations: 0.8212 MB / 449.1 MB, free: 2.355 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009642/0.2258, allocations: 1.102 MB / 450.2 MB, free: 1.25 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001258/0.2259, allocations: 112 kB / 450.3 MB, free: 1.141 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008439/0.2268, allocations: 0.5305 MB / 450.8 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005516/0.2273, allocations: 0.795 MB / 451.6 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007908/0.2281, allocations: 0.7542 MB / 452.4 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001861/0.23, allocations: 2.005 MB / 454.4 MB, free: 13.04 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.23, allocations: 0 / 454.4 MB, free: 13.04 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.23, allocations: 0 / 454.4 MB, free: 13.04 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.806e-05/0.2301, allocations: 0 / 454.4 MB, free: 13.04 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.002752/0.2328, allocations: 1.664 MB / 456.1 MB, free: 11.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.2329, allocations: 15.83 kB / 456.1 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001594/0.2345, allocations: 274.9 kB / 456.3 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001749/0.2362, allocations: 0.9144 MB / 457.3 MB, free: 10.08 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.996e-05/0.2363, allocations: 94.78 kB / 457.3 MB, free: 9.984 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003493/0.2367, allocations: 156 kB / 457.5 MB, free: 9.832 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002913/0.2396, allocations: 2.076 MB / 459.6 MB, free: 7.598 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.26e-05/0.2396, allocations: 15.83 kB / 459.6 MB, free: 7.582 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000123/0.2398, allocations: 59.97 kB / 459.7 MB, free: 7.523 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004114/0.2402, allocations: 170.5 kB / 459.8 MB, free: 7.355 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002636/0.2428, allocations: 1.68 MB / 461.5 MB, free: 5.668 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.01097/0.2538, allocations: 9.364 MB / 470.9 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001153/0.255, allocations: 0.9028 MB / 471.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006141/0.2556, allocations: 439.5 kB / 472.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.218e-05/0.2557, allocations: 24.62 kB / 472.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.41e-05/0.2558, allocations: 39.22 kB / 472.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=81): time 2.995e-06/0.2558, allocations: 0 / 472.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=85): time 0.004897/0.2607, allocations: 3.034 MB / 475.3 MB, free: 7.176 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.089e-05/0.2607, allocations: 86.11 kB / 475.4 MB, free: 7.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008944/0.2616, allocations: 0.7581 MB / 476.1 MB, free: 6.301 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.217e-05/0.2617, allocations: 41.7 kB / 476.2 MB, free: 6.254 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004345/0.2621, allocations: 0.6995 MB / 476.9 MB, free: 5.543 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002105/0.2624, allocations: 307.7 kB / 477.2 MB, free: 5.238 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003905/0.2628, allocations: 259.3 kB / 477.4 MB, free: 4.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002637/0.263, allocations: 402.7 kB / 477.8 MB, free: 4.578 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000747/0.2638, allocations: 455.7 kB / 478.3 MB, free: 4.133 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001098/0.2649, allocations: 1.014 MB / 479.3 MB, free: 2.859 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001914/0.2668, allocations: 1.606 MB / 480.9 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.746e-05/0.2668, allocations: 8 kB / 480.9 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003311/0.2702, allocations: 1.962 MB / 482.9 MB, free: 15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.85e-05/0.2702, allocations: 12 kB / 482.9 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002122/0.2723, allocations: 1.202 MB / 484.1 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001309/0.2737, allocations: 452.5 kB / 484.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007954/0.2745, allocations: 259.6 kB / 484.8 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007086/0.2816, allocations: 5.891 MB / 490.7 MB, free: 6.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006836/0.2823, allocations: 56.03 kB / 490.7 MB, free: 6.855 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/0.2824, allocations: 71.98 kB / 490.8 MB, free: 6.785 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.0006666/0.2831, allocations: 465.1 kB / 491.2 MB, free: 6.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/0.2832, allocations: 86.88 kB / 491.3 MB, free: 6.234 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00213/0.2853, allocations: 1.387 MB / 492.7 MB, free: 4.773 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/0.2853, allocations: 8 kB / 492.7 MB, free: 4.766 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.2854, allocations: 11.88 kB / 492.7 MB, free: 4.754 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/0.2854, allocations: 3.984 kB / 492.7 MB, free: 4.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003694/0.2891, allocations: 2.489 MB / 495.2 MB, free: 2.129 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.2891, allocations: 4 kB / 495.2 MB, free: 2.125 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005166/0.2896, allocations: 127.8 kB / 495.3 MB, free: 2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005247/0.2901, allocations: 186.3 kB / 495.5 MB, free: 1.809 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-05/0.2902, allocations: 23.98 kB / 495.6 MB, free: 1.785 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003858/0.2941, allocations: 4.956 MB / 0.4888 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.2941, allocations: 4.031 kB / 0.4888 GB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002674/0.2968, allocations: 1.853 MB / 0.4906 GB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003964/0.2972, allocations: 220 kB / 0.4908 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.828e-05/0.2973, allocations: 24 kB / 0.4908 GB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003605/0.2977, allocations: 32.03 kB / 0.4909 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.2978, allocations: 60.58 kB / 0.4909 GB, free: 10.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.875e-05/0.2978, allocations: 23.98 kB / 0.4909 GB, free: 10.08 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005671/0.2984, allocations: 0.4912 MB / 0.4914 GB, free: 9.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.2984, allocations: 0 / 0.4914 GB, free: 9.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001163/0.2996, allocations: 328 kB / 0.4917 GB, free: 9.27 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.0001581/0.2998, allocations: 119.1 kB / 0.4918 GB, free: 9.145 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002431/0.3022, allocations: 1.548 MB / 0.4934 GB, free: 7.574 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.3022, allocations: 4.125 kB / 0.4934 GB, free: 7.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001318/0.3035, allocations: 0.8315 MB / 0.4942 GB, free: 6.699 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007888/0.3043, allocations: 177.9 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.004147/0.3085, allocations: 2.768 MB / 0.497 GB, free: 3.719 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001126/0.3096, allocations: 1.313 MB / 0.4983 GB, free: 2.371 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000741/0.3104, allocations: 364.5 kB / 0.4987 GB, free: 2.012 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001531/0.3105, allocations: 71.38 kB / 0.4987 GB, free: 1.941 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3105, allocations: 0 / 0.4987 GB, free: 1.941 MB / 382.1 MB Notification: Performance of Templates: time 0.01919/0.3297, allocations: 11.8 MB / 0.5103 GB, free: 6.164 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 gbode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe 2>&1)