Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.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.EqCircFromTransDat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|r_rd.1.|r_rd.2.|r_rq.1.|r_rq.2.|xm_d.1.|xm_d.2.|xm_d.3.|xm_q.1.|xm_q.2.|xm_q.3.|xsig_rd.1.|xsig_rd.2.|xsig_rq.1.|xsig_rq.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat") translateModel(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|r_rd.1.|r_rd.2.|r_rq.1.|r_rq.2.|xm_d.1.|xm_d.2.|xm_d.3.|xm_q.1.|xm_q.2.|xm_q.3.|xsig_rd.1.|xsig_rd.2.|xsig_rq.1.|xsig_rq.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001399/0.001399, 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.001356/0.001356, 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 1.975/1.975, allocations: 222.9 MB / 241.9 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.3098/0.3098, allocations: 38.03 MB / 330.1 MB, free: 9.035 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002372/0.002372, allocations: 59.73 kB / 398.9 MB, free: 34.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1712, allocations: 58.06 MB / 457 MB, free: 8.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat): time 0.005784/0.1771, allocations: 2.194 MB / 459.2 MB, free: 6.223 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004729/0.1819, allocations: 2.058 MB / 461.3 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.182, allocations: 0 / 461.3 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002018/0.1823, allocations: 15.92 kB / 461.3 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001856/0.1825, allocations: 31.81 kB / 461.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003077/0.1856, allocations: 0.7394 MB / 462 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002592/0.1859, allocations: 115.5 kB / 462.2 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.34e-05/0.186, allocations: 0 / 462.2 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001667/0.1862, allocations: 39.84 kB / 462.2 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.1863, allocations: 67.73 kB / 462.3 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.1863, allocations: 0 / 462.3 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002379/0.1887, allocations: 1.24 MB / 463.5 MB, free: 1.906 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001498/0.1889, allocations: 27.91 kB / 463.5 MB, free: 1.879 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.189, allocations: 43.72 kB / 463.6 MB, free: 1.836 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002049/0.1911, allocations: 0.9434 MB / 464.5 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.1911, allocations: 0 / 464.5 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.915e-06/0.1911, allocations: 0 / 464.5 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.1911, allocations: 4 kB / 464.5 MB, free: 0.8867 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001259/0.1924, allocations: 0.5357 MB / 465.1 MB, free: 304 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.86e-05/0.1925, allocations: 11.89 kB / 465.1 MB, free: 292 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.812e-05/0.1926, allocations: 16.73 kB / 465.1 MB, free: 276 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002608/0.1928, allocations: 195 kB / 465.3 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.1929, allocations: 12.11 kB / 465.3 MB, free: 32 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.55e-05/0.1929, allocations: 4 kB / 465.3 MB, free: 28 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002182/0.1931, allocations: 69.67 kB / 465.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.1931, allocations: 0 / 465.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.1932, allocations: 4 kB / 465.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.1932, allocations: 3.984 kB / 465.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.687e-05/0.1933, allocations: 31.98 kB / 465.4 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002148/0.1935, allocations: 185.5 kB / 465.6 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.1936, allocations: 78.42 kB / 465.7 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.936e-05/0.1937, allocations: 60.88 kB / 465.7 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.125e-05/0.1937, allocations: 0 / 465.7 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.171e-05/0.1938, allocations: 34.56 kB / 465.7 MB, free: 15.49 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.172e-06/0.1938, allocations: 0 / 465.7 MB, free: 15.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004348/0.1942, allocations: 229.9 kB / 466 MB, free: 15.26 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.389e-05/0.1943, allocations: 89.05 kB / 466.1 MB, free: 15.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.1945, allocations: 154 kB / 466.2 MB, free: 14.99 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/0.1945, allocations: 29.73 kB / 466.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.157e-05/0.1946, allocations: 100.4 kB / 466.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.724e-05/0.1947, allocations: 51.3 kB / 466.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.909e-05/0.1947, allocations: 17.72 kB / 466.4 MB, free: 14.78 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.1949, allocations: 326.8 kB / 466.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.152e-05/0.195, allocations: 39.97 kB / 466.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.494e-05/0.1951, allocations: 35.97 kB / 466.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002117/0.1953, allocations: 180.2 kB / 467 MB, free: 14.19 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.1953, allocations: 7.969 kB / 467 MB, free: 14.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002416/0.1956, allocations: 166.5 kB / 467.1 MB, free: 14.01 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.754e-05/0.1957, allocations: 53.67 kB / 467.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.1957, allocations: 0 / 467.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.1957, allocations: 3.938 kB / 467.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.262e-06/0.1957, allocations: 3.938 kB / 467.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.1957, allocations: 0 / 467.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.677e-05/0.1958, allocations: 7.906 kB / 467.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.115e-05/0.1958, allocations: 4 kB / 467.2 MB, free: 13.93 MB / 350.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.0001605/0.196, allocations: 179.5 kB / 467.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.622e-05/0.196, allocations: 11.91 kB / 467.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.289e-05/0.1961, allocations: 8.844 kB / 467.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1961, allocations: 0 / 467.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.1961, allocations: 0 / 467.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1961, allocations: 0 / 467.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001865/0.1963, allocations: 197.4 kB / 467.6 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.1963, allocations: 3.984 kB / 467.6 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.263e-06/0.1963, allocations: 0 / 467.6 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.1963, allocations: 0 / 467.6 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.1963, allocations: 8 kB / 467.6 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1964, allocations: 4 kB / 467.6 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.1964, allocations: 4 kB / 467.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004114/0.1968, allocations: 298.5 kB / 467.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.011e-05/0.1968, allocations: 88.91 kB / 468 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.1969, allocations: 4 kB / 468 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.138e-05/0.1969, allocations: 4 kB / 468 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.002e-05/0.197, allocations: 0 / 468 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.908e-05/0.197, allocations: 16.03 kB / 468 MB, free: 13.01 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001083/0.1971, allocations: 113.7 kB / 468.1 MB, free: 12.9 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1971, allocations: 0 / 468.1 MB, free: 12.9 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001179/0.1983, allocations: 323.9 kB / 468.4 MB, free: 12.58 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.00178/0.2001, allocations: 377.1 kB / 468.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006181/0.2007, allocations: 339.3 kB / 469.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2008, allocations: 0 / 469.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003328/0.2011, allocations: 259.3 kB / 469.4 MB, free: 11.6 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004255/0.2015, allocations: 19.94 kB / 469.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008921/0.2024, allocations: 411.1 kB / 469.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004378/0.2029, allocations: 0.7119 MB / 470.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.684e-05/0.2029, allocations: 11.44 kB / 470.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2029, allocations: 0 / 470.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of Templates: time 0.01824/0.2212, allocations: 6.154 MB / 476.7 MB, free: 4.23 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches