Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.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.Elementary.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter1.i.1.|meter1.i.2.|meter1.i.3.|meter1.p.1.|meter1.p.2.|meter1.p.3.|meter1.v.1.|meter1.v.2.|meter1.v.3.|meter2.i.1.|meter2.i.2.|meter2.i.3.|meter2.p.1.|meter2.p.2.|meter2.p.3.|meter2.v.1.|meter2.v.2.|meter2.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer") translateModel(PowerSystems.Examples.AC3ph.Elementary.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter1.i.1.|meter1.i.2.|meter1.i.3.|meter1.p.1.|meter1.p.2.|meter1.p.3.|meter1.v.1.|meter1.v.2.|meter1.v.3.|meter2.i.1.|meter2.i.2.|meter2.i.3.|meter2.p.1.|meter2.p.2.|meter2.p.3.|meter2.v.1.|meter2.v.2.|meter2.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 111.9 kB / 17.68 MB, free: 5.355 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.001395/0.001395, allocations: 192 kB / 18.62 MB, free: 4.434 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.495/1.495, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1905/0.1905, allocations: 38.04 MB / 330.5 MB, free: 8.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 69.86 kB / 400.2 MB, free: 33.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1319, allocations: 58.07 MB / 458.3 MB, free: 7.352 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.007802/0.1397, allocations: 6.531 MB / 464.8 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004058/0.1438, allocations: 2.438 MB / 467.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000377/0.1442, allocations: 27.81 kB / 467.3 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001685/0.1459, allocations: 0.6028 MB / 467.9 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001322/0.1472, allocations: 0.6808 MB / 468.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001032/0.1483, allocations: 451 kB / 469 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001514/0.1498, allocations: 1.361 MB / 470.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006483/0.1505, allocations: 487.9 kB / 470.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006844/0.1511, allocations: 0.5681 MB / 471.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00104/0.1522, allocations: 0.7867 MB / 472.2 MB, free: 9.379 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001164/0.1523, allocations: 72 kB / 472.3 MB, free: 9.309 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005415/0.1529, allocations: 283.6 kB / 472.6 MB, free: 9.031 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004935/0.1534, allocations: 0.526 MB / 473.1 MB, free: 8.504 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005324/0.1539, allocations: 0.5208 MB / 473.6 MB, free: 7.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001281/0.1552, allocations: 1.332 MB / 475 MB, free: 6.645 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.1552, allocations: 0 / 475 MB, free: 6.645 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1552, allocations: 0 / 475 MB, free: 6.645 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.539e-05/0.1553, allocations: 0 / 475 MB, free: 6.645 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: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.002295/0.1576, allocations: 1.326 MB / 476.3 MB, free: 5.262 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.1576, allocations: 15.89 kB / 476.3 MB, free: 5.246 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009922/0.1586, allocations: 199.5 kB / 476.5 MB, free: 5.051 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001305/0.1599, allocations: 0.7018 MB / 477.2 MB, free: 4.305 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.914e-05/0.16, allocations: 66.3 kB / 477.3 MB, free: 4.242 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002055/0.1602, allocations: 96.09 kB / 477.4 MB, free: 4.148 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001904/0.1621, allocations: 1.392 MB / 478.7 MB, free: 2.652 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.186e-05/0.1622, allocations: 4 kB / 478.7 MB, free: 2.648 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.938e-05/0.1623, allocations: 39.97 kB / 478.8 MB, free: 2.609 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002653/0.1625, allocations: 117.9 kB / 478.9 MB, free: 2.496 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001669/0.1642, allocations: 1.096 MB / 480 MB, free: 1.398 MB / 350.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.006463/0.1707, allocations: 5.934 MB / 485.9 MB, free: 11.16 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.1717, allocations: 0.7137 MB / 486.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004287/0.1722, allocations: 319.3 kB / 487 MB, free: 10.09 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.409e-05/0.1722, allocations: 16.55 kB / 487 MB, free: 10.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000625/0.1729, allocations: 480.6 kB / 487.4 MB, free: 9.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.174e-06/0.1729, allocations: 0 / 487.4 MB, free: 9.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.00318/0.1761, allocations: 2.148 MB / 489.6 MB, free: 7.348 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.647e-05/0.1762, allocations: 166.8 kB / 489.8 MB, free: 7.148 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006809/0.1768, allocations: 0.6328 MB / 490.4 MB, free: 6.504 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.652e-05/0.1769, allocations: 41.7 kB / 490.4 MB, free: 6.457 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003704/0.1773, allocations: 0.5249 MB / 491 MB, free: 5.922 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001746/0.1775, allocations: 240.7 kB / 491.2 MB, free: 5.684 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002589/0.1777, allocations: 202.7 kB / 491.4 MB, free: 5.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.1779, allocations: 394.7 kB / 491.8 MB, free: 5.086 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005068/0.1784, allocations: 338.4 kB / 492.1 MB, free: 4.754 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007798/0.1792, allocations: 0.7659 MB / 492.9 MB, free: 3.789 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001457/0.1807, allocations: 1.248 MB / 494.1 MB, free: 2.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.318e-06/0.1807, allocations: 4 kB / 494.1 MB, free: 2.316 MB / 366.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002374/0.183, allocations: 1.435 MB / 495.6 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.406e-05/0.1831, allocations: 41.8 kB / 495.6 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001364/0.1845, allocations: 0.7854 MB / 496.4 MB, free: 28 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007832/0.1853, allocations: 253.6 kB / 496.6 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006609/0.1859, allocations: 215.6 kB / 496.8 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004644/0.1906, allocations: 4.386 MB / 0.4895 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005998/0.1912, allocations: 47.98 kB / 0.4895 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.941e-05/0.1913, allocations: 63.97 kB / 0.4896 GB, free: 10.78 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,tapChanger.cnt_2,$PRE.tapChanger.cnt_2,tapChanger.cnt_1,$PRE.tapChanger.cnt_1,$whenCondition2,$whenCondition1,tapChanger.tap_2,$PRE.tapChanger.tap_2,tapChanger.tap_1,$PRE.tapChanger.tap_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 1 * 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 {(2,12,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005027/0.1918, allocations: 395 kB / 0.49 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.192, allocations: 82.98 kB / 0.49 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001356/0.1933, allocations: 0.8515 MB / 0.4909 GB, free: 9.422 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.1933, allocations: 8 kB / 0.4909 GB, free: 9.414 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.1933, allocations: 0 / 0.4909 GB, free: 9.414 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.1934, allocations: 3.984 kB / 0.4909 GB, free: 9.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002645/0.196, allocations: 1.775 MB / 0.4926 GB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.196, allocations: 0 / 0.4926 GB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006871/0.1967, allocations: 159.7 kB / 0.4928 GB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.642e-06/0.1967, allocations: 4 kB / 0.4928 GB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.943e-05/0.1968, allocations: 16 kB / 0.4928 GB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.561e-06/0.1968, allocations: 4 kB / 0.4928 GB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.1968, allocations: 0 / 0.4928 GB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001665/0.1985, allocations: 1.309 MB / 0.4941 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000317/0.1988, allocations: 204.1 kB / 0.4943 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.672e-05/0.1989, allocations: 20 kB / 0.4943 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003384/0.1993, allocations: 23.97 kB / 0.4943 GB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.1994, allocations: 52.38 kB / 0.4944 GB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.399e-05/0.1995, allocations: 44.05 kB / 0.4944 GB, free: 5.676 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004216/0.1999, allocations: 427 kB / 0.4948 GB, free: 5.266 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1999, allocations: 0 / 0.4948 GB, free: 5.266 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007908/0.2007, allocations: 236 kB / 0.495 GB, free: 5.035 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (trafo.i1[1],trafo.i1[2],trafo.i1[3]) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,tapChanger.tap_1,tapChanger.tap_2,tapChanger.cnt_1,tapChanger.cnt_2,system.initime) * Number of discrete states: 6 (tapChanger.tap_2,tapChanger.cnt_2,$whenCondition2,tapChanger.tap_1,tapChanger.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001586/0.2009, allocations: 126.3 kB / 0.4952 GB, free: 4.902 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001754/0.2026, allocations: 1.233 MB / 0.4964 GB, free: 3.637 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2026, allocations: 4.25 kB / 0.4964 GB, free: 3.633 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005905/0.2032, allocations: 466.3 kB / 0.4968 GB, free: 3.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000761/0.204, allocations: 141.6 kB / 0.4969 GB, free: 3.023 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003026/0.207, allocations: 1.965 MB / 0.4989 GB, free: 1.012 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007677/0.2078, allocations: 1.11 MB / 0.4999 GB, free: 15.88 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006126/0.2084, allocations: 290.4 kB / 0.5002 GB, free: 15.59 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001468/0.2086, allocations: 59.42 kB / 0.5003 GB, free: 15.53 MB / 398.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2086, allocations: 0 / 0.5003 GB, free: 15.53 MB / 398.1 MB Notification: Performance of Templates: time 0.01508/0.2237, allocations: 8.563 MB / 0.5086 GB, free: 7.027 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Transformer.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches