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.001818/0.001818, allocations: 176.4 kB / 17.4 MB, free: 4.27 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.497/1.497, allocations: 205.4 MB / 223.5 MB, free: 9.004 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.0007898/0.0007896, allocations: 82.42 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1831/0.1831, allocations: 38.08 MB / 358.3 MB, free: 1.719 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003833/0.0003834, allocations: 20 kB / 425.2 MB, free: 37.35 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.331, allocations: 56.32 MB / 481.6 MB, free: 9.59 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1612/0.4922, allocations: 110 MB / 0.5777 GB, free: 8.258 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003039/0.4926, allocations: 99.8 kB / 0.5778 GB, free: 8.164 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1157/0.6083, allocations: 40.86 MB / 0.6177 GB, free: 14.81 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.6083, allocations: 7.938 kB / 0.6177 GB, free: 14.8 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001028/0.6085, allocations: 35.98 kB / 0.6177 GB, free: 14.77 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.004162/0.6126, allocations: 1.439 MB / 0.6191 GB, free: 13.27 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.6127, allocations: 8.031 kB / 0.6191 GB, free: 13.26 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002538/0.6152, allocations: 342.8 kB / 0.6195 GB, free: 12.93 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003309/0.6186, allocations: 1.36 MB / 0.6208 GB, free: 11.52 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.873e-05/0.6187, allocations: 94.41 kB / 0.6209 GB, free: 11.43 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004688/0.6192, allocations: 120 kB / 0.621 GB, free: 11.31 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003739/0.6229, allocations: 2.033 MB / 0.623 GB, free: 9.121 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.163e-05/0.623, allocations: 11.84 kB / 0.623 GB, free: 9.109 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001785/0.6232, allocations: 59.91 kB / 0.623 GB, free: 9.051 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002904/0.6235, allocations: 166.4 kB / 0.6232 GB, free: 8.887 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002881/0.6263, allocations: 1.583 MB / 0.6248 GB, free: 7.297 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.0113/0.6377, allocations: 9.143 MB / 0.6337 GB, free: 13.68 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001181/0.6389, allocations: 0.8415 MB / 0.6345 GB, free: 12.8 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007171/0.6396, allocations: 0.5109 MB / 0.635 GB, free: 12.29 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.877e-05/0.6397, allocations: 24.91 kB / 0.635 GB, free: 12.26 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.018e-05/0.6397, allocations: 47.5 kB / 0.6351 GB, free: 12.2 MB / 474.7 MB Notification: Performance of pre-optimization done (n=93): time 3.767e-06/0.6397, allocations: 0 / 0.6351 GB, free: 12.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=97): time 0.005421/0.6452, allocations: 3.412 MB / 0.6384 GB, free: 8.684 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.611e-05/0.6453, allocations: 94.05 kB / 0.6385 GB, free: 8.574 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008985/0.6462, allocations: 0.7151 MB / 0.6392 GB, free: 7.852 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.035e-05/0.6462, allocations: 45.64 kB / 0.6392 GB, free: 7.801 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004459/0.6467, allocations: 0.6573 MB / 0.6399 GB, free: 7.133 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002741/0.647, allocations: 355 kB / 0.6402 GB, free: 6.781 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.496e-05/0.6471, allocations: 28 kB / 0.6402 GB, free: 6.754 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001936/0.6473, allocations: 402.7 kB / 0.6406 GB, free: 6.352 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007135/0.648, allocations: 0.4912 MB / 0.6411 GB, free: 5.859 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001066/0.6491, allocations: 1.006 MB / 0.6421 GB, free: 4.617 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002044/0.6511, allocations: 1.657 MB / 0.6437 GB, free: 2.727 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.318e-06/0.6511, allocations: 8 kB / 0.6437 GB, free: 2.719 MB / 474.7 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.003532/0.6547, allocations: 2.02 MB / 0.6457 GB, free: 0.6797 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.048e-05/0.6547, allocations: 15.94 kB / 0.6457 GB, free: 0.6641 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2308/0.8855, allocations: 1.337 MB / 0.647 GB, free: 126.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001529/0.8871, allocations: 448.1 kB / 0.6474 GB, free: 126.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/0.8882, allocations: 259 kB / 0.6477 GB, free: 126.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006283/0.8945, allocations: 5.403 MB / 0.653 GB, free: 124.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009124/0.8954, allocations: 74.89 kB / 0.653 GB, free: 124.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.593e-05/0.8955, allocations: 63.8 kB / 0.6531 GB, free: 124.3 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.000815/0.8963, allocations: 467 kB / 0.6535 GB, free: 124.2 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/0.8965, allocations: 92.06 kB / 0.6536 GB, free: 124.2 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00235/0.8988, allocations: 1.556 MB / 0.6551 GB, free: 123.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.342e-05/0.8989, allocations: 21.64 kB / 0.6552 GB, free: 123.8 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.8989, allocations: 2.953 kB / 0.6552 GB, free: 123.8 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.8989, allocations: 4.781 kB / 0.6552 GB, free: 123.8 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004136/0.9031, allocations: 2.731 MB / 0.6578 GB, free: 123.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.9031, allocations: 2.094 kB / 0.6578 GB, free: 123.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005874/0.9037, allocations: 142.6 kB / 0.658 GB, free: 123.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005025/0.9042, allocations: 189.2 kB / 0.6582 GB, free: 123.1 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.483e-05/0.9043, allocations: 24.92 kB / 0.6582 GB, free: 123.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002971/0.9072, allocations: 4.598 MB / 0.6627 GB, free: 119.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.9073, allocations: 1.922 kB / 0.6627 GB, free: 119.4 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00278/0.91, allocations: 2.114 MB / 0.6647 GB, free: 118.9 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003961/0.9105, allocations: 242.5 kB / 0.665 GB, free: 118.7 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.84e-05/0.9106, allocations: 23.53 kB / 0.665 GB, free: 118.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000441/0.911, allocations: 47.25 kB / 0.665 GB, free: 118.7 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/0.9112, allocations: 64.08 kB / 0.6651 GB, free: 118.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-05/0.9112, allocations: 27.38 kB / 0.6651 GB, free: 118.7 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006375/0.9119, allocations: 476.5 kB / 0.6656 GB, free: 118.6 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.9119, allocations: 0 / 0.6656 GB, free: 118.6 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001382/0.9133, allocations: 371 kB / 0.6659 GB, free: 118.6 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.0002855/0.9136, allocations: 170 kB / 0.6661 GB, free: 118.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002663/0.9162, allocations: 1.669 MB / 0.6677 GB, free: 118.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.9162, allocations: 0 / 0.6677 GB, free: 118.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001349/0.9176, allocations: 0.9253 MB / 0.6686 GB, free: 117.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009187/0.9185, allocations: 165.7 kB / 0.6688 GB, free: 117.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004721/0.9233, allocations: 3.454 MB / 0.6722 GB, free: 116.5 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009999/0.9243, allocations: 1.324 MB / 0.6734 GB, free: 115.8 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001174/0.9255, allocations: 364.1 kB / 0.6738 GB, free: 115.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002066/0.9257, allocations: 71.58 kB / 0.6739 GB, free: 115.7 MB / 474.7 MB Notification: Performance of SimCode: time 1.572e-06/0.9257, allocations: 4 kB / 0.6739 GB, free: 115.7 MB / 474.7 MB Notification: Performance of Templates: time 0.01945/0.9451, allocations: 11.99 MB / 0.6856 GB, free: 115.1 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/jenkins1/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