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.001156/0.001156, allocations: 110.3 kB / 16.92 MB, free: 5.855 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.00115/0.00115, allocations: 191.3 kB / 17.85 MB, free: 5.164 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.332/1.332, 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.1751/0.1751, allocations: 38.03 MB / 329.7 MB, free: 8.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 66.2 kB / 398.8 MB, free: 34.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1353, allocations: 58.06 MB / 456.9 MB, free: 8.066 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.008697/0.1441, allocations: 6.531 MB / 463.4 MB, free: 1.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005093/0.1492, allocations: 2.438 MB / 465.8 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007205/0.15, allocations: 19.88 kB / 465.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001915/0.152, allocations: 0.6028 MB / 466.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002104/0.1541, allocations: 0.6808 MB / 467.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001332/0.1554, allocations: 447 kB / 467.6 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001816/0.1573, allocations: 1.369 MB / 468.9 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008181/0.1581, allocations: 479.9 kB / 469.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001122/0.1592, allocations: 0.576 MB / 470 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0015/0.1608, allocations: 0.7789 MB / 470.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003291/0.1611, allocations: 79.94 kB / 470.8 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00095/0.1621, allocations: 279.6 kB / 471.1 MB, free: 9.754 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007873/0.1629, allocations: 0.5221 MB / 471.6 MB, free: 9.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001224/0.1641, allocations: 0.5286 MB / 472.2 MB, free: 8.699 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00185/0.166, allocations: 1.304 MB / 473.5 MB, free: 7.391 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.166, allocations: 0 / 473.5 MB, free: 7.391 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.166, allocations: 0 / 473.5 MB, free: 7.391 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.787e-05/0.166, allocations: 0 / 473.5 MB, free: 7.391 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.003062/0.1691, allocations: 1.326 MB / 474.8 MB, free: 6.008 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.1691, allocations: 11.89 kB / 474.8 MB, free: 5.996 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001167/0.1703, allocations: 199.5 kB / 475 MB, free: 5.801 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001239/0.1716, allocations: 0.6705 MB / 475.7 MB, free: 5.086 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.702e-05/0.1717, allocations: 66.36 kB / 475.7 MB, free: 5.023 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002323/0.1719, allocations: 108 kB / 475.9 MB, free: 4.918 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002154/0.1741, allocations: 1.392 MB / 477.2 MB, free: 3.422 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.658e-05/0.1741, allocations: 7.938 kB / 477.3 MB, free: 3.414 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.131e-05/0.1742, allocations: 35.98 kB / 477.3 MB, free: 3.379 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002732/0.1745, allocations: 117.9 kB / 477.4 MB, free: 3.266 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001776/0.1763, allocations: 1.085 MB / 478.5 MB, free: 2.18 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.006431/0.1827, allocations: 5.965 MB / 484.5 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.1838, allocations: 0.7056 MB / 485.2 MB, free: 11.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004393/0.1842, allocations: 319.8 kB / 485.5 MB, free: 10.85 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.042e-05/0.1843, allocations: 12.48 kB / 485.5 MB, free: 10.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006297/0.1849, allocations: 480.5 kB / 485.9 MB, free: 10.33 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.905e-06/0.1849, allocations: 0 / 485.9 MB, free: 10.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.003323/0.1883, allocations: 2.144 MB / 488.1 MB, free: 8.113 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.511e-05/0.1884, allocations: 174.8 kB / 488.3 MB, free: 7.906 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007153/0.1891, allocations: 0.6368 MB / 488.9 MB, free: 7.258 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.62e-05/0.1891, allocations: 37.7 kB / 488.9 MB, free: 7.215 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003841/0.1895, allocations: 0.5366 MB / 489.5 MB, free: 6.668 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002037/0.1898, allocations: 228.8 kB / 489.7 MB, free: 6.441 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002646/0.19, allocations: 202.7 kB / 489.9 MB, free: 6.238 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.1902, allocations: 386.7 kB / 490.3 MB, free: 5.852 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005166/0.1907, allocations: 346.4 kB / 490.6 MB, free: 5.512 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007894/0.1915, allocations: 0.7698 MB / 491.4 MB, free: 4.543 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001416/0.1929, allocations: 1.244 MB / 492.6 MB, free: 3.078 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-05/0.193, allocations: 4 kB / 492.6 MB, free: 3.074 MB / 366.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.00243/0.1954, allocations: 1.438 MB / 494.1 MB, free: 1.617 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.657e-05/0.1955, allocations: 41.64 kB / 494.1 MB, free: 1.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001373/0.1968, allocations: 0.7904 MB / 494.9 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007067/0.1976, allocations: 248.4 kB / 495.1 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006618/0.1982, allocations: 219.6 kB / 495.4 MB, free: 324 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004569/0.2028, allocations: 4.389 MB / 499.7 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006476/0.2035, allocations: 47.97 kB / 499.8 MB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/0.2036, allocations: 63.98 kB / 499.9 MB, free: 11.54 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.0005964/0.2042, allocations: 410.9 kB / 0.4885 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001454/0.2044, allocations: 79 kB / 0.4886 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001436/0.2058, allocations: 0.8476 MB / 0.4894 GB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.2058, allocations: 4 kB / 0.4894 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.2058, allocations: 0 / 0.4894 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.291e-05/0.2058, allocations: 11.98 kB / 0.4894 GB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0028/0.2087, allocations: 1.763 MB / 0.4912 GB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.2087, allocations: 7.984 kB / 0.4912 GB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006716/0.2094, allocations: 148 kB / 0.4913 GB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.078e-05/0.2094, allocations: 7.938 kB / 0.4913 GB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.93e-05/0.2094, allocations: 16 kB / 0.4913 GB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.324e-06/0.2094, allocations: 11.92 kB / 0.4914 GB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.2095, allocations: 4 kB / 0.4914 GB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001714/0.2112, allocations: 1.313 MB / 0.4926 GB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003124/0.2115, allocations: 204.2 kB / 0.4928 GB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.2116, allocations: 16 kB / 0.4929 GB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003643/0.212, allocations: 31.97 kB / 0.4929 GB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.2121, allocations: 48.44 kB / 0.4929 GB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.69e-05/0.2122, allocations: 43.95 kB / 0.493 GB, free: 6.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004982/0.2127, allocations: 423 kB / 0.4934 GB, free: 6.004 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2127, allocations: 0 / 0.4934 GB, free: 6.004 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008646/0.2136, allocations: 232 kB / 0.4936 GB, free: 5.777 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.0001702/0.2138, allocations: 119.1 kB / 0.4937 GB, free: 5.652 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002337/0.2161, allocations: 1.415 MB / 0.4951 GB, free: 4.203 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.2161, allocations: 1.75 kB / 0.4951 GB, free: 4.203 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005798/0.2167, allocations: 462.3 kB / 0.4955 GB, free: 3.738 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007966/0.2175, allocations: 141.9 kB / 0.4957 GB, free: 3.602 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003381/0.2209, allocations: 1.993 MB / 0.4976 GB, free: 1.562 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008744/0.2218, allocations: 1.11 MB / 0.4987 GB, free: 436 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007194/0.2225, allocations: 294.4 kB / 0.499 GB, free: 136 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001606/0.2227, allocations: 63.42 kB / 0.499 GB, free: 72 kB / 382.1 MB Notification: Performance of SimCode: time 1.573e-06/0.2227, allocations: 0 / 0.499 GB, free: 72 kB / 382.1 MB Notification: Performance of Templates: time 0.01899/0.2417, allocations: 8.551 MB / 0.5074 GB, free: 7.582 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