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.00112/0.00112, allocations: 104.7 kB / 16.92 MB, free: 6.141 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.001341/0.001342, allocations: 191.5 kB / 17.85 MB, free: 5.309 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.368/1.368, allocations: 222.9 MB / 241.5 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1674/0.1674, allocations: 38.04 MB / 329.7 MB, free: 8.848 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 62.41 kB / 398.8 MB, free: 34.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1137, allocations: 58.06 MB / 456.9 MB, free: 8.062 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding): time 0.01026/0.124, allocations: 8.155 MB / 465 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004877/0.1289, allocations: 2.973 MB / 468 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004166/0.1294, allocations: 31.81 kB / 468 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002199/0.1316, allocations: 0.8817 MB / 468.9 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001743/0.1333, allocations: 0.9182 MB / 469.8 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001347/0.1347, allocations: 0.6314 MB / 470.5 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00215/0.1369, allocations: 1.95 MB / 472.4 MB, free: 8.461 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009779/0.1379, allocations: 0.6538 MB / 473.1 MB, free: 7.797 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001523/0.1394, allocations: 0.8173 MB / 473.9 MB, free: 6.977 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001778/0.1412, allocations: 1.114 MB / 475 MB, free: 5.859 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003357/0.1415, allocations: 116 kB / 475.1 MB, free: 5.746 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001177/0.1427, allocations: 0.5383 MB / 475.6 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008352/0.1436, allocations: 0.7794 MB / 476.4 MB, free: 4.426 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001141/0.1447, allocations: 0.7619 MB / 477.2 MB, free: 3.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002275/0.147, allocations: 1.97 MB / 479.2 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.147, allocations: 0 / 479.2 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.185e-06/0.147, allocations: 0 / 479.2 MB, free: 1.684 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.75e-05/0.1471, allocations: 0 / 479.2 MB, free: 1.684 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.003193/0.1503, allocations: 1.668 MB / 480.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.1503, allocations: 11.89 kB / 480.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001635/0.152, allocations: 278.8 kB / 481.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001451/0.1534, allocations: 0.8637 MB / 482 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.045e-05/0.1535, allocations: 94.78 kB / 482.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003245/0.1539, allocations: 156 kB / 482.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002844/0.1567, allocations: 2.076 MB / 484.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.645e-05/0.1568, allocations: 7.938 kB / 484.3 MB, free: 12.28 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001198/0.1569, allocations: 55.97 kB / 484.4 MB, free: 12.22 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004248/0.1573, allocations: 190.4 kB / 484.5 MB, free: 12.04 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002488/0.1598, allocations: 1.673 MB / 486.2 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.01013/0.17, allocations: 9.411 MB / 495.6 MB, free: 440 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.171, allocations: 0.8835 MB / 496.5 MB, free: 15.49 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006224/0.1717, allocations: 448.4 kB / 496.9 MB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.44e-05/0.1717, allocations: 16.62 kB / 497 MB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/0.1718, allocations: 43.22 kB / 497 MB, free: 14.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=81): time 2.805e-06/0.1718, allocations: 0 / 497 MB, free: 14.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=85): time 0.004732/0.1765, allocations: 3.037 MB / 0.4883 GB, free: 11.83 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/0.1766, allocations: 86.11 kB / 0.4884 GB, free: 11.72 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007961/0.1774, allocations: 0.7504 MB / 0.4891 GB, free: 10.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.091e-05/0.1774, allocations: 41.69 kB / 0.4892 GB, free: 10.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004923/0.1779, allocations: 0.6996 MB / 0.4899 GB, free: 10.2 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002382/0.1782, allocations: 315.6 kB / 0.4902 GB, free: 9.891 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003254/0.1785, allocations: 259.3 kB / 0.4904 GB, free: 9.633 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002016/0.1787, allocations: 402.7 kB / 0.4908 GB, free: 9.23 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006581/0.1794, allocations: 455.7 kB / 0.4912 GB, free: 8.785 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009803/0.1804, allocations: 1.018 MB / 0.4922 GB, free: 7.508 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001822/0.1822, allocations: 1.61 MB / 0.4938 GB, free: 5.633 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/0.1822, allocations: 4 kB / 0.4938 GB, free: 5.629 MB / 382.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003215/0.1855, allocations: 1.962 MB / 0.4957 GB, free: 3.652 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.1855, allocations: 12 kB / 0.4957 GB, free: 3.641 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002105/0.1876, allocations: 1.206 MB / 0.4969 GB, free: 2.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001286/0.1889, allocations: 455.7 kB / 0.4973 GB, free: 1.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007859/0.1897, allocations: 259.6 kB / 0.4976 GB, free: 1.727 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006869/0.1966, allocations: 5.897 MB / 0.5033 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006432/0.1972, allocations: 59.89 kB / 0.5034 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.731e-05/0.1973, allocations: 67.98 kB / 0.5035 GB, free: 11.43 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.0005928/0.1979, allocations: 467 kB / 0.5039 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/0.1981, allocations: 94.88 kB / 0.504 GB, free: 10.87 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002095/0.2002, allocations: 1.387 MB / 0.5054 GB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.2002, allocations: 8 kB / 0.5054 GB, free: 9.395 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.2002, allocations: 4 kB / 0.5054 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.2002, allocations: 7.984 kB / 0.5054 GB, free: 9.383 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003532/0.2038, allocations: 2.489 MB / 0.5078 GB, free: 6.762 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.441e-06/0.2038, allocations: 4 kB / 0.5078 GB, free: 6.758 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005229/0.2043, allocations: 131.8 kB / 0.5079 GB, free: 6.629 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005078/0.2048, allocations: 190.4 kB / 0.5081 GB, free: 6.434 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.314e-05/0.2049, allocations: 23.98 kB / 0.5081 GB, free: 6.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00367/0.2086, allocations: 4.956 MB / 0.513 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.2086, allocations: 4.031 kB / 0.513 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.18/0.3886, allocations: 1.848 MB / 0.5148 GB, free: 68.6 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004125/0.389, allocations: 222.8 kB / 0.515 GB, free: 68.51 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.3891, allocations: 27.83 kB / 0.515 GB, free: 68.51 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003901/0.3895, allocations: 25.97 kB / 0.515 GB, free: 68.51 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/0.3897, allocations: 63.16 kB / 0.5151 GB, free: 68.51 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-05/0.3897, allocations: 23.08 kB / 0.5151 GB, free: 68.51 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006196/0.3904, allocations: 0.4894 MB / 0.5156 GB, free: 68.41 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3904, allocations: 0 / 0.5156 GB, free: 68.41 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001133/0.3915, allocations: 326 kB / 0.5159 GB, free: 68.41 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.000129/0.3916, allocations: 120.9 kB / 0.516 GB, free: 68.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00291/0.3945, allocations: 1.841 MB / 0.5178 GB, free: 68.04 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.3946, allocations: 1.062 kB / 0.5178 GB, free: 68.04 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001216/0.3958, allocations: 0.8398 MB / 0.5187 GB, free: 67.69 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008363/0.3966, allocations: 167.7 kB / 0.5188 GB, free: 67.68 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004022/0.4007, allocations: 2.793 MB / 0.5215 GB, free: 66.53 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000868/0.4016, allocations: 1.319 MB / 0.5228 GB, free: 65.74 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0009103/0.4025, allocations: 360.1 kB / 0.5232 GB, free: 65.71 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001713/0.4027, allocations: 70.28 kB / 0.5232 GB, free: 65.7 MB / 398.1 MB Notification: Performance of SimCode: time 7.51e-07/0.4027, allocations: 1.125 kB / 0.5232 GB, free: 65.7 MB / 398.1 MB Notification: Performance of Templates: time 0.01819/0.4209, allocations: 11.82 MB / 0.5348 GB, free: 62.61 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