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.0007139/0.000714, allocations: 89.39 kB / 16.32 MB, free: 6.449 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.000731/0.0007312, allocations: 180.2 kB / 17.21 MB, free: 6.32 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.204/1.204, allocations: 223.3 MB / 241.2 MB, free: 276 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.163/0.163, allocations: 38.1 MB / 330.4 MB, free: 8.863 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000289/0.000289, allocations: 12 kB / 400.1 MB, free: 34.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09423/0.09453, allocations: 59.17 MB / 459.2 MB, free: 7.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding): time 0.007177/0.1017, allocations: 8.567 MB / 467.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00473/0.1065, allocations: 3.251 MB / 471.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005946/0.1071, allocations: 51.62 kB / 471.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005602/0.1077, allocations: 258.1 kB / 471.4 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001691/0.1094, allocations: 0.9182 MB / 472.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0013/0.1107, allocations: 0.577 MB / 472.9 MB, free: 9.762 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002256/0.113, allocations: 2.507 MB / 475.4 MB, free: 7.246 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001464/0.1145, allocations: 1.016 MB / 476.4 MB, free: 6.191 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008953/0.1154, allocations: 0.6768 MB / 477.1 MB, free: 5.512 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001275/0.1167, allocations: 1.13 MB / 478.2 MB, free: 4.379 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.1168, allocations: 56 kB / 478.2 MB, free: 4.324 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007183/0.1175, allocations: 403.4 kB / 478.6 MB, free: 3.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005771/0.1181, allocations: 0.7404 MB / 479.4 MB, free: 3.188 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002508/0.1183, allocations: 285 kB / 479.7 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001162/0.1195, allocations: 1.5 MB / 481.2 MB, free: 1.398 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1195, allocations: 0 / 481.2 MB, free: 1.398 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1195, allocations: 0 / 481.2 MB, free: 1.398 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.457e-05/0.1196, allocations: 4 kB / 481.2 MB, free: 1.395 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.002103/0.1217, allocations: 1.415 MB / 482.6 MB, free: 15.92 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.1217, allocations: 8.031 kB / 482.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00136/0.1231, allocations: 281.9 kB / 482.9 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001169/0.1242, allocations: 0.8356 MB / 483.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.285e-05/0.1243, allocations: 94.2 kB / 483.8 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002612/0.1246, allocations: 151.8 kB / 483.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002457/0.1271, allocations: 2.084 MB / 486 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.248e-05/0.1271, allocations: 7.938 kB / 486 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001135/0.1272, allocations: 63.95 kB / 486.1 MB, free: 12.2 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003335/0.1276, allocations: 170.5 kB / 486.3 MB, free: 12.04 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002211/0.1298, allocations: 1.673 MB / 487.9 MB, free: 10.36 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.008404/0.1382, allocations: 9.419 MB / 497.3 MB, free: 428 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009829/0.1392, allocations: 0.8882 MB / 498.2 MB, free: 15.47 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005235/0.1397, allocations: 440.4 kB / 498.7 MB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.76e-05/0.1398, allocations: 12.66 kB / 498.7 MB, free: 15.03 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/0.1398, allocations: 39.22 kB / 498.7 MB, free: 14.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=81): time 2.705e-06/0.1398, allocations: 4 kB / 498.7 MB, free: 14.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=85): time 0.004152/0.144, allocations: 3.041 MB / 0.49 GB, free: 11.81 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.007e-05/0.1441, allocations: 86.11 kB / 0.4901 GB, free: 11.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007279/0.1448, allocations: 0.7543 MB / 0.4908 GB, free: 10.95 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.414e-05/0.1449, allocations: 41.7 kB / 0.4909 GB, free: 10.9 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003784/0.1452, allocations: 0.6996 MB / 0.4915 GB, free: 10.19 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001934/0.1454, allocations: 303.7 kB / 0.4918 GB, free: 9.891 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.974e-05/0.1455, allocations: 24 kB / 0.4919 GB, free: 9.867 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.1457, allocations: 406.7 kB / 0.4922 GB, free: 9.461 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005853/0.1462, allocations: 443.7 kB / 0.4927 GB, free: 9.027 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008889/0.1471, allocations: 1.01 MB / 0.4937 GB, free: 7.758 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008091/0.148, allocations: 0.6391 MB / 0.4943 GB, free: 7.117 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/0.148, allocations: 12 kB / 0.4943 GB, free: 7.105 MB / 382.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.002896/0.1509, allocations: 1.953 MB / 0.4962 GB, free: 5.137 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.1509, allocations: 13 kB / 0.4962 GB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00187/0.1528, allocations: 1.195 MB / 0.4974 GB, free: 3.922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001116/0.1539, allocations: 447.7 kB / 0.4978 GB, free: 3.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007238/0.1547, allocations: 259.5 kB / 0.4981 GB, free: 3.227 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2131/0.3677, allocations: 5.41 MB / 0.5033 GB, free: 52.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/0.369, allocations: 56.06 kB / 0.5034 GB, free: 52.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001565/0.3691, allocations: 67.25 kB / 0.5035 GB, free: 52.72 MB / 382.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 (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.0009215/0.3701, allocations: 470.7 kB / 0.5039 GB, free: 52.61 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001747/0.3702, allocations: 95.22 kB / 0.504 GB, free: 52.61 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002803/0.3731, allocations: 1.382 MB / 0.5053 GB, free: 52.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/0.3731, allocations: 10.17 kB / 0.5054 GB, free: 52.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.3731, allocations: 2.703 kB / 0.5054 GB, free: 52.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.361e-05/0.3731, allocations: 7.609 kB / 0.5054 GB, free: 52.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005009/0.3781, allocations: 2.492 MB / 0.5078 GB, free: 51.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.3782, allocations: 1.312 kB / 0.5078 GB, free: 51.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007728/0.379, allocations: 128.7 kB / 0.5079 GB, free: 51.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007392/0.3797, allocations: 184 kB / 0.5081 GB, free: 51.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.373e-05/0.3798, allocations: 32.02 kB / 0.5081 GB, free: 51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003984/0.3838, allocations: 4.595 MB / 0.5126 GB, free: 46.86 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.3838, allocations: 1.938 kB / 0.5126 GB, free: 46.86 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003418/0.3873, allocations: 1.845 MB / 0.5144 GB, free: 45.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004882/0.3878, allocations: 228 kB / 0.5146 GB, free: 45.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001523/0.3879, allocations: 29.67 kB / 0.5147 GB, free: 45.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005375/0.3885, allocations: 29.14 kB / 0.5147 GB, free: 45.78 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/0.3886, allocations: 60.2 kB / 0.5147 GB, free: 45.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.829e-05/0.3887, allocations: 23.48 kB / 0.5148 GB, free: 45.76 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00076/0.3895, allocations: 496.5 kB / 0.5152 GB, free: 45.56 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3895, allocations: 0 / 0.5152 GB, free: 45.56 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001451/0.391, allocations: 330.6 kB / 0.5156 GB, free: 45.52 MB / 382.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 (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.0001572/0.3911, allocations: 123.2 kB / 0.5157 GB, free: 45.42 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002617/0.3938, allocations: 1.536 MB / 0.5172 GB, free: 44.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3938, allocations: 1 kB / 0.5172 GB, free: 44.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001239/0.395, allocations: 0.8341 MB / 0.518 GB, free: 44.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007987/0.3958, allocations: 162.9 kB / 0.5181 GB, free: 44.21 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004812/0.4006, allocations: 3.359 MB / 0.5214 GB, free: 42.37 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001096/0.4018, allocations: 1.317 MB / 0.5227 GB, free: 41.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001071/0.4028, allocations: 363.8 kB / 0.5231 GB, free: 41.53 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002099/0.4031, allocations: 68.84 kB / 0.5231 GB, free: 41.52 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4031, allocations: 0 / 0.5231 GB, free: 41.52 MB / 382.1 MB Notification: Performance of Templates: time 0.01736/0.4204, allocations: 11.01 MB / 0.5339 GB, free: 35.58 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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