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/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001018/0.001018, allocations: 176.4 kB / 8.346 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.529/1.529, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009164/0.0009164, allocations: 95.27 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1865/0.1865, allocations: 37.98 MB / 348 MB, free: 7.777 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.095e-05/2.081e-05, allocations: 0 / 410.6 MB, free: 46.96 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1351, allocations: 56.34 MB / 466.9 MB, free: 6.559 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4617/0.5969, allocations: 109.2 MB / 0.5626 GB, free: 1.73 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003485/0.5973, allocations: 87.94 kB / 0.5627 GB, free: 1.645 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1504/0.7478, allocations: 40.58 MB / 0.6023 GB, free: 8.59 MB / 443.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.7478, allocations: 0 / 0.6023 GB, free: 8.59 MB / 443.1 MB Notification: Performance of Transformations before backend: time 8.27e-05/0.7479, allocations: 32 kB / 0.6023 GB, free: 8.559 MB / 443.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.003597/0.7515, allocations: 1.334 MB / 0.6036 GB, free: 7.172 MB / 443.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.7516, allocations: 8.031 kB / 0.6036 GB, free: 7.164 MB / 443.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003409/0.755, allocations: 349.7 kB / 0.604 GB, free: 6.82 MB / 443.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006329/0.7614, allocations: 1.799 MB / 0.6057 GB, free: 4.977 MB / 443.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.348e-05/0.7615, allocations: 40 kB / 0.6058 GB, free: 4.938 MB / 443.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002881/0.7618, allocations: 83.88 kB / 0.6059 GB, free: 4.855 MB / 443.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003384/0.7652, allocations: 1.376 MB / 0.6072 GB, free: 3.477 MB / 443.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003863/0.769, allocations: 1.818 MB / 0.609 GB, free: 1.504 MB / 443.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.508e-05/0.7691, allocations: 7.938 kB / 0.609 GB, free: 1.496 MB / 443.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001535/0.7693, allocations: 7.938 kB / 0.609 GB, free: 1.488 MB / 443.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004171/0.7697, allocations: 166.4 kB / 0.6091 GB, free: 1.324 MB / 443.1 MB Warning: The model contains alias variables with conflicting start and/or 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.01196/0.7817, allocations: 8.829 MB / 0.6178 GB, free: 8.043 MB / 459.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.7827, allocations: 0.8016 MB / 0.6186 GB, free: 7.207 MB / 459.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006283/0.7833, allocations: 484 kB / 0.619 GB, free: 6.73 MB / 459.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.935e-05/0.7834, allocations: 16.77 kB / 0.619 GB, free: 6.711 MB / 459.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.457e-05/0.7835, allocations: 47.28 kB / 0.6191 GB, free: 6.656 MB / 459.1 MB Notification: Performance of pre-optimization done (n=93): time 3.676e-06/0.7835, allocations: 3.938 kB / 0.6191 GB, free: 6.652 MB / 459.1 MB Notification: Performance of matching and sorting (n=97): time 0.004811/0.7883, allocations: 2.885 MB / 0.6219 GB, free: 3.648 MB / 459.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.033e-05/0.7884, allocations: 97.92 kB / 0.622 GB, free: 3.535 MB / 459.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007108/0.7891, allocations: 0.5776 MB / 0.6226 GB, free: 2.953 MB / 459.1 MB Notification: Performance of collectPreVariables (initialization): time 5.236e-05/0.7892, allocations: 29.7 kB / 0.6226 GB, free: 2.918 MB / 459.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004279/0.7896, allocations: 0.665 MB / 0.6232 GB, free: 2.242 MB / 459.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000265/0.7899, allocations: 339 kB / 0.6236 GB, free: 1.906 MB / 459.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.882e-05/0.7899, allocations: 4 kB / 0.6236 GB, free: 1.902 MB / 459.1 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.7901, allocations: 402.7 kB / 0.6239 GB, free: 1.5 MB / 459.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006295/0.7908, allocations: 471.1 kB / 0.6244 GB, free: 1.043 MB / 459.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009724/0.7917, allocations: 0.9699 MB / 0.6253 GB, free: 15.83 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009663/0.7927, allocations: 0.6731 MB / 0.626 GB, free: 15.16 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.774e-06/0.7927, allocations: 4 kB / 0.626 GB, free: 15.16 MB / 475.1 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.003132/0.7959, allocations: 1.86 MB / 0.6278 GB, free: 13.29 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.665e-05/0.7959, allocations: 14.69 kB / 0.6278 GB, free: 13.27 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00217/0.7981, allocations: 1.283 MB / 0.6291 GB, free: 11.98 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001219/0.7993, allocations: 433.3 kB / 0.6295 GB, free: 11.55 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008109/0.8001, allocations: 259.5 kB / 0.6297 GB, free: 11.29 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005861/0.806, allocations: 5.119 MB / 0.6347 GB, free: 5.945 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00076/0.8068, allocations: 43.95 kB / 0.6348 GB, free: 5.902 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.149e-05/0.8069, allocations: 64 kB / 0.6348 GB, free: 5.84 MB / 475.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (136): * Single equations (assignments): 131 * Array equations: 3 * 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.0002213/0.8071, allocations: 152.4 kB / 0.635 GB, free: 5.684 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.8073, allocations: 90.88 kB / 0.6351 GB, free: 5.594 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002376/0.8096, allocations: 1.48 MB / 0.6365 GB, free: 4.031 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-05/0.8097, allocations: 20 kB / 0.6365 GB, free: 4.012 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.8097, allocations: 0 / 0.6365 GB, free: 4.012 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.8097, allocations: 7.984 kB / 0.6366 GB, free: 4.004 MB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003704/0.8134, allocations: 2.492 MB / 0.639 GB, free: 1.391 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.8134, allocations: 0 / 0.639 GB, free: 1.391 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005823/0.814, allocations: 143.8 kB / 0.6391 GB, free: 1.25 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004721/0.8145, allocations: 178.4 kB / 0.6393 GB, free: 1.066 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.776e-05/0.8146, allocations: 20.11 kB / 0.6393 GB, free: 1.047 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2682/1.083, allocations: 4.41 MB / 0.6436 GB, free: 125.1 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-05/1.083, allocations: 1.797 kB / 0.6436 GB, free: 125.1 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005056/1.088, allocations: 2.091 MB / 0.6457 GB, free: 124.6 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007484/1.089, allocations: 246.3 kB / 0.6459 GB, free: 124.5 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002407/1.089, allocations: 9.031 kB / 0.6459 GB, free: 124.5 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000694/1.09, allocations: 29.19 kB / 0.6459 GB, free: 124.5 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002011/1.09, allocations: 60.44 kB / 0.646 GB, free: 124.5 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.167e-05/1.09, allocations: 26.44 kB / 0.646 GB, free: 124.5 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.000762/1.091, allocations: 429.9 kB / 0.6464 GB, free: 124.4 MB / 475.1 MB Notification: Performance of sort global known variables: time 2.3e-07/1.091, allocations: 0 / 0.6464 GB, free: 124.4 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.002008/1.093, allocations: 326.7 kB / 0.6467 GB, free: 124.4 MB / 475.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 72 * Array equations: 3 * 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.0003899/1.093, allocations: 164.7 kB / 0.6469 GB, free: 124.3 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.00356/1.097, allocations: 1.522 MB / 0.6484 GB, free: 124.1 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/1.097, allocations: 1.828 kB / 0.6484 GB, free: 124.1 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001893/1.099, allocations: 0.8776 MB / 0.6492 GB, free: 123.7 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/1.1, allocations: 131.5 kB / 0.6494 GB, free: 123.7 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006142/1.106, allocations: 2.329 MB / 0.6516 GB, free: 123.2 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001446/1.107, allocations: 1.345 MB / 0.653 GB, free: 122.5 MB / 475.1 MB Notification: Performance of simCode: alias equations: time 0.001626/1.109, allocations: 366.9 kB / 0.6533 GB, free: 122.5 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002711/1.109, allocations: 69.62 kB / 0.6534 GB, free: 122.5 MB / 475.1 MB Notification: Performance of SimCode: time 9.82e-07/1.109, allocations: 0 / 0.6534 GB, free: 122.5 MB / 475.1 MB Notification: Performance of Templates: time 0.03379/1.143, allocations: 11.3 MB / 0.6644 GB, free: 121.9 MB / 475.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches