Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.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.Precalculation.TransDatFromEqCirc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|tc_d.1.|tc_d.2.|tc_q.1.|tc_q.2.|to_d.1.|to_d.2.|to_q.1.|to_q.2.|xtr_d.1.|xtr_d.2.|xtr_q.1.|xtr_q.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc") translateModel(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|tc_d.1.|tc_d.2.|tc_q.1.|tc_q.2.|to_d.1.|to_d.2.|to_q.1.|to_q.2.|xtr_d.1.|xtr_d.2.|xtr_q.1.|xtr_q.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001689/0.001689, allocations: 111.6 kB / 17.29 MB, free: 6.188 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.001955/0.001955, allocations: 193.3 kB / 18.21 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.056/2.056, allocations: 222.9 MB / 241.9 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2595/0.2595, allocations: 38.03 MB / 330.1 MB, free: 9.055 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002442/0.002442, allocations: 66.62 kB / 398.9 MB, free: 34.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1656, allocations: 58.06 MB / 457 MB, free: 8.461 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.006079/0.1717, allocations: 2.194 MB / 459.2 MB, free: 6.242 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002766/0.1745, allocations: 1.068 MB / 460.3 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.268e-05/0.1747, allocations: 0 / 460.3 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002205/0.175, allocations: 7.922 kB / 460.3 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002502/0.1752, allocations: 59.78 kB / 460.3 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001664/0.1769, allocations: 259.5 kB / 460.6 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003025/0.1772, allocations: 127.5 kB / 460.7 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.673e-05/0.1773, allocations: 4 kB / 460.7 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002001/0.1776, allocations: 47.81 kB / 460.8 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002003/0.1778, allocations: 79.72 kB / 460.8 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.1778, allocations: 0 / 460.8 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/0.1789, allocations: 407.2 kB / 461.2 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.179, allocations: 39.89 kB / 461.3 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.202e-05/0.1791, allocations: 39.69 kB / 461.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007811/0.1799, allocations: 411.4 kB / 461.7 MB, free: 3.719 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.18, allocations: 4 kB / 461.7 MB, free: 3.715 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.18, allocations: 0 / 461.7 MB, free: 3.715 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.246e-06/0.18, allocations: 0 / 461.7 MB, free: 3.715 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0007744/0.1808, allocations: 452.8 kB / 462.2 MB, free: 3.219 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.556e-05/0.1809, allocations: 15.83 kB / 462.2 MB, free: 3.203 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.597e-05/0.1809, allocations: 20.75 kB / 462.2 MB, free: 3.184 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002834/0.1812, allocations: 184.2 kB / 462.4 MB, free: 2.965 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.1813, allocations: 384 / 462.4 MB, free: 2.965 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.008e-05/0.1813, allocations: 8.125 kB / 462.4 MB, free: 2.957 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003024/0.1816, allocations: 105.6 kB / 462.5 MB, free: 2.848 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.1817, allocations: 0 / 462.5 MB, free: 2.848 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.054e-05/0.1817, allocations: 4 kB / 462.5 MB, free: 2.844 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.1817, allocations: 0 / 462.5 MB, free: 2.844 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00016/0.1819, allocations: 59.91 kB / 462.6 MB, free: 2.785 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002674/0.1822, allocations: 177.5 kB / 462.7 MB, free: 2.562 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002551/0.1824, allocations: 134.5 kB / 462.9 MB, free: 2.422 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002267/0.1827, allocations: 123.4 kB / 463 MB, free: 2.301 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.178e-05/0.1827, allocations: 4 kB / 463 MB, free: 2.297 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/0.1828, allocations: 30.56 kB / 463 MB, free: 2.258 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 2.174e-06/0.1828, allocations: 4 kB / 463 MB, free: 2.254 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.0008079/0.1836, allocations: 291.4 kB / 463.3 MB, free: 1.957 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.426e-05/0.1837, allocations: 93.09 kB / 463.4 MB, free: 1.848 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.1839, allocations: 136 kB / 463.5 MB, free: 1.707 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.184, allocations: 25.7 kB / 463.5 MB, free: 1.676 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.415e-05/0.1841, allocations: 96.48 kB / 463.6 MB, free: 1.578 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.1842, allocations: 67 kB / 463.7 MB, free: 1.512 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.544e-05/0.1843, allocations: 25.7 kB / 463.7 MB, free: 1.48 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.1845, allocations: 326.8 kB / 464.1 MB, free: 1.152 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.1846, allocations: 55.97 kB / 464.1 MB, free: 1.098 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.1848, allocations: 55.97 kB / 464.2 MB, free: 1.043 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004165/0.1852, allocations: 231.2 kB / 464.4 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.1852, allocations: 3.938 kB / 464.4 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004917/0.1857, allocations: 227 kB / 464.6 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001001/0.1858, allocations: 57.73 kB / 464.7 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.1859, allocations: 0 / 464.7 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.1859, allocations: 0 / 464.7 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.783e-06/0.1859, allocations: 0 / 464.7 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.1859, allocations: 0 / 464.7 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.1861, allocations: 11.94 kB / 464.7 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.875e-05/0.1861, allocations: 4 kB / 464.7 MB, free: 500 kB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002421/0.1864, allocations: 183.4 kB / 464.9 MB, free: 300 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.806e-05/0.1864, allocations: 15.81 kB / 464.9 MB, free: 284 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.588e-05/0.1865, allocations: 17.19 kB / 464.9 MB, free: 268 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.1865, allocations: 0 / 464.9 MB, free: 268 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/0.1865, allocations: 0 / 464.9 MB, free: 268 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.1865, allocations: 3.938 kB / 464.9 MB, free: 264 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002338/0.1868, allocations: 205.3 kB / 465.1 MB, free: 8 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.1868, allocations: 0 / 465.1 MB, free: 8 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.473e-06/0.1868, allocations: 0 / 465.1 MB, free: 8 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1868, allocations: 0 / 465.1 MB, free: 8 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.839e-05/0.1869, allocations: 4 kB / 465.1 MB, free: 4 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.1869, allocations: 0 / 465.1 MB, free: 4 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.056e-05/0.1869, allocations: 12.02 kB / 465.1 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008098/0.1878, allocations: 388.9 kB / 465.5 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.67e-05/0.1878, allocations: 92.86 kB / 465.6 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.151e-05/0.1879, allocations: 4 kB / 465.6 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.095e-05/0.188, allocations: 4 kB / 465.6 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.186e-05/0.188, allocations: 4 kB / 465.6 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.858e-05/0.1881, allocations: 8 kB / 465.6 MB, free: 15.46 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001184/0.1882, allocations: 103.2 kB / 465.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1882, allocations: 4.031 kB / 465.7 MB, free: 15.35 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007813/0.189, allocations: 132 kB / 465.8 MB, free: 15.22 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * 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.0008059/0.1899, allocations: 185.9 kB / 466 MB, free: 15.04 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001027/0.1909, allocations: 0.5733 MB / 466.6 MB, free: 14.45 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.1909, allocations: 0 / 466.6 MB, free: 14.45 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000628/0.1916, allocations: 467.3 kB / 467.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003908/0.192, allocations: 24.06 kB / 467.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.193, allocations: 454.5 kB / 467.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004383/0.1935, allocations: 0.7158 MB / 468.2 MB, free: 12.74 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.188e-05/0.1935, allocations: 11.44 kB / 468.2 MB, free: 12.73 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1935, allocations: 0 / 468.2 MB, free: 12.73 MB / 350.1 MB Notification: Performance of Templates: time 0.00908/0.2026, allocations: 3.106 MB / 471.4 MB, free: 9.629 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches