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.0007849/0.000785, allocations: 90.03 kB / 16.31 MB, free: 5.539 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.0008754/0.0008754, allocations: 183.6 kB / 17.21 MB, free: 5.457 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.411/1.411, allocations: 205.4 MB / 223.4 MB, free: 13.14 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1774/0.1774, allocations: 38.05 MB / 309.7 MB, free: 6.027 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.0005404/0.0005405, allocations: 19.28 kB / 376.5 MB, free: 3.105 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.232, allocations: 56.34 MB / 432.8 MB, free: 18.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding): time 0.006599/0.2387, allocations: 8.571 MB / 441.4 MB, free: 10.22 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005692/0.2445, allocations: 3.284 MB / 444.7 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001649/0.2461, allocations: 55.62 kB / 444.8 MB, free: 6.867 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001238/0.2474, allocations: 258.1 kB / 445 MB, free: 6.613 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00327/0.2507, allocations: 0.9181 MB / 445.9 MB, free: 5.691 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002263/0.253, allocations: 0.5809 MB / 446.5 MB, free: 5.109 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003237/0.2563, allocations: 2.499 MB / 449 MB, free: 2.602 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002181/0.2585, allocations: 1.035 MB / 450 MB, free: 1.523 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001681/0.2602, allocations: 0.6807 MB / 450.7 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002387/0.2626, allocations: 1.126 MB / 451.8 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004364/0.2631, allocations: 56 kB / 451.9 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001582/0.2647, allocations: 403.4 kB / 452.3 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001467/0.2662, allocations: 0.7404 MB / 453 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008091/0.267, allocations: 289 kB / 453.3 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002582/0.2696, allocations: 1.496 MB / 454.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.2696, allocations: 0 / 454.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.2696, allocations: 0 / 454.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.562e-05/0.2697, allocations: 0 / 454.8 MB, free: 12.73 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.004415/0.2741, allocations: 1.414 MB / 456.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.2742, allocations: 12.03 kB / 456.2 MB, free: 11.24 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002664/0.2769, allocations: 281.9 kB / 456.5 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002503/0.2794, allocations: 0.8473 MB / 457.4 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000151/0.2796, allocations: 90.41 kB / 457.4 MB, free: 9.984 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007073/0.2803, allocations: 155.8 kB / 457.6 MB, free: 9.832 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005154/0.2855, allocations: 2.076 MB / 459.7 MB, free: 7.598 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.608e-05/0.2856, allocations: 11.89 kB / 459.7 MB, free: 7.586 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000252/0.2859, allocations: 55.97 kB / 459.7 MB, free: 7.531 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006072/0.2865, allocations: 174.5 kB / 459.9 MB, free: 7.359 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004448/0.2909, allocations: 1.669 MB / 461.6 MB, free: 5.684 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.01497/0.306, allocations: 9.407 MB / 471 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001742/0.3077, allocations: 0.8913 MB / 471.9 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009227/0.3087, allocations: 439.5 kB / 472.3 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.357e-05/0.3088, allocations: 20.59 kB / 472.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.75e-05/0.3089, allocations: 47.16 kB / 472.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of pre-optimization done (n=81): time 4.689e-06/0.3089, allocations: 0 / 472.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=85): time 0.006072/0.315, allocations: 3.026 MB / 475.4 MB, free: 7.156 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.939e-05/0.3151, allocations: 86.11 kB / 475.5 MB, free: 7.055 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009319/0.316, allocations: 0.7542 MB / 476.2 MB, free: 6.293 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.304e-05/0.3161, allocations: 37.7 kB / 476.3 MB, free: 6.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006598/0.3168, allocations: 0.7034 MB / 477 MB, free: 5.535 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000372/0.3172, allocations: 307.7 kB / 477.3 MB, free: 5.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.009e-05/0.3173, allocations: 28 kB / 477.3 MB, free: 5.203 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002322/0.3175, allocations: 406.7 kB / 477.7 MB, free: 4.797 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009891/0.3185, allocations: 455.6 kB / 478.1 MB, free: 4.352 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001436/0.32, allocations: 1.01 MB / 479.2 MB, free: 3.082 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001346/0.3213, allocations: 0.6391 MB / 479.8 MB, free: 2.441 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.698e-05/0.3214, allocations: 4 kB / 479.8 MB, free: 2.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.00491/0.3263, allocations: 1.947 MB / 481.7 MB, free: 488 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.783e-05/0.3263, allocations: 16 kB / 481.8 MB, free: 472 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003035/0.3294, allocations: 1.195 MB / 483 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001694/0.3311, allocations: 452.3 kB / 483.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/0.3324, allocations: 259.5 kB / 483.7 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00921/0.3417, allocations: 5.414 MB / 489.1 MB, free: 8.883 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001155/0.3429, allocations: 59.92 kB / 489.1 MB, free: 8.824 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000189/0.3431, allocations: 68 kB / 489.2 MB, free: 8.758 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 15,(2,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0011/0.3442, allocations: 473.1 kB / 489.7 MB, free: 8.285 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002619/0.3445, allocations: 86.88 kB / 489.7 MB, free: 8.199 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003291/0.3478, allocations: 1.384 MB / 491.1 MB, free: 6.734 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.635e-05/0.3478, allocations: 12 kB / 491.1 MB, free: 6.723 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/0.3478, allocations: 0 / 491.1 MB, free: 6.723 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/0.3479, allocations: 7.922 kB / 491.1 MB, free: 6.715 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005892/0.3538, allocations: 2.497 MB / 493.6 MB, free: 4.086 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/0.3538, allocations: 4.031 kB / 493.6 MB, free: 4.082 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007334/0.3545, allocations: 127.9 kB / 493.8 MB, free: 3.957 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007483/0.3553, allocations: 186.2 kB / 494 MB, free: 3.766 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.77e-05/0.3554, allocations: 23.98 kB / 494 MB, free: 3.742 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005295/0.3607, allocations: 4.598 MB / 498.6 MB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.3608, allocations: 0 / 498.6 MB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004016/0.3648, allocations: 1.852 MB / 0.4887 GB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005794/0.3654, allocations: 224 kB / 0.4889 GB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002283/0.3656, allocations: 23.98 kB / 0.4889 GB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006885/0.3664, allocations: 31.92 kB / 0.489 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001572/0.3665, allocations: 52.56 kB / 0.489 GB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.467e-05/0.3666, allocations: 31.98 kB / 0.489 GB, free: 12.42 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001115/0.3678, allocations: 499 kB / 0.4895 GB, free: 11.94 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.3678, allocations: 0 / 0.4895 GB, free: 11.94 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00203/0.3698, allocations: 328 kB / 0.4898 GB, free: 11.62 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002334/0.3701, allocations: 119.1 kB / 0.4899 GB, free: 11.49 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003963/0.3741, allocations: 1.54 MB / 0.4914 GB, free: 9.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.3741, allocations: 0 / 0.4914 GB, free: 9.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002022/0.3761, allocations: 0.8402 MB / 0.4923 GB, free: 9.047 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008709/0.377, allocations: 155.8 kB / 0.4924 GB, free: 8.891 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005804/0.3828, allocations: 3.355 MB / 0.4957 GB, free: 5.496 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001321/0.3842, allocations: 1.309 MB / 0.497 GB, free: 4.156 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009317/0.3851, allocations: 376.4 kB / 0.4973 GB, free: 3.785 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001769/0.3853, allocations: 75.42 kB / 0.4974 GB, free: 3.711 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3853, allocations: 0 / 0.4974 GB, free: 3.711 MB / 382.1 MB Notification: Performance of Templates: time 0.01987/0.4052, allocations: 10.98 MB / 0.5081 GB, free: 8.746 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe 2>&1) Environment - environmentSimulation: