Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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="mat",numberOfIntervals=5000,variableFilter="Time|meter1.alpha_v|meter1.p.1.|meter1.p.2.|meter1.p.3.|meter1.v_norm|meter12.alpha_v|meter12.p.1.|meter12.p.2.|meter12.p.3.|meter12.v_norm|meter22.alpha_v|meter22.p.1.|meter22.p.2.|meter22.p.3.|meter22.v_norm",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding") translateModel(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter1.alpha_v|meter1.p.1.|meter1.p.2.|meter1.p.3.|meter1.v_norm|meter12.alpha_v|meter12.p.1.|meter12.p.2.|meter12.p.3.|meter12.v_norm|meter22.alpha_v|meter22.p.1.|meter22.p.2.|meter22.p.3.|meter22.v_norm",fileNamePrefix="PowerSystems_latest_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.001261/0.001261, allocations: 112.5 kB / 17.68 MB, free: 5.496 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.001363/0.001363, allocations: 190.9 kB / 18.62 MB, free: 4.562 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.411/1.411, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1796/0.1796, allocations: 38.04 MB / 330.5 MB, free: 8.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 62.48 kB / 400.2 MB, free: 33.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1626, allocations: 58.06 MB / 458.3 MB, free: 7.316 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding): time 0.01123/0.1739, allocations: 8.166 MB / 466.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006313/0.1803, allocations: 2.969 MB / 469.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007174/0.181, allocations: 35.81 kB / 469.5 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002536/0.1836, allocations: 0.8856 MB / 470.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002431/0.186, allocations: 0.9065 MB / 471.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001931/0.188, allocations: 0.6353 MB / 471.9 MB, free: 9.664 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00283/0.1908, allocations: 1.954 MB / 473.9 MB, free: 7.703 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001283/0.1921, allocations: 0.6499 MB / 474.5 MB, free: 7.043 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001972/0.1941, allocations: 0.8211 MB / 475.3 MB, free: 6.219 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001967/0.1961, allocations: 1.106 MB / 476.4 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001981/0.1963, allocations: 116 kB / 476.5 MB, free: 4.996 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001332/0.1977, allocations: 0.5305 MB / 477.1 MB, free: 4.465 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007901/0.1985, allocations: 0.7873 MB / 477.9 MB, free: 3.676 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008698/0.1993, allocations: 0.758 MB / 478.6 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002258/0.2016, allocations: 2.001 MB / 480.6 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.2016, allocations: 4 kB / 480.6 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.068e-06/0.2016, allocations: 0 / 480.6 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.735e-05/0.2017, allocations: 0 / 480.6 MB, free: 0.9023 MB / 350.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.00328/0.205, allocations: 1.667 MB / 482.3 MB, free: 15.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.196e-05/0.205, allocations: 11.89 kB / 482.3 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001667/0.2067, allocations: 286.8 kB / 482.6 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001932/0.2087, allocations: 0.9066 MB / 483.5 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.774e-05/0.2088, allocations: 90.8 kB / 483.6 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003728/0.2091, allocations: 155.9 kB / 483.7 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003326/0.2125, allocations: 2.084 MB / 485.8 MB, free: 11.45 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.482e-05/0.2126, allocations: 11.94 kB / 485.8 MB, free: 11.44 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000131/0.2127, allocations: 55.91 kB / 485.9 MB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00046/0.2132, allocations: 186.5 kB / 486.1 MB, free: 11.2 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002917/0.2161, allocations: 1.673 MB / 487.7 MB, free: 9.523 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.01301/0.2291, allocations: 9.364 MB / 497.1 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001313/0.2305, allocations: 0.8952 MB / 498 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006733/0.2312, allocations: 444.3 kB / 498.4 MB, free: 14.26 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.377e-05/0.2313, allocations: 16.64 kB / 498.4 MB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.052e-05/0.2313, allocations: 35.22 kB / 498.5 MB, free: 14.2 MB / 382.1 MB Notification: Performance of pre-optimization done (n=81): time 4.869e-06/0.2313, allocations: 0 / 498.5 MB, free: 14.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=85): time 0.005934/0.2373, allocations: 3.041 MB / 0.4898 GB, free: 11.04 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.997e-05/0.2374, allocations: 94.05 kB / 0.4899 GB, free: 10.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/0.2385, allocations: 0.7465 MB / 0.4906 GB, free: 10.17 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.381e-05/0.2386, allocations: 41.7 kB / 0.4906 GB, free: 10.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005404/0.2392, allocations: 0.6996 MB / 0.4913 GB, free: 9.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002763/0.2395, allocations: 307.7 kB / 0.4916 GB, free: 9.105 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003825/0.2399, allocations: 263.2 kB / 0.4919 GB, free: 8.844 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002196/0.2401, allocations: 402.7 kB / 0.4922 GB, free: 8.441 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006789/0.2408, allocations: 455.7 kB / 0.4927 GB, free: 7.996 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001255/0.2421, allocations: 1.014 MB / 0.4937 GB, free: 6.723 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001921/0.244, allocations: 1.606 MB / 0.4952 GB, free: 4.852 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.316e-05/0.244, allocations: 8 kB / 0.4952 GB, free: 4.844 MB / 382.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003518/0.2475, allocations: 1.958 MB / 0.4972 GB, free: 2.871 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.335e-05/0.2476, allocations: 16 kB / 0.4972 GB, free: 2.855 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002135/0.2497, allocations: 1.191 MB / 0.4983 GB, free: 1.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001314/0.2511, allocations: 456.3 kB / 0.4988 GB, free: 1.211 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008063/0.2519, allocations: 263.5 kB / 0.499 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006947/0.2588, allocations: 5.89 MB / 0.5048 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008835/0.2598, allocations: 55.89 kB / 0.5048 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001085/0.2599, allocations: 71.98 kB / 0.5049 GB, free: 10.66 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.000741/0.2606, allocations: 471.3 kB / 0.5053 GB, free: 10.19 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001557/0.2608, allocations: 86.88 kB / 0.5054 GB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002106/0.2629, allocations: 1.391 MB / 0.5068 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.297e-05/0.2629, allocations: 15.94 kB / 0.5068 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.263, allocations: 0 / 0.5068 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.263, allocations: 7.984 kB / 0.5068 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003777/0.2667, allocations: 2.481 MB / 0.5092 GB, free: 5.992 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.2668, allocations: 3.938 kB / 0.5092 GB, free: 5.988 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006356/0.2674, allocations: 131.8 kB / 0.5094 GB, free: 5.859 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005244/0.268, allocations: 194.4 kB / 0.5095 GB, free: 5.66 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.209e-05/0.268, allocations: 23.98 kB / 0.5096 GB, free: 5.637 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003969/0.272, allocations: 4.952 MB / 0.5144 GB, free: 272 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.272, allocations: 0 / 0.5144 GB, free: 272 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2397/0.5118, allocations: 1.845 MB / 0.5162 GB, free: 68.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000508/0.5123, allocations: 226 kB / 0.5164 GB, free: 68.73 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/0.5124, allocations: 25.92 kB / 0.5164 GB, free: 68.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003873/0.5128, allocations: 28.03 kB / 0.5165 GB, free: 68.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001539/0.513, allocations: 61.25 kB / 0.5165 GB, free: 68.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-05/0.5131, allocations: 25.97 kB / 0.5166 GB, free: 68.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006719/0.5137, allocations: 0.4908 MB / 0.517 GB, free: 68.63 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5138, allocations: 1.219 kB / 0.517 GB, free: 68.63 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001214/0.515, allocations: 324.6 kB / 0.5173 GB, free: 68.63 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.0001801/0.5152, allocations: 123.6 kB / 0.5175 GB, free: 68.55 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00281/0.518, allocations: 1.541 MB / 0.519 GB, free: 68.26 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.518, allocations: 0 / 0.519 GB, free: 68.26 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001367/0.5194, allocations: 0.8435 MB / 0.5198 GB, free: 67.85 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.5204, allocations: 175.6 kB / 0.52 GB, free: 67.79 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004971/0.5254, allocations: 2.755 MB / 0.5226 GB, free: 66.6 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001081/0.5265, allocations: 1.313 MB / 0.5239 GB, free: 65.81 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0009723/0.5275, allocations: 367.3 kB / 0.5243 GB, free: 65.77 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001883/0.5277, allocations: 64.78 kB / 0.5243 GB, free: 65.77 MB / 398.1 MB Notification: Performance of SimCode: time 7.52e-07/0.5277, allocations: 0.8125 kB / 0.5243 GB, free: 65.77 MB / 398.1 MB Notification: Performance of Templates: time 0.02409/0.5518, allocations: 11.83 MB / 0.5359 GB, free: 62.66 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches