Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.ImpedanceYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") translateModel(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 104.6 kB / 16.5 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.001788/0.001788, 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.359/1.359, allocations: 222.9 MB / 241.1 MB, free: 15.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1707/0.1707, allocations: 38.04 MB / 329.3 MB, free: 8.98 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 65.27 kB / 398.1 MB, free: 34.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1384, allocations: 58.05 MB / 456.2 MB, free: 8.527 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.00741/0.1458, allocations: 5.193 MB / 461.4 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003327/0.1492, allocations: 1.761 MB / 463.1 MB, free: 1.535 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006048/0.1498, allocations: 27.81 kB / 463.1 MB, free: 1.508 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001134/0.151, allocations: 277.1 kB / 463.4 MB, free: 1.238 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009743/0.152, allocations: 254.9 kB / 463.7 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001031/0.1531, allocations: 223.6 kB / 463.9 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001254/0.1543, allocations: 0.9199 MB / 464.8 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005752/0.1549, allocations: 236.3 kB / 465 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005888/0.1555, allocations: 227 kB / 465.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007059/0.1562, allocations: 350.8 kB / 465.6 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001037/0.1564, allocations: 20 kB / 465.6 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004318/0.1568, allocations: 139.8 kB / 465.7 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002944/0.1571, allocations: 223.4 kB / 466 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003523/0.1575, allocations: 230.8 kB / 466.2 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007813/0.1583, allocations: 0.584 MB / 466.8 MB, free: 13.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1583, allocations: 4 kB / 466.8 MB, free: 13.85 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1583, allocations: 0 / 466.8 MB, free: 13.85 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.123e-05/0.1583, allocations: 0 / 466.8 MB, free: 13.85 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001726/0.16, allocations: 0.7543 MB / 467.5 MB, free: 13.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.1601, allocations: 8.031 kB / 467.5 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006628/0.1608, allocations: 100.2 kB / 467.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008077/0.1616, allocations: 404 kB / 468 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.185e-05/0.1616, allocations: 37.36 kB / 468.1 MB, free: 12.47 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001416/0.1618, allocations: 48.12 kB / 468.1 MB, free: 12.42 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009923/0.1628, allocations: 0.6599 MB / 468.8 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.829e-05/0.1628, allocations: 7.938 kB / 468.8 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.933e-05/0.1629, allocations: 19.98 kB / 468.8 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001559/0.163, allocations: 52.97 kB / 468.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009268/0.164, allocations: 491.5 kB / 469.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003718/0.1677, allocations: 3.152 MB / 472.5 MB, free: 7.801 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004679/0.1682, allocations: 241.3 kB / 472.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001944/0.1684, allocations: 121.7 kB / 472.8 MB, free: 7.422 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.46e-05/0.1684, allocations: 15.92 kB / 472.9 MB, free: 7.406 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/0.1685, allocations: 42.5 kB / 472.9 MB, free: 7.355 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 2.354e-06/0.1685, allocations: 3.938 kB / 472.9 MB, free: 7.352 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001686/0.1702, allocations: 0.8815 MB / 473.8 MB, free: 6.422 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.56e-05/0.1703, allocations: 85.23 kB / 473.9 MB, free: 6.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003994/0.1707, allocations: 328.4 kB / 474.2 MB, free: 5.992 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.138e-05/0.1707, allocations: 33.64 kB / 474.2 MB, free: 5.953 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002114/0.1709, allocations: 291 kB / 474.5 MB, free: 5.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.658e-05/0.171, allocations: 90.73 kB / 474.6 MB, free: 5.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001395/0.1712, allocations: 90.03 kB / 474.7 MB, free: 5.477 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.1713, allocations: 346.7 kB / 475 MB, free: 5.129 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002202/0.1715, allocations: 132.8 kB / 475.1 MB, free: 5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000346/0.1719, allocations: 321.2 kB / 475.5 MB, free: 4.598 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006699/0.1726, allocations: 0.501 MB / 476 MB, free: 4.008 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.1726, allocations: 8 kB / 476 MB, free: 4 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00117/0.1738, allocations: 0.5842 MB / 476.6 MB, free: 3.402 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.1738, allocations: 8 kB / 476.6 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006574/0.1745, allocations: 326 kB / 476.9 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004516/0.1749, allocations: 117.6 kB / 477 MB, free: 2.949 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003168/0.1752, allocations: 91.83 kB / 477.1 MB, free: 2.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003001/0.1783, allocations: 3.037 MB / 480.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002914/0.1786, allocations: 23.92 kB / 480.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.481e-05/0.1786, allocations: 23.94 kB / 480.2 MB, free: 15.51 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * 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 initialization (48): * Single equations (assignments): 46 * 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 {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002938/0.1789, allocations: 213.6 kB / 480.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.386e-05/0.179, allocations: 27.62 kB / 480.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005593/0.1796, allocations: 324.9 kB / 480.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.1796, allocations: 4 kB / 480.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.1796, allocations: 0 / 480.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1796, allocations: 0 / 480.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001244/0.1808, allocations: 0.812 MB / 481.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.1809, allocations: 0 / 481.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003594/0.1812, allocations: 63.97 kB / 481.6 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.1812, allocations: 4 kB / 481.6 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.614e-05/0.1813, allocations: 8 kB / 481.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.1813, allocations: 0 / 481.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.1813, allocations: 3.984 kB / 481.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006898/0.182, allocations: 0.5069 MB / 482.1 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001556/0.1822, allocations: 128.7 kB / 482.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.111e-05/0.1822, allocations: 11.98 kB / 482.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.1824, allocations: 4 kB / 482.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.21e-05/0.1825, allocations: 23.91 kB / 482.3 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.1825, allocations: 4 kB / 482.3 MB, free: 13.26 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002459/0.1827, allocations: 227 kB / 482.5 MB, free: 13.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1827, allocations: 0 / 482.5 MB, free: 13.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004945/0.1832, allocations: 96 kB / 482.6 MB, free: 12.95 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (indYD.i[1],indYD.i[2],indYD.i[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 (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * 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.000147/0.1834, allocations: 111.4 kB / 482.7 MB, free: 12.83 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009733/0.1844, allocations: 0.5763 MB / 483.3 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1844, allocations: 0 / 483.3 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002079/0.1846, allocations: 134.1 kB / 483.4 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005368/0.1851, allocations: 61.39 kB / 483.5 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00186/0.187, allocations: 1.199 MB / 484.7 MB, free: 10.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005177/0.1876, allocations: 0.8623 MB / 485.5 MB, free: 9.914 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003318/0.1879, allocations: 111.2 kB / 485.7 MB, free: 9.805 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.812e-05/0.188, allocations: 39.42 kB / 485.7 MB, free: 9.766 MB / 366.1 MB Notification: Performance of SimCode: time 6.62e-07/0.188, allocations: 4 kB / 485.7 MB, free: 9.762 MB / 366.1 MB Notification: Performance of Templates: time 0.008557/0.1966, allocations: 3.663 MB / 489.4 MB, free: 6.125 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches