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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000817/0.000817, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003202/0.003202, allocations: 157.8 kB / 24.7 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8309/0.8309, allocations: 177.1 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2319/0.2319, allocations: 29.41 MB / 290.9 MB, free: 2.434 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 431.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.446e-05/2.59e-05, allocations: 2.281 kB / 431.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding): time 0.005761/0.005786, allocations: 7.619 MB / 439.1 MB, free: 5.445 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003824/0.00961, allocations: 2.829 MB / 441.9 MB, free: 2.609 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004677/0.01008, allocations: 43.62 kB / 442 MB, free: 2.566 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00132/0.0114, allocations: 0.8903 MB / 442.9 MB, free: 1.672 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001445/0.01284, allocations: 0.9327 MB / 443.8 MB, free: 0.7344 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001142/0.01399, allocations: 0.6661 MB / 444.5 MB, free: 68 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1606/0.1745, allocations: 1.983 MB / 446.4 MB, free: 43.96 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005997/0.1751, allocations: 0.5415 MB / 447 MB, free: 43.89 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001055/0.1762, allocations: 1.097 MB / 448.1 MB, free: 43.79 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008791/0.1771, allocations: 1.116 MB / 449.2 MB, free: 43.71 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001093/0.1772, allocations: 111.4 kB / 449.3 MB, free: 43.71 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000703/0.1779, allocations: 0.5614 MB / 449.9 MB, free: 43.7 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003881/0.1783, allocations: 0.8385 MB / 450.7 MB, free: 43.63 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003257/0.1786, allocations: 0.522 MB / 451.2 MB, free: 43.58 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001294/0.1799, allocations: 2.084 MB / 453.3 MB, free: 43.42 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.1799, allocations: 4.953 kB / 453.3 MB, free: 43.42 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1799, allocations: 0 / 453.3 MB, free: 43.42 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.885e-05/0.1799, allocations: 0 / 453.3 MB, free: 43.42 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.001705/0.1816, allocations: 1.63 MB / 454.9 MB, free: 42.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.1817, allocations: 13.39 kB / 455 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001074/0.1827, allocations: 404.6 kB / 455.3 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009761/0.1837, allocations: 0.8343 MB / 456.2 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.092e-05/0.1838, allocations: 92.77 kB / 456.3 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002181/0.184, allocations: 153.3 kB / 456.4 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00176/0.1857, allocations: 2.083 MB / 458.5 MB, free: 41.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.17e-05/0.1858, allocations: 6.594 kB / 458.5 MB, free: 41.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.568e-05/0.1858, allocations: 53.39 kB / 458.6 MB, free: 41.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000222/0.1861, allocations: 181.4 kB / 458.7 MB, free: 41.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001457/0.1875, allocations: 1.67 MB / 460.4 MB, free: 40.72 MB / 410.7 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.005082/0.1926, allocations: 8.603 MB / 469 MB, free: 34.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006547/0.1933, allocations: 0.694 MB / 469.7 MB, free: 34.13 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003196/0.1936, allocations: 410.4 kB / 470.1 MB, free: 33.99 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.71e-05/0.1936, allocations: 13.86 kB / 470.1 MB, free: 33.99 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.1936, allocations: 38.53 kB / 470.2 MB, free: 33.94 MB / 410.7 MB Notification: Performance of pre-optimization done (n=81): time 2.555e-06/0.1936, allocations: 0 / 470.2 MB, free: 33.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=85): time 0.002787/0.1964, allocations: 2.747 MB / 472.9 MB, free: 32.65 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.1965, allocations: 87.05 kB / 473 MB, free: 32.56 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004999/0.197, allocations: 0.7785 MB / 473.8 MB, free: 32.21 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.124e-05/0.197, allocations: 39.22 kB / 473.8 MB, free: 32.17 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001938/0.1972, allocations: 0.7259 MB / 474.5 MB, free: 31.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.1973, allocations: 322 kB / 474.9 MB, free: 31.36 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001721/0.1975, allocations: 251.7 kB / 475.1 MB, free: 31.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.948e-05/0.1975, allocations: 406.3 kB / 475.5 MB, free: 30.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003741/0.1979, allocations: 457.6 kB / 475.9 MB, free: 30.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005001/0.1984, allocations: 1.018 MB / 477 MB, free: 29.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009871/0.1994, allocations: 1.603 MB / 478.6 MB, free: 28.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.273e-06/0.1994, allocations: 9.125 kB / 478.6 MB, free: 28.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.001745/0.2011, allocations: 1.941 MB / 480.5 MB, free: 28.22 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.2012, allocations: 18.34 kB / 480.5 MB, free: 28.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001179/0.2023, allocations: 1.18 MB / 481.7 MB, free: 27.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007336/0.2031, allocations: 455.6 kB / 482.2 MB, free: 27.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004583/0.2035, allocations: 262.5 kB / 482.4 MB, free: 27.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003867/0.2074, allocations: 5.577 MB / 488 MB, free: 24.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006397/0.208, allocations: 51.69 kB / 488 MB, free: 24.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-05/0.2081, allocations: 66.94 kB / 488.1 MB, free: 24.08 MB / 410.7 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.0005684/0.2087, allocations: 474.2 kB / 488.6 MB, free: 23.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.803e-05/0.2088, allocations: 98.02 kB / 488.7 MB, free: 23.78 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001232/0.21, allocations: 1.149 MB / 489.8 MB, free: 23.33 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.21, allocations: 8.062 kB / 489.8 MB, free: 23.33 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.21, allocations: 2.688 kB / 489.8 MB, free: 23.33 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.914e-06/0.21, allocations: 4.781 kB / 489.8 MB, free: 23.33 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002081/0.2121, allocations: 1.99 MB / 491.8 MB, free: 22.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.2121, allocations: 2.875 kB / 491.8 MB, free: 22.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003031/0.2124, allocations: 129.4 kB / 491.9 MB, free: 22.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002816/0.2127, allocations: 184.7 kB / 492.1 MB, free: 22.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.91e-05/0.2127, allocations: 35.09 kB / 492.2 MB, free: 22.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001723/0.2145, allocations: 4.56 MB / 496.7 MB, free: 18.44 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.2145, allocations: 6.453 kB / 496.7 MB, free: 18.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001565/0.216, allocations: 1.619 MB / 498.3 MB, free: 17.73 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002543/0.2163, allocations: 147.5 kB / 498.5 MB, free: 17.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.529e-05/0.2164, allocations: 22.72 kB / 498.5 MB, free: 17.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001888/0.2165, allocations: 36.86 kB / 498.5 MB, free: 17.63 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.866e-05/0.2166, allocations: 60.41 kB / 498.6 MB, free: 17.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.574e-05/0.2167, allocations: 24.17 kB / 498.6 MB, free: 17.62 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004424/0.2171, allocations: 489.1 kB / 499.1 MB, free: 17.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2171, allocations: 0 / 499.1 MB, free: 17.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009439/0.2181, allocations: 329.8 kB / 499.4 MB, free: 17.39 MB / 410.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 () * 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.0001395/0.2182, allocations: 128.1 kB / 499.6 MB, free: 17.28 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001741/0.2199, allocations: 1.481 MB / 0.4893 GB, free: 16.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2199, allocations: 0 / 0.4893 GB, free: 16.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007418/0.2207, allocations: 0.8051 MB / 0.4901 GB, free: 16.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005756/0.2213, allocations: 178 kB / 0.4902 GB, free: 16.12 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003208/0.2245, allocations: 2.789 MB / 0.493 GB, free: 14.76 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006935/0.2252, allocations: 0.7198 MB / 0.4937 GB, free: 14.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001774/0.2253, allocations: 79.67 kB / 0.4937 GB, free: 14.55 MB / 410.7 MB Notification: Performance of SimCode: time 1.653e-06/0.2253, allocations: 1.188 kB / 0.4938 GB, free: 14.55 MB / 410.7 MB Notification: Performance of Templates: time 0.02123/0.2466, allocations: 25.66 MB / 0.5188 GB, free: 12.09 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.180469252169132]