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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.001572/0.001572, allocations: 110.8 kB / 17.74 MB, free: 5.344 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.001826/0.001826, allocations: 188.5 kB / 18.66 MB, free: 4.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1755/0.1755, allocations: 38.03 MB / 330.5 MB, free: 8.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 75.81 kB / 458.8 MB, free: 6.824 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.3038, allocations: 58.04 MB / 0.5047 GB, free: 7.891 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding): time 0.007788/0.3117, allocations: 8.165 MB / 0.5127 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004778/0.3165, allocations: 2.976 MB / 0.5156 GB, free: 80 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006856/0.3172, allocations: 30.88 kB / 0.5157 GB, free: 68 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002345/0.3196, allocations: 0.891 MB / 0.5165 GB, free: 15.54 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002289/0.3219, allocations: 0.9095 MB / 0.5174 GB, free: 15.05 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001749/0.3236, allocations: 0.6336 MB / 0.518 GB, free: 14.77 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002774/0.3264, allocations: 1.952 MB / 0.5199 GB, free: 13.97 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009502/0.3274, allocations: 0.652 MB / 0.5206 GB, free: 13.69 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001651/0.3291, allocations: 0.8373 MB / 0.5214 GB, free: 13.33 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001783/0.3309, allocations: 1.11 MB / 0.5225 GB, free: 12.94 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002059/0.3311, allocations: 112.1 kB / 0.5226 GB, free: 12.94 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001277/0.3324, allocations: 0.5324 MB / 0.5231 GB, free: 12.8 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008654/0.3332, allocations: 0.7791 MB / 0.5239 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009684/0.3342, allocations: 0.7617 MB / 0.5246 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00266/0.3369, allocations: 1.999 MB / 0.5266 GB, free: 11.39 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3369, allocations: 0 / 0.5266 GB, free: 11.39 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3369, allocations: 0 / 0.5266 GB, free: 11.39 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.763e-05/0.337, allocations: 1.156 kB / 0.5266 GB, free: 11.39 MB / 398.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.003437/0.3404, allocations: 1.678 MB / 0.5282 GB, free: 10.29 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.3405, allocations: 12.67 kB / 0.5282 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00177/0.3422, allocations: 281.7 kB / 0.5285 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001677/0.3439, allocations: 0.9044 MB / 0.5294 GB, free: 9.496 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.844e-05/0.344, allocations: 90.84 kB / 0.5294 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003306/0.3443, allocations: 161.7 kB / 0.5296 GB, free: 9.387 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003128/0.3475, allocations: 2.082 MB / 0.5316 GB, free: 8.012 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.215e-05/0.3475, allocations: 8.156 kB / 0.5316 GB, free: 8.008 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001393/0.3477, allocations: 58.38 kB / 0.5317 GB, free: 7.965 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004817/0.3482, allocations: 176.6 kB / 0.5319 GB, free: 7.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002713/0.3509, allocations: 1.676 MB / 0.5335 GB, free: 7.113 MB / 398.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.01055/0.3615, allocations: 9.36 MB / 0.5426 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001178/0.3627, allocations: 0.8947 MB / 0.5435 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00065/0.3633, allocations: 440 kB / 0.5439 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.347e-05/0.3634, allocations: 18.2 kB / 0.544 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.504e-05/0.3634, allocations: 47.34 kB / 0.544 GB, free: 14.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=81): time 3.516e-06/0.3635, allocations: 0 / 0.544 GB, free: 14.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=85): time 0.005327/0.3688, allocations: 3.039 MB / 0.547 GB, free: 12.33 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.598e-05/0.3689, allocations: 91.67 kB / 0.5471 GB, free: 12.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009328/0.3698, allocations: 0.7543 MB / 0.5478 GB, free: 11.47 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.125e-05/0.3699, allocations: 45.73 kB / 0.5478 GB, free: 11.42 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005238/0.3704, allocations: 0.7034 MB / 0.5485 GB, free: 10.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002355/0.3707, allocations: 307.7 kB / 0.5488 GB, free: 10.4 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003221/0.371, allocations: 255.3 kB / 0.5491 GB, free: 10.14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.3712, allocations: 402.7 kB / 0.5494 GB, free: 9.738 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006603/0.3719, allocations: 455.7 kB / 0.5499 GB, free: 9.293 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009755/0.3728, allocations: 1.014 MB / 0.5509 GB, free: 8.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00177/0.3746, allocations: 1.61 MB / 0.5524 GB, free: 6.141 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.408e-06/0.3746, allocations: 4 kB / 0.5524 GB, free: 6.137 MB / 414.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003375/0.378, allocations: 1.962 MB / 0.5544 GB, free: 4.164 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.713e-05/0.3781, allocations: 12 kB / 0.5544 GB, free: 4.152 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002082/0.3802, allocations: 1.199 MB / 0.5555 GB, free: 2.949 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001314/0.3815, allocations: 451.5 kB / 0.556 GB, free: 2.504 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008327/0.3823, allocations: 263.5 kB / 0.5562 GB, free: 2.246 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006956/0.3893, allocations: 5.891 MB / 0.562 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009391/0.3903, allocations: 60.02 kB / 0.562 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001388/0.3904, allocations: 68 kB / 0.5621 GB, free: 11.95 MB / 430.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.000829/0.3913, allocations: 469.1 kB / 0.5625 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001898/0.3915, allocations: 94.88 kB / 0.5626 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002287/0.3938, allocations: 1.38 MB / 0.564 GB, free: 9.93 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/0.3938, allocations: 8 kB / 0.564 GB, free: 9.922 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.819e-06/0.3938, allocations: 7.938 kB / 0.564 GB, free: 9.914 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.3938, allocations: 3.984 kB / 0.564 GB, free: 9.91 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003956/0.3978, allocations: 2.493 MB / 0.5664 GB, free: 7.285 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.3978, allocations: 4.125 kB / 0.5664 GB, free: 7.281 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005797/0.3984, allocations: 131.8 kB / 0.5666 GB, free: 7.152 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005377/0.3989, allocations: 186.3 kB / 0.5667 GB, free: 6.961 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.815e-05/0.399, allocations: 23.98 kB / 0.5668 GB, free: 6.938 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003886/0.4029, allocations: 4.945 MB / 0.5716 GB, free: 1.566 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.403, allocations: 4.031 kB / 0.5716 GB, free: 1.562 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002604/0.4056, allocations: 1.856 MB / 0.5734 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004249/0.406, allocations: 224 kB / 0.5736 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001499/0.4062, allocations: 27.89 kB / 0.5737 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004357/0.4066, allocations: 23.92 kB / 0.5737 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.4067, allocations: 68.5 kB / 0.5737 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.196e-05/0.4068, allocations: 24 kB / 0.5738 GB, free: 15.24 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006923/0.4075, allocations: 0.4912 MB / 0.5742 GB, free: 14.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4075, allocations: 0 / 0.5742 GB, free: 14.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001439/0.409, allocations: 324 kB / 0.5746 GB, free: 14.44 MB / 446.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.0001911/0.4092, allocations: 123.3 kB / 0.5747 GB, free: 14.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002824/0.412, allocations: 1.547 MB / 0.5762 GB, free: 12.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.412, allocations: 0 / 0.5762 GB, free: 12.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001395/0.4134, allocations: 0.8448 MB / 0.577 GB, free: 11.85 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.4145, allocations: 185.4 kB / 0.5772 GB, free: 11.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005009/0.4195, allocations: 2.869 MB / 0.58 GB, free: 8.754 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001035/0.4206, allocations: 1.313 MB / 0.5813 GB, free: 7.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002386/0.4208, allocations: 79.42 kB / 0.5813 GB, free: 7.332 MB / 446.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4208, allocations: 11.88 kB / 0.5814 GB, free: 7.32 MB / 446.1 MB Notification: Performance of Templates: time 0.03065/0.4515, allocations: 24.82 MB / 0.6056 GB, free: 14.5 MB / 478.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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe 2>&1)