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.001087/0.001087, allocations: 175.5 kB / 13.63 MB, free: 1.684 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.625/1.625, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.0008542/0.0008543, allocations: 86.64 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1757/0.1757, allocations: 37.98 MB / 353.5 MB, free: 1.758 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.876e-05/2.879e-05, allocations: 4 kB / 417.7 MB, free: 29.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1139, allocations: 56.31 MB / 474.1 MB, free: 4.816 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3844/0.4984, allocations: 109.9 MB / 0.5702 GB, free: 9.332 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/0.4987, allocations: 97.73 kB / 0.5703 GB, free: 9.277 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1225/0.6212, allocations: 40.93 MB / 0.6103 GB, free: 5.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.6212, allocations: 0 / 0.6103 GB, free: 5.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.228e-05/0.6213, allocations: 39.92 kB / 0.6103 GB, free: 5.871 MB / 410.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.003164/0.6245, allocations: 1.33 MB / 0.6116 GB, free: 4.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.6246, allocations: 8.031 kB / 0.6116 GB, free: 4.562 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002561/0.6271, allocations: 345.8 kB / 0.612 GB, free: 4.223 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005467/0.6326, allocations: 1.802 MB / 0.6137 GB, free: 2.676 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.401e-05/0.6328, allocations: 99.84 kB / 0.6138 GB, free: 2.609 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003879/0.6332, allocations: 127.8 kB / 0.6139 GB, free: 2.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003406/0.6366, allocations: 2.006 MB / 0.6159 GB, free: 0.8906 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.277e-05/0.6367, allocations: 7.938 kB / 0.6159 GB, free: 0.8828 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001274/0.6368, allocations: 51.09 kB / 0.616 GB, free: 0.8633 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003346/0.6371, allocations: 169 kB / 0.6161 GB, free: 0.7148 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002729/0.6399, allocations: 1.542 MB / 0.6176 GB, free: 15.62 MB / 426.7 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.01421/0.6541, allocations: 9.139 MB / 0.6265 GB, free: 6.332 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001491/0.6556, allocations: 0.8344 MB / 0.6274 GB, free: 5.461 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007808/0.6564, allocations: 0.4999 MB / 0.6278 GB, free: 4.957 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.065e-05/0.6565, allocations: 16.77 kB / 0.6279 GB, free: 4.941 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.71e-05/0.6566, allocations: 51.28 kB / 0.6279 GB, free: 4.883 MB / 426.7 MB Notification: Performance of pre-optimization done (n=93): time 4.539e-06/0.6566, allocations: 0 / 0.6279 GB, free: 4.883 MB / 426.7 MB Notification: Performance of matching and sorting (n=97): time 0.006237/0.6629, allocations: 3.025 MB / 0.6309 GB, free: 1.738 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.674e-05/0.663, allocations: 85.92 kB / 0.6309 GB, free: 1.633 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/0.664, allocations: 0.6285 MB / 0.6316 GB, free: 0.9961 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.137e-05/0.6641, allocations: 41.7 kB / 0.6316 GB, free: 0.9492 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005224/0.6646, allocations: 0.665 MB / 0.6323 GB, free: 280 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003795/0.665, allocations: 347.2 kB / 0.6326 GB, free: 15.93 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.273e-05/0.6651, allocations: 28 kB / 0.6326 GB, free: 15.9 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002515/0.6653, allocations: 398.7 kB / 0.633 GB, free: 15.5 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008064/0.6662, allocations: 495.1 kB / 0.6335 GB, free: 15.02 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001196/0.6674, allocations: 0.9989 MB / 0.6344 GB, free: 13.79 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.6685, allocations: 0.6837 MB / 0.6351 GB, free: 13.1 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.226e-05/0.6685, allocations: 8 kB / 0.6351 GB, free: 13.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004056/0.6725, allocations: 1.995 MB / 0.6371 GB, free: 11.09 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.586e-05/0.6726, allocations: 12 kB / 0.6371 GB, free: 11.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002555/0.6752, allocations: 1.325 MB / 0.6384 GB, free: 9.742 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001494/0.6767, allocations: 451.7 kB / 0.6388 GB, free: 9.297 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/0.6778, allocations: 251.5 kB / 0.639 GB, free: 9.051 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007418/0.6852, allocations: 5.382 MB / 0.6443 GB, free: 3.402 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001021/0.6863, allocations: 79.89 kB / 0.6444 GB, free: 3.324 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001173/0.6864, allocations: 60 kB / 0.6444 GB, free: 3.266 MB / 442.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 () * 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.0002757/0.6867, allocations: 184.5 kB / 0.6446 GB, free: 3.078 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/0.6868, allocations: 86.88 kB / 0.6447 GB, free: 2.992 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00255/0.6894, allocations: 1.547 MB / 0.6462 GB, free: 1.371 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.371e-05/0.6894, allocations: 20 kB / 0.6462 GB, free: 1.352 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.6895, allocations: 4 kB / 0.6462 GB, free: 1.348 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.6895, allocations: 3.984 kB / 0.6462 GB, free: 1.344 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004361/0.6938, allocations: 2.706 MB / 0.6489 GB, free: 14.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.231e-06/0.6939, allocations: 0 / 0.6489 GB, free: 14.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006135/0.6945, allocations: 143.8 kB / 0.649 GB, free: 14.36 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005462/0.6951, allocations: 186.3 kB / 0.6492 GB, free: 14.17 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.587e-05/0.6951, allocations: 28.11 kB / 0.6492 GB, free: 14.14 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003834/0.699, allocations: 4.59 MB / 0.6537 GB, free: 9.148 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.699, allocations: 4.031 kB / 0.6537 GB, free: 9.145 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003123/0.7021, allocations: 2.138 MB / 0.6558 GB, free: 6.879 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005043/0.7027, allocations: 243.9 kB / 0.656 GB, free: 6.621 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/0.7028, allocations: 23.95 kB / 0.656 GB, free: 6.598 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004561/0.7033, allocations: 48.06 kB / 0.6561 GB, free: 6.551 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001458/0.7034, allocations: 60.7 kB / 0.6561 GB, free: 6.492 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.01e-05/0.7035, allocations: 27.97 kB / 0.6562 GB, free: 6.465 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006988/0.7042, allocations: 471.1 kB / 0.6566 GB, free: 6.004 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.7042, allocations: 0 / 0.6566 GB, free: 6.004 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001593/0.7058, allocations: 371.9 kB / 0.657 GB, free: 5.641 MB / 458.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 () * 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.0003753/0.7062, allocations: 171.2 kB / 0.6571 GB, free: 5.465 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002867/0.709, allocations: 1.636 MB / 0.6587 GB, free: 3.805 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.7091, allocations: 3.938 kB / 0.6587 GB, free: 3.801 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001477/0.7106, allocations: 0.9107 MB / 0.6596 GB, free: 2.852 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000778/0.7113, allocations: 154.8 kB / 0.6598 GB, free: 2.703 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004168/0.7155, allocations: 2.365 MB / 0.6621 GB, free: 300 kB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001046/0.7166, allocations: 1.35 MB / 0.6634 GB, free: 14.91 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001079/0.7177, allocations: 368.3 kB / 0.6638 GB, free: 14.54 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001915/0.7179, allocations: 71.44 kB / 0.6638 GB, free: 14.47 MB / 474.7 MB Notification: Performance of SimCode: time 7.41e-07/0.7179, allocations: 7.875 kB / 0.6638 GB, free: 14.46 MB / 474.7 MB Notification: Performance of Templates: time 0.02119/0.7391, allocations: 11.95 MB / 0.6755 GB, free: 2.52 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