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.00173/0.00173, allocations: 113.1 kB / 16.51 MB, free: 6.652 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.00198/0.001981, allocations: 198.7 kB / 17.43 MB, free: 6.035 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.404/1.404, allocations: 222.9 MB / 241.1 MB, free: 15.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1844/0.1844, allocations: 38.03 MB / 329.3 MB, free: 9.062 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 69.48 kB / 398.1 MB, free: 34.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1049, allocations: 58.06 MB / 456.2 MB, free: 8.527 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.008755/0.1137, allocations: 7.56 MB / 463.7 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005315/0.119, allocations: 2.804 MB / 466.5 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007101/0.1198, allocations: 43.69 kB / 466.6 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00181/0.1216, allocations: 0.5798 MB / 467.1 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00143/0.123, allocations: 0.6306 MB / 467.8 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001224/0.1243, allocations: 407.2 kB / 468.2 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002667/0.1269, allocations: 2.297 MB / 470.5 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007899/0.1277, allocations: 455.2 kB / 470.9 MB, free: 9.707 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007646/0.1285, allocations: 489.8 kB / 471.4 MB, free: 9.227 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001141/0.1297, allocations: 0.8412 MB / 472.2 MB, free: 8.383 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001083/0.1298, allocations: 48 kB / 472.3 MB, free: 8.336 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006163/0.1304, allocations: 271.5 kB / 472.5 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004708/0.1309, allocations: 0.5027 MB / 473.1 MB, free: 7.566 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004925/0.1314, allocations: 0.4934 MB / 473.5 MB, free: 7.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001189/0.1326, allocations: 1.281 MB / 474.8 MB, free: 5.785 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.1326, allocations: 0 / 474.8 MB, free: 5.785 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.81e-07/0.1326, allocations: 4 kB / 474.8 MB, free: 5.781 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.1326, allocations: 0 / 474.8 MB, free: 5.781 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.002286/0.1349, allocations: 1.33 MB / 476.2 MB, free: 4.391 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.135, allocations: 11.97 kB / 476.2 MB, free: 4.379 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/0.136, allocations: 207.4 kB / 476.4 MB, free: 4.176 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/0.1372, allocations: 0.6706 MB / 477 MB, free: 3.465 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.202e-05/0.1372, allocations: 62.38 kB / 477.1 MB, free: 3.402 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002241/0.1375, allocations: 100 kB / 477.2 MB, free: 3.305 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002078/0.1395, allocations: 1.384 MB / 478.6 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.689e-05/0.1396, allocations: 11.84 kB / 478.6 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/0.1397, allocations: 39.98 kB / 478.6 MB, free: 1.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002759/0.14, allocations: 117.9 kB / 478.8 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001731/0.1417, allocations: 1.097 MB / 479.8 MB, free: 0.5586 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.006678/0.1484, allocations: 5.957 MB / 485.8 MB, free: 10.29 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000999/0.1494, allocations: 0.7099 MB / 486.5 MB, free: 9.547 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004289/0.1499, allocations: 323.2 kB / 486.8 MB, free: 9.227 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.285e-05/0.1499, allocations: 16.55 kB / 486.8 MB, free: 9.211 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006858/0.1506, allocations: 476.6 kB / 487.3 MB, free: 8.711 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.344e-06/0.1506, allocations: 0 / 487.3 MB, free: 8.711 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.003582/0.1542, allocations: 2.144 MB / 489.5 MB, free: 6.492 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001311/0.1544, allocations: 166.8 kB / 489.6 MB, free: 6.293 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000801/0.1552, allocations: 0.6443 MB / 490.3 MB, free: 5.641 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.129e-05/0.1552, allocations: 41.7 kB / 490.3 MB, free: 5.594 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004306/0.1557, allocations: 0.5251 MB / 490.8 MB, free: 5.059 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001847/0.1559, allocations: 232.8 kB / 491.1 MB, free: 4.828 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002592/0.1561, allocations: 202.7 kB / 491.3 MB, free: 4.625 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.1563, allocations: 394.7 kB / 491.6 MB, free: 4.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005057/0.1568, allocations: 338.4 kB / 492 MB, free: 3.898 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007613/0.1576, allocations: 0.7737 MB / 492.7 MB, free: 2.926 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001469/0.1591, allocations: 1.237 MB / 494 MB, free: 1.473 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/0.1591, allocations: 12 kB / 494 MB, free: 1.461 MB / 366.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002397/0.1615, allocations: 1.438 MB / 495.4 MB, free: 4 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.976e-05/0.1616, allocations: 41.64 kB / 495.5 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001496/0.1631, allocations: 0.782 MB / 496.3 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007878/0.1639, allocations: 252.6 kB / 496.5 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007091/0.1646, allocations: 219.6 kB / 496.7 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00431/0.1689, allocations: 4.029 MB / 0.489 GB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006469/0.1696, allocations: 63.88 kB / 0.4891 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.445e-05/0.1697, allocations: 67.91 kB / 0.4891 GB, free: 10.27 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.0005795/0.1703, allocations: 402.8 kB / 0.4895 GB, free: 9.863 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.1704, allocations: 79.23 kB / 0.4896 GB, free: 9.785 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001325/0.1717, allocations: 0.8477 MB / 0.4904 GB, free: 8.914 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.1718, allocations: 4 kB / 0.4904 GB, free: 8.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.1718, allocations: 4 kB / 0.4904 GB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/0.1718, allocations: 7.922 kB / 0.4904 GB, free: 8.898 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002538/0.1743, allocations: 1.767 MB / 0.4922 GB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.1743, allocations: 3.938 kB / 0.4922 GB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006916/0.175, allocations: 143.8 kB / 0.4923 GB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.1751, allocations: 7.938 kB / 0.4923 GB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.935e-05/0.1751, allocations: 27.98 kB / 0.4923 GB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.291e-06/0.1751, allocations: 7.938 kB / 0.4923 GB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1751, allocations: 4.156 kB / 0.4924 GB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001663/0.1768, allocations: 1.297 MB / 0.4936 GB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002495/0.1771, allocations: 208 kB / 0.4938 GB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.09e-05/0.1772, allocations: 16 kB / 0.4938 GB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003517/0.1775, allocations: 31.97 kB / 0.4939 GB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.1776, allocations: 44.5 kB / 0.4939 GB, free: 5.211 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.59e-05/0.1777, allocations: 35.97 kB / 0.4939 GB, free: 5.176 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004574/0.1782, allocations: 423 kB / 0.4943 GB, free: 4.766 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1782, allocations: 8 kB / 0.4943 GB, free: 4.758 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008983/0.1791, allocations: 228 kB / 0.4946 GB, free: 4.535 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.0001722/0.1793, allocations: 123.1 kB / 0.4947 GB, free: 4.402 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001867/0.1812, allocations: 1.241 MB / 0.4959 GB, free: 3.125 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.1812, allocations: 0 / 0.4959 GB, free: 3.125 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005646/0.1817, allocations: 466.3 kB / 0.4963 GB, free: 2.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007585/0.1825, allocations: 131.6 kB / 0.4965 GB, free: 2.535 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003361/0.1859, allocations: 2.392 MB / 0.4988 GB, free: 96 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009816/0.1869, allocations: 1.107 MB / 0.4999 GB, free: 14.96 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0008395/0.1877, allocations: 290.4 kB / 0.5002 GB, free: 14.67 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001648/0.1879, allocations: 59.44 kB / 0.5002 GB, free: 14.62 MB / 398.1 MB Notification: Performance of SimCode: time 1.092e-06/0.1879, allocations: 0 / 0.5002 GB, free: 14.62 MB / 398.1 MB Notification: Performance of Templates: time 0.01532/0.2032, allocations: 8.133 MB / 0.5082 GB, free: 6.543 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Transformer.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches