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.001618/0.001618, allocations: 112.5 kB / 16.51 MB, free: 6.707 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.001803/0.001803, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.441/1.441, allocations: 222.9 MB / 241.1 MB, free: 13.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1969/0.1969, allocations: 38.03 MB / 329.3 MB, free: 8.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 62.05 kB / 398.1 MB, free: 34.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.13, allocations: 58.06 MB / 456.1 MB, free: 8.484 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding): time 0.01069/0.1408, allocations: 9.601 MB / 465.7 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006949/0.1478, allocations: 3.476 MB / 469.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001298/0.1491, allocations: 55.62 kB / 469.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002436/0.1516, allocations: 0.8328 MB / 470.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002253/0.1539, allocations: 0.8642 MB / 471 MB, free: 9.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001585/0.1555, allocations: 0.5771 MB / 471.5 MB, free: 9.012 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003782/0.1593, allocations: 3.331 MB / 474.9 MB, free: 5.672 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001063/0.1603, allocations: 0.6331 MB / 475.5 MB, free: 5.031 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001382/0.1617, allocations: 0.6845 MB / 476.2 MB, free: 4.344 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002409/0.1642, allocations: 1.184 MB / 477.4 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003574/0.1645, allocations: 71.98 kB / 477.4 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001382/0.1659, allocations: 0.5381 MB / 478 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008501/0.1668, allocations: 0.7482 MB / 478.7 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009826/0.1678, allocations: 0.7072 MB / 479.4 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002125/0.1699, allocations: 1.951 MB / 481.4 MB, free: 15.13 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.1699, allocations: 0 / 481.4 MB, free: 15.13 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.81e-07/0.1699, allocations: 0 / 481.4 MB, free: 15.13 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.565e-05/0.17, allocations: 0 / 481.4 MB, free: 15.13 MB / 366.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.003037/0.173, allocations: 1.664 MB / 483.1 MB, free: 13.41 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.1731, allocations: 12.03 kB / 483.1 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001598/0.1747, allocations: 274.9 kB / 483.3 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001582/0.1763, allocations: 0.8714 MB / 484.2 MB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.649e-05/0.1764, allocations: 90.78 kB / 484.3 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003383/0.1767, allocations: 156.1 kB / 484.5 MB, free: 11.97 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003059/0.1798, allocations: 2.08 MB / 486.5 MB, free: 9.73 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.11e-05/0.1798, allocations: 11.84 kB / 486.5 MB, free: 9.719 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001274/0.18, allocations: 55.97 kB / 486.6 MB, free: 9.664 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004375/0.1804, allocations: 174.5 kB / 486.8 MB, free: 9.492 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002535/0.183, allocations: 1.68 MB / 488.4 MB, free: 7.805 MB / 366.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.01179/0.1948, allocations: 9.407 MB / 497.9 MB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001327/0.1961, allocations: 0.9017 MB / 498.8 MB, free: 12.92 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007226/0.1968, allocations: 440.4 kB / 499.2 MB, free: 12.49 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.351e-05/0.1969, allocations: 12.64 kB / 499.2 MB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.275e-05/0.197, allocations: 51.2 kB / 499.2 MB, free: 12.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=81): time 4.769e-06/0.197, allocations: 0 / 499.2 MB, free: 12.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=85): time 0.005414/0.2024, allocations: 3.037 MB / 0.4905 GB, free: 9.266 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.14e-05/0.2025, allocations: 90.11 kB / 0.4906 GB, free: 9.156 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009883/0.2035, allocations: 0.7542 MB / 0.4913 GB, free: 8.395 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.409e-05/0.2036, allocations: 37.7 kB / 0.4914 GB, free: 8.352 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004606/0.2041, allocations: 0.6958 MB / 0.4921 GB, free: 7.645 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002604/0.2043, allocations: 315.6 kB / 0.4924 GB, free: 7.332 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003439/0.2047, allocations: 259.3 kB / 0.4926 GB, free: 7.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002086/0.2049, allocations: 406.7 kB / 0.493 GB, free: 6.664 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006551/0.2056, allocations: 455.6 kB / 0.4934 GB, free: 6.219 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00115/0.2067, allocations: 1.01 MB / 0.4944 GB, free: 4.949 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002078/0.2088, allocations: 1.617 MB / 0.496 GB, free: 3.066 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.788e-06/0.2088, allocations: 8 kB / 0.496 GB, free: 3.059 MB / 382.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003456/0.2123, allocations: 1.95 MB / 0.4979 GB, free: 1.094 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.99e-05/0.2123, allocations: 16 kB / 0.4979 GB, free: 1.078 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002172/0.2145, allocations: 1.203 MB / 0.4991 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001393/0.2159, allocations: 451.5 kB / 0.4995 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008474/0.2168, allocations: 259.5 kB / 0.4998 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006854/0.2236, allocations: 5.4 MB / 0.505 GB, free: 9.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/0.2247, allocations: 55.98 kB / 0.5051 GB, free: 9.445 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.2249, allocations: 64 kB / 0.5052 GB, free: 9.383 MB / 398.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.0008097/0.2257, allocations: 477 kB / 0.5056 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002131/0.2259, allocations: 94.78 kB / 0.5057 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002372/0.2283, allocations: 1.387 MB / 0.5071 GB, free: 7.352 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.2283, allocations: 8 kB / 0.5071 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.415e-06/0.2283, allocations: 4 kB / 0.5071 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.291e-05/0.2283, allocations: 7.922 kB / 0.5071 GB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004633/0.233, allocations: 2.485 MB / 0.5095 GB, free: 4.715 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.233, allocations: 0 / 0.5095 GB, free: 4.715 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005364/0.2335, allocations: 127.8 kB / 0.5096 GB, free: 4.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005457/0.2341, allocations: 194.4 kB / 0.5098 GB, free: 4.391 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.235e-05/0.2342, allocations: 23.98 kB / 0.5098 GB, free: 4.367 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2453/0.4795, allocations: 4.595 MB / 0.5143 GB, free: 68.14 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.4796, allocations: 4.5 kB / 0.5143 GB, free: 68.14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004269/0.4839, allocations: 1.855 MB / 0.5161 GB, free: 67.65 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000607/0.4845, allocations: 223.6 kB / 0.5163 GB, free: 67.56 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001684/0.4847, allocations: 24 kB / 0.5164 GB, free: 67.56 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006115/0.4853, allocations: 28.44 kB / 0.5164 GB, free: 67.56 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002164/0.4855, allocations: 59.08 kB / 0.5165 GB, free: 67.56 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.382e-05/0.4856, allocations: 27.8 kB / 0.5165 GB, free: 67.56 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009552/0.4866, allocations: 0.4889 MB / 0.517 GB, free: 67.46 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.4866, allocations: 0 / 0.517 GB, free: 67.46 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002206/0.4888, allocations: 331.1 kB / 0.5173 GB, free: 67.46 MB / 398.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.0002535/0.4891, allocations: 119.9 kB / 0.5174 GB, free: 67.38 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004445/0.4936, allocations: 1.537 MB / 0.5189 GB, free: 67.03 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.4936, allocations: 3.281 kB / 0.5189 GB, free: 67.03 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001558/0.4952, allocations: 0.8334 MB / 0.5197 GB, free: 66.54 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001555/0.4967, allocations: 159.5 kB / 0.5199 GB, free: 66.48 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008324/0.5051, allocations: 3.371 MB / 0.5232 GB, free: 64.66 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001406/0.5065, allocations: 1.315 MB / 0.5244 GB, free: 63.88 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001998/0.5086, allocations: 368.9 kB / 0.5248 GB, free: 63.84 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000276/0.5089, allocations: 67.41 kB / 0.5249 GB, free: 63.83 MB / 398.1 MB Notification: Performance of SimCode: time 1.032e-06/0.5089, allocations: 0 / 0.5249 GB, free: 63.83 MB / 398.1 MB Notification: Performance of Templates: time 0.02433/0.5332, allocations: 11.43 MB / 0.536 GB, free: 60.93 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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe 2>&1)