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.001282/0.001282, allocations: 108 kB / 16.51 MB, free: 6.707 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.001223/0.001223, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.351/1.351, allocations: 222.9 MB / 241.1 MB, free: 13.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1737/0.1737, allocations: 38.04 MB / 329.3 MB, free: 8.84 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 70 kB / 398.1 MB, free: 34.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1135, allocations: 58.06 MB / 456.2 MB, free: 8.477 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding): time 0.01099/0.1245, allocations: 9.594 MB / 465.8 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006852/0.1314, allocations: 3.476 MB / 469.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001248/0.1327, allocations: 59.56 kB / 469.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002568/0.1353, allocations: 0.8328 MB / 470.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002446/0.1378, allocations: 0.8642 MB / 471 MB, free: 9.586 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001854/0.1397, allocations: 0.5693 MB / 471.6 MB, free: 9.016 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003893/0.1436, allocations: 3.334 MB / 474.9 MB, free: 5.672 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001234/0.1448, allocations: 0.6332 MB / 475.5 MB, free: 5.031 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001695/0.1465, allocations: 0.6884 MB / 476.2 MB, free: 4.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00244/0.149, allocations: 1.188 MB / 477.4 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004321/0.1494, allocations: 72 kB / 477.5 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001599/0.151, allocations: 0.5303 MB / 478 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001089/0.1521, allocations: 0.7482 MB / 478.7 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00145/0.1536, allocations: 0.7072 MB / 479.5 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003158/0.1568, allocations: 1.955 MB / 481.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1568, allocations: 0 / 481.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1568, allocations: 4 kB / 481.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.446e-05/0.1569, allocations: 0 / 481.4 MB, free: 15.12 MB / 366.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.003684/0.1606, allocations: 1.656 MB / 483.1 MB, free: 13.41 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.1606, allocations: 11.97 kB / 483.1 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001631/0.1623, allocations: 278.9 kB / 483.4 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00148/0.1638, allocations: 0.8636 MB / 484.2 MB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.367e-05/0.1638, allocations: 94.78 kB / 484.3 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003048/0.1642, allocations: 156.1 kB / 484.5 MB, free: 11.97 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002957/0.1671, allocations: 2.084 MB / 486.5 MB, free: 9.727 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.581e-05/0.1672, allocations: 11.84 kB / 486.6 MB, free: 9.715 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/0.1673, allocations: 51.98 kB / 486.6 MB, free: 9.664 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004286/0.1677, allocations: 174.5 kB / 486.8 MB, free: 9.492 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002644/0.1704, allocations: 1.68 MB / 488.5 MB, free: 7.805 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.01098/0.1814, allocations: 9.411 MB / 497.9 MB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001163/0.1826, allocations: 0.8939 MB / 498.8 MB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006138/0.1832, allocations: 444.4 kB / 499.2 MB, free: 12.49 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.087e-05/0.1833, allocations: 16.64 kB / 499.2 MB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.1833, allocations: 47.2 kB / 499.3 MB, free: 12.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=81): time 2.484e-06/0.1833, allocations: 0 / 499.3 MB, free: 12.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=85): time 0.005075/0.1884, allocations: 3.037 MB / 0.4905 GB, free: 9.262 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.867e-05/0.1885, allocations: 86.11 kB / 0.4906 GB, free: 9.156 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001124/0.1896, allocations: 0.7542 MB / 0.4913 GB, free: 8.395 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.336e-05/0.1897, allocations: 41.7 kB / 0.4914 GB, free: 8.348 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005184/0.1902, allocations: 0.6958 MB / 0.4921 GB, free: 7.641 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003909/0.1906, allocations: 311.6 kB / 0.4924 GB, free: 7.332 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003464/0.191, allocations: 263.2 kB / 0.4926 GB, free: 7.066 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002009/0.1912, allocations: 398.7 kB / 0.493 GB, free: 6.668 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007231/0.1919, allocations: 455.7 kB / 0.4934 GB, free: 6.223 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001054/0.193, allocations: 1.014 MB / 0.4944 GB, free: 4.949 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001937/0.1949, allocations: 1.613 MB / 0.496 GB, free: 3.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.668e-06/0.195, allocations: 4 kB / 0.496 GB, free: 3.066 MB / 382.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003482/0.1985, allocations: 1.962 MB / 0.4979 GB, free: 1.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/0.1985, allocations: 15.94 kB / 0.4979 GB, free: 1.074 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002146/0.2006, allocations: 1.21 MB / 0.4991 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001354/0.202, allocations: 447.1 kB / 0.4995 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000841/0.2029, allocations: 267.5 kB / 0.4998 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00689/0.2098, allocations: 5.39 MB / 0.5051 GB, free: 9.492 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007701/0.2106, allocations: 55.98 kB / 0.5051 GB, free: 9.438 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/0.2107, allocations: 72 kB / 0.5052 GB, free: 9.367 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.0006645/0.2113, allocations: 471 kB / 0.5056 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/0.2115, allocations: 90.78 kB / 0.5057 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00215/0.2136, allocations: 1.387 MB / 0.5071 GB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/0.2137, allocations: 8 kB / 0.5071 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.2137, allocations: 0 / 0.5071 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.268e-05/0.2137, allocations: 11.92 kB / 0.5071 GB, free: 7.328 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003663/0.2174, allocations: 2.493 MB / 0.5095 GB, free: 4.703 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.718e-06/0.2174, allocations: 0 / 0.5095 GB, free: 4.703 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005383/0.2179, allocations: 123.9 kB / 0.5096 GB, free: 4.582 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005444/0.2185, allocations: 190.3 kB / 0.5098 GB, free: 4.387 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.413e-05/0.2186, allocations: 23.98 kB / 0.5098 GB, free: 4.363 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1919/0.4105, allocations: 4.592 MB / 0.5143 GB, free: 68.39 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.4105, allocations: 4.375 kB / 0.5143 GB, free: 68.39 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002772/0.4133, allocations: 1.854 MB / 0.5161 GB, free: 67.91 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003643/0.4137, allocations: 228.9 kB / 0.5164 GB, free: 67.81 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001611/0.4139, allocations: 22.14 kB / 0.5164 GB, free: 67.81 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004259/0.4143, allocations: 27.55 kB / 0.5164 GB, free: 67.81 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001456/0.4145, allocations: 58.23 kB / 0.5165 GB, free: 67.81 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.987e-05/0.4145, allocations: 30.09 kB / 0.5165 GB, free: 67.81 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007465/0.4153, allocations: 498.7 kB / 0.517 GB, free: 67.72 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4153, allocations: 0 / 0.517 GB, free: 67.72 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001249/0.4165, allocations: 329.1 kB / 0.5173 GB, free: 67.72 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.0001605/0.4167, allocations: 131.8 kB / 0.5174 GB, free: 67.63 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002635/0.4193, allocations: 1.532 MB / 0.5189 GB, free: 67.29 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.4194, allocations: 1.75 kB / 0.5189 GB, free: 67.29 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001289/0.4207, allocations: 0.8369 MB / 0.5197 GB, free: 66.79 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009343/0.4216, allocations: 158.8 kB / 0.5199 GB, free: 66.73 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00514/0.4268, allocations: 3.359 MB / 0.5232 GB, free: 64.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001183/0.428, allocations: 1.316 MB / 0.5244 GB, free: 64.14 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001065/0.429, allocations: 363.9 kB / 0.5248 GB, free: 64.1 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00022/0.4293, allocations: 74.92 kB / 0.5249 GB, free: 64.09 MB / 398.1 MB Notification: Performance of SimCode: time 1.042e-06/0.4293, allocations: 0 / 0.5249 GB, free: 64.09 MB / 398.1 MB Notification: Performance of Templates: time 0.02143/0.4507, allocations: 11.44 MB / 0.536 GB, free: 61.21 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