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.001354/0.001354, allocations: 110.3 kB / 16.63 MB, free: 6.812 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.001176/0.001176, allocations: 185.8 kB / 17.55 MB, free: 5.934 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.335/1.335, allocations: 222.9 MB / 241.2 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.176/0.176, allocations: 38.04 MB / 329.4 MB, free: 8.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 66.03 kB / 398.3 MB, free: 34.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09448/0.09571, allocations: 58.06 MB / 456.3 MB, free: 8.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding): time 0.00966/0.1054, allocations: 9.598 MB / 465.9 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006081/0.1115, allocations: 3.405 MB / 469.4 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001345/0.1129, allocations: 59.62 kB / 469.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002089/0.115, allocations: 0.843 MB / 470.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001882/0.1169, allocations: 0.8409 MB / 471.1 MB, free: 9.586 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001473/0.1184, allocations: 0.5849 MB / 471.7 MB, free: 9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001817/0.1203, allocations: 1.961 MB / 473.6 MB, free: 7.031 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008484/0.1211, allocations: 0.7046 MB / 474.3 MB, free: 6.312 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000882/0.122, allocations: 0.825 MB / 475.2 MB, free: 5.484 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001335/0.1234, allocations: 1.207 MB / 476.4 MB, free: 4.273 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001651/0.1235, allocations: 112 kB / 476.5 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000858/0.1244, allocations: 0.5305 MB / 477 MB, free: 3.633 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006285/0.125, allocations: 0.7911 MB / 477.8 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006539/0.1257, allocations: 0.7581 MB / 478.6 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001744/0.1275, allocations: 1.986 MB / 480.6 MB, free: 88 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1275, allocations: 7.938 kB / 480.6 MB, free: 80 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1275, allocations: 0 / 480.6 MB, free: 80 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.945e-05/0.1275, allocations: 0 / 480.6 MB, free: 80 kB / 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.002855/0.1304, allocations: 1.664 MB / 482.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.1304, allocations: 11.89 kB / 482.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001623/0.132, allocations: 274.9 kB / 482.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001361/0.1334, allocations: 0.8636 MB / 483.4 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.397e-05/0.1335, allocations: 102.8 kB / 483.5 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003154/0.1338, allocations: 148.1 kB / 483.6 MB, free: 12.92 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002881/0.1367, allocations: 2.087 MB / 485.7 MB, free: 10.68 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.984e-05/0.1368, allocations: 11.84 kB / 485.7 MB, free: 10.66 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001247/0.1369, allocations: 51.98 kB / 485.8 MB, free: 10.61 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004297/0.1373, allocations: 178.5 kB / 485.9 MB, free: 10.44 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00248/0.1398, allocations: 1.677 MB / 487.6 MB, free: 8.754 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.009881/0.1497, allocations: 9.403 MB / 497 MB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/0.1508, allocations: 0.8989 MB / 497.9 MB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005948/0.1514, allocations: 444.4 kB / 498.3 MB, free: 13.44 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.226e-05/0.1515, allocations: 16.62 kB / 498.4 MB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.1516, allocations: 43.16 kB / 498.4 MB, free: 13.37 MB / 382.1 MB Notification: Performance of pre-optimization done (n=81): time 2.354e-06/0.1516, allocations: 4 kB / 498.4 MB, free: 13.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=85): time 0.004737/0.1563, allocations: 3.034 MB / 0.4897 GB, free: 10.22 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.1564, allocations: 90.14 kB / 0.4898 GB, free: 10.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000794/0.1572, allocations: 0.7542 MB / 0.4905 GB, free: 9.344 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.801e-05/0.1572, allocations: 45.69 kB / 0.4906 GB, free: 9.293 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004397/0.1577, allocations: 0.688 MB / 0.4912 GB, free: 8.594 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002204/0.1579, allocations: 315.6 kB / 0.4915 GB, free: 8.281 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003227/0.1582, allocations: 263.2 kB / 0.4918 GB, free: 8.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.1584, allocations: 398.7 kB / 0.4922 GB, free: 7.621 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006658/0.1591, allocations: 459.7 kB / 0.4926 GB, free: 7.172 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001047/0.1601, allocations: 1.018 MB / 0.4936 GB, free: 5.895 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001854/0.162, allocations: 1.602 MB / 0.4952 GB, free: 4.031 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/0.162, allocations: 4 kB / 0.4952 GB, free: 4.027 MB / 382.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003378/0.1654, allocations: 1.961 MB / 0.4971 GB, free: 2.047 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/0.1654, allocations: 12 kB / 0.4971 GB, free: 2.035 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002196/0.1676, allocations: 1.211 MB / 0.4983 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00135/0.169, allocations: 459.4 kB / 0.4987 GB, free: 376 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007722/0.1698, allocations: 263.4 kB / 0.499 GB, free: 112 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007191/0.177, allocations: 5.891 MB / 0.5047 GB, free: 9.945 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008384/0.1779, allocations: 52.03 kB / 0.5048 GB, free: 9.895 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/0.178, allocations: 75.98 kB / 0.5048 GB, free: 9.82 MB / 398.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,15,100.0%), (2,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007234/0.1787, allocations: 465.1 kB / 0.5053 GB, free: 9.355 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001361/0.1789, allocations: 98.75 kB / 0.5054 GB, free: 9.258 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002139/0.181, allocations: 1.387 MB / 0.5067 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.181, allocations: 8 kB / 0.5067 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.181, allocations: 4 kB / 0.5067 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.181, allocations: 3.984 kB / 0.5067 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003586/0.1846, allocations: 2.489 MB / 0.5092 GB, free: 5.156 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.1847, allocations: 4 kB / 0.5092 GB, free: 5.152 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005259/0.1852, allocations: 131.8 kB / 0.5093 GB, free: 5.023 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005599/0.1858, allocations: 182.3 kB / 0.5095 GB, free: 4.836 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.21e-05/0.1858, allocations: 23.98 kB / 0.5095 GB, free: 4.812 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1964/0.3822, allocations: 4.954 MB / 0.5143 GB, free: 68.13 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.3823, allocations: 2.562 kB / 0.5143 GB, free: 68.13 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00293/0.3852, allocations: 1.856 MB / 0.5162 GB, free: 67.64 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003443/0.3856, allocations: 223.4 kB / 0.5164 GB, free: 67.55 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/0.3857, allocations: 24.91 kB / 0.5164 GB, free: 67.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004018/0.3861, allocations: 27.5 kB / 0.5164 GB, free: 67.55 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001537/0.3863, allocations: 59.05 kB / 0.5165 GB, free: 67.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.79e-05/0.3863, allocations: 30.86 kB / 0.5165 GB, free: 67.55 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006474/0.387, allocations: 0.4885 MB / 0.517 GB, free: 67.45 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.387, allocations: 0 / 0.517 GB, free: 67.45 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001321/0.3883, allocations: 324.5 kB / 0.5173 GB, free: 67.45 MB / 398.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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001552/0.3885, allocations: 122.4 kB / 0.5174 GB, free: 67.36 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003189/0.3917, allocations: 1.836 MB / 0.5192 GB, free: 67 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.3917, allocations: 1.156 kB / 0.5192 GB, free: 67 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001386/0.3931, allocations: 0.8401 MB / 0.52 GB, free: 66.51 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000956/0.3941, allocations: 171.4 kB / 0.5202 GB, free: 66.45 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004965/0.399, allocations: 3.366 MB / 0.5235 GB, free: 64.65 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009855/0.4001, allocations: 1.315 MB / 0.5248 GB, free: 63.86 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001106/0.4012, allocations: 367.3 kB / 0.5251 GB, free: 63.82 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001759/0.4014, allocations: 71.48 kB / 0.5252 GB, free: 63.81 MB / 398.1 MB Notification: Performance of SimCode: time 1.052e-06/0.4014, allocations: 0 / 0.5252 GB, free: 63.81 MB / 398.1 MB Notification: Performance of Templates: time 0.02202/0.4234, allocations: 11.85 MB / 0.5367 GB, free: 60.7 MB / 398.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches