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.00102/0.00102, allocations: 180.2 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.395/1.395, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008113/0.0008111, allocations: 92.09 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1623/0.1623, allocations: 38.05 MB / 357.2 MB, free: 1.887 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000291/0.0002909, allocations: 11.98 kB / 424 MB, free: 37.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2731, allocations: 56.31 MB / 480.3 MB, free: 9.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1434/0.4166, allocations: 110 MB / 0.5764 GB, free: 8.43 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/0.4169, allocations: 99.94 kB / 0.5765 GB, free: 8.332 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1114/0.5283, allocations: 40.94 MB / 0.6165 GB, free: 14.89 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.805e-06/0.5284, allocations: 0 / 0.6165 GB, free: 14.89 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.858e-05/0.5284, allocations: 35.94 kB / 0.6165 GB, free: 14.86 MB / 458.7 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.002993/0.5314, allocations: 1.454 MB / 0.618 GB, free: 13.34 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.5315, allocations: 12.03 kB / 0.618 GB, free: 13.33 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002134/0.5336, allocations: 341.9 kB / 0.6183 GB, free: 13 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004704/0.5384, allocations: 1.822 MB / 0.6201 GB, free: 11.13 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.244e-05/0.5385, allocations: 90.42 kB / 0.6202 GB, free: 11.04 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001992/0.5387, allocations: 127.9 kB / 0.6203 GB, free: 10.91 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002915/0.5416, allocations: 2.021 MB / 0.6223 GB, free: 8.734 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.032e-05/0.5416, allocations: 7.938 kB / 0.6223 GB, free: 8.727 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001286/0.5418, allocations: 59.92 kB / 0.6223 GB, free: 8.668 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002726/0.5421, allocations: 162.4 kB / 0.6225 GB, free: 8.508 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0024/0.5445, allocations: 1.579 MB / 0.624 GB, free: 6.922 MB / 458.7 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.009901/0.5544, allocations: 9.147 MB / 0.633 GB, free: 13.3 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/0.5555, allocations: 0.8376 MB / 0.6338 GB, free: 12.43 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.818e-05/0.5556, allocations: 17.05 kB / 0.6338 GB, free: 12.41 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.5556, allocations: 39.56 kB / 0.6338 GB, free: 12.37 MB / 474.7 MB Notification: Performance of pre-optimization done (n=93): time 3.236e-06/0.5557, allocations: 3.938 kB / 0.6338 GB, free: 12.36 MB / 474.7 MB Notification: Performance of matching and sorting (n=97): time 0.005404/0.5611, allocations: 3.664 MB / 0.6374 GB, free: 8.527 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.5611, allocations: 90.09 kB / 0.6375 GB, free: 8.422 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007088/0.5618, allocations: 0.6284 MB / 0.6381 GB, free: 7.785 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.825e-05/0.5619, allocations: 41.7 kB / 0.6381 GB, free: 7.738 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004014/0.5623, allocations: 0.665 MB / 0.6388 GB, free: 7.062 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002488/0.5626, allocations: 347.1 kB / 0.6391 GB, free: 6.719 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.772e-05/0.5626, allocations: 28 kB / 0.6392 GB, free: 6.691 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.5628, allocations: 402.7 kB / 0.6395 GB, free: 6.289 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007109/0.5635, allocations: 0.4989 MB / 0.64 GB, free: 5.789 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001035/0.5646, allocations: 1.002 MB / 0.641 GB, free: 4.551 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009243/0.5655, allocations: 0.6821 MB / 0.6417 GB, free: 3.871 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.296e-06/0.5655, allocations: 8 kB / 0.6417 GB, free: 3.863 MB / 474.7 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.00338/0.5689, allocations: 2.028 MB / 0.6437 GB, free: 1.82 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.569, allocations: 12 kB / 0.6437 GB, free: 1.809 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002303/0.5713, allocations: 1.331 MB / 0.645 GB, free: 480 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001373/0.5727, allocations: 453.2 kB / 0.6454 GB, free: 16 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.179/0.7517, allocations: 248.4 kB / 0.6456 GB, free: 126.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006374/0.7581, allocations: 5.589 MB / 0.6511 GB, free: 124 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009092/0.759, allocations: 73.41 kB / 0.6512 GB, free: 124 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001515/0.7592, allocations: 63.11 kB / 0.6512 GB, free: 124 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * 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 (135): * Single equations (assignments): 130 * 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.000802/0.76, allocations: 461.1 kB / 0.6517 GB, free: 123.9 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001682/0.7602, allocations: 94.05 kB / 0.6518 GB, free: 123.9 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002371/0.7626, allocations: 1.555 MB / 0.6533 GB, free: 123.5 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.132e-05/0.7626, allocations: 19.14 kB / 0.6533 GB, free: 123.5 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.7626, allocations: 2.219 kB / 0.6533 GB, free: 123.5 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/0.7626, allocations: 8.5 kB / 0.6533 GB, free: 123.5 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004193/0.7668, allocations: 2.729 MB / 0.656 GB, free: 122.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/0.7669, allocations: 5.797 kB / 0.656 GB, free: 122.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005819/0.7674, allocations: 142.4 kB / 0.6561 GB, free: 122.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005357/0.768, allocations: 185.9 kB / 0.6563 GB, free: 122.8 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-05/0.7681, allocations: 29.95 kB / 0.6563 GB, free: 122.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003686/0.7718, allocations: 4.647 MB / 0.6609 GB, free: 119.1 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.7718, allocations: 4.484 kB / 0.6609 GB, free: 119.1 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004611/0.7764, allocations: 2.162 MB / 0.663 GB, free: 118.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006942/0.7771, allocations: 253.4 kB / 0.6632 GB, free: 118.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002516/0.7774, allocations: 24.73 kB / 0.6632 GB, free: 118.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008365/0.7783, allocations: 43.78 kB / 0.6633 GB, free: 118.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002132/0.7785, allocations: 61.47 kB / 0.6633 GB, free: 118.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.522e-05/0.7786, allocations: 24.86 kB / 0.6634 GB, free: 118.3 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001142/0.7797, allocations: 480.7 kB / 0.6638 GB, free: 118.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.7798, allocations: 0 / 0.6638 GB, free: 118.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00246/0.7822, allocations: 369 kB / 0.6642 GB, free: 118.2 MB / 474.7 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 (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.0004624/0.7827, allocations: 170 kB / 0.6643 GB, free: 118.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004214/0.7869, allocations: 1.665 MB / 0.666 GB, free: 117.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.787, allocations: 2.781 kB / 0.666 GB, free: 117.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002224/0.7892, allocations: 0.9204 MB / 0.6669 GB, free: 117.5 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/0.7904, allocations: 157.9 kB / 0.667 GB, free: 117.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007943/0.7983, allocations: 3.453 MB / 0.6704 GB, free: 116.1 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001675/0.8001, allocations: 1.346 MB / 0.6717 GB, free: 115.4 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001778/0.8019, allocations: 365.3 kB / 0.672 GB, free: 115.4 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003357/0.8022, allocations: 72.59 kB / 0.6721 GB, free: 115.3 MB / 474.7 MB Notification: Performance of SimCode: time 9.91e-07/0.8022, allocations: 0 / 0.6721 GB, free: 115.3 MB / 474.7 MB Notification: Performance of Templates: time 0.02666/0.8289, allocations: 11.92 MB / 0.6838 GB, free: 114.7 MB / 474.7 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