Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Introductory.ReferenceInertial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter_dq0.i.1.|meter_dq0.i.2.|meter_dq0.i.3.|meter_dq0.p.1.|meter_dq0.p.2.|meter_dq0.p.3.|meter_dq0.v.1.|meter_dq0.v.2.|meter_dq0.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial") translateModel(PowerSystems.Examples.Introductory.ReferenceInertial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter_dq0.i.1.|meter_dq0.i.2.|meter_dq0.i.3.|meter_dq0.p.1.|meter_dq0.p.2.|meter_dq0.p.3.|meter_dq0.v.1.|meter_dq0.v.2.|meter_dq0.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001153/0.001153, allocations: 175.3 kB / 17.4 MB, free: 4.418 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.456/1.456, allocations: 205.4 MB / 223.5 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007856/0.0007857, allocations: 86.34 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1704/0.1704, allocations: 38.08 MB / 358.3 MB, free: 1.727 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003663/0.0003663, allocations: 16 kB / 425.2 MB, free: 37.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2801, allocations: 56.32 MB / 481.6 MB, free: 9.598 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1393/0.4194, allocations: 100.3 MB / 0.5682 GB, free: 2 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002491/0.4197, allocations: 83.83 kB / 0.5683 GB, free: 1.922 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03403/0.4538, allocations: 12.22 MB / 0.5802 GB, free: 5.555 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4538, allocations: 0 / 0.5802 GB, free: 5.555 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.561e-05/0.4539, allocations: 19.94 kB / 0.5802 GB, free: 5.535 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001433/0.4553, allocations: 0.6728 MB / 0.5809 GB, free: 4.812 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.4554, allocations: 8.031 kB / 0.5809 GB, free: 4.805 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005961/0.456, allocations: 80.33 kB / 0.5809 GB, free: 4.727 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/0.457, allocations: 0.5381 MB / 0.5815 GB, free: 4.145 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.004e-05/0.4571, allocations: 38 kB / 0.5815 GB, free: 4.109 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.265e-05/0.4572, allocations: 40 kB / 0.5815 GB, free: 4.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009211/0.4581, allocations: 0.613 MB / 0.5821 GB, free: 3.391 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.907e-05/0.4582, allocations: 4 kB / 0.5822 GB, free: 3.387 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.56e-05/0.4582, allocations: 16 kB / 0.5822 GB, free: 3.371 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.336e-05/0.4583, allocations: 24.98 kB / 0.5822 GB, free: 3.348 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007389/0.459, allocations: 451.5 kB / 0.5826 GB, free: 2.906 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00331/0.4623, allocations: 2.868 MB / 0.5854 GB, free: 15.88 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003602/0.4627, allocations: 221.2 kB / 0.5856 GB, free: 15.64 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002239/0.463, allocations: 165.8 kB / 0.5858 GB, free: 15.48 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.875e-05/0.463, allocations: 12.2 kB / 0.5858 GB, free: 15.46 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.4631, allocations: 38.44 kB / 0.5858 GB, free: 15.42 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 2.835e-06/0.4631, allocations: 0 / 0.5858 GB, free: 15.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=30): time 0.001711/0.4648, allocations: 0.976 MB / 0.5868 GB, free: 14.39 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.905e-05/0.4649, allocations: 89.22 kB / 0.5869 GB, free: 14.29 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003668/0.4652, allocations: 320.4 kB / 0.5872 GB, free: 13.97 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.4653, allocations: 29.7 kB / 0.5872 GB, free: 13.93 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/0.4655, allocations: 267.3 kB / 0.5875 GB, free: 13.66 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.4656, allocations: 110.5 kB / 0.5876 GB, free: 13.55 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.105e-05/0.4656, allocations: 12 kB / 0.5876 GB, free: 13.54 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.4658, allocations: 342.8 kB / 0.5879 GB, free: 13.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002635/0.4661, allocations: 149 kB / 0.5881 GB, free: 13.05 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003873/0.4665, allocations: 344.2 kB / 0.5884 GB, free: 12.63 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007313/0.4672, allocations: 0.5249 MB / 0.5889 GB, free: 12.01 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.235e-06/0.4672, allocations: 4 kB / 0.5889 GB, free: 12.01 MB / 426.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.000896/0.4681, allocations: 0.5279 MB / 0.5894 GB, free: 11.47 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.4682, allocations: 8 kB / 0.5894 GB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.4682, allocations: 7.938 kB / 0.5894 GB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.998e-05/0.4682, allocations: 15.98 kB / 0.5894 GB, free: 11.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004139/0.4686, allocations: 108.5 kB / 0.5895 GB, free: 11.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.002e-05/0.4687, allocations: 19.92 kB / 0.5896 GB, free: 11.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002598/0.4689, allocations: 23.98 kB / 0.5896 GB, free: 11.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.718e-05/0.469, allocations: 24 kB / 0.5896 GB, free: 11.27 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (57): * Single equations (assignments): 56 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002589/0.4692, allocations: 209.6 kB / 0.5898 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.383e-05/0.4693, allocations: 35.56 kB / 0.5898 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005739/0.4699, allocations: 349.4 kB / 0.5902 GB, free: 10.67 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/0.4699, allocations: 8 kB / 0.5902 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.4699, allocations: 4 kB / 0.5902 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.4699, allocations: 0 / 0.5902 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001501/0.4715, allocations: 0.8793 MB / 0.591 GB, free: 9.715 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.4715, allocations: 0 / 0.591 GB, free: 9.715 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003119/0.4718, allocations: 63.89 kB / 0.5911 GB, free: 9.652 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.857e-06/0.4718, allocations: 4 kB / 0.5911 GB, free: 9.648 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.892e-05/0.4718, allocations: 12.09 kB / 0.5911 GB, free: 9.637 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/0.4719, allocations: 3.984 kB / 0.5911 GB, free: 9.633 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.4719, allocations: 7.938 kB / 0.5911 GB, free: 9.625 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007695/0.4726, allocations: 0.5946 MB / 0.5917 GB, free: 9.004 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.898e-05/0.4728, allocations: 112.8 kB / 0.5918 GB, free: 8.875 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.613e-05/0.4728, allocations: 8 kB / 0.5918 GB, free: 8.867 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/0.473, allocations: 19.91 kB / 0.5918 GB, free: 8.848 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.147e-05/0.4731, allocations: 31.84 kB / 0.5919 GB, free: 8.816 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.4731, allocations: 4 kB / 0.5919 GB, free: 8.812 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002332/0.4733, allocations: 219 kB / 0.5921 GB, free: 8.602 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4733, allocations: 3.938 kB / 0.5921 GB, free: 8.598 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005198/0.4739, allocations: 107.9 kB / 0.5922 GB, free: 8.492 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.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 (29): * Single equations (assignments): 27 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001758/0.4741, allocations: 119.2 kB / 0.5923 GB, free: 8.367 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000566/0.4746, allocations: 370.6 kB / 0.5927 GB, free: 8.008 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4746, allocations: 0.5625 kB / 0.5927 GB, free: 8.008 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002064/0.4749, allocations: 155.8 kB / 0.5928 GB, free: 7.855 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005196/0.4754, allocations: 61.58 kB / 0.5929 GB, free: 7.797 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001904/0.4773, allocations: 1.222 MB / 0.5941 GB, free: 6.535 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005107/0.4778, allocations: 0.8549 MB / 0.5949 GB, free: 5.652 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003902/0.4782, allocations: 135.1 kB / 0.595 GB, free: 5.52 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.941e-05/0.4783, allocations: 31.44 kB / 0.5951 GB, free: 5.488 MB / 426.7 MB Notification: Performance of SimCode: time 5.31e-07/0.4783, allocations: 0 / 0.5951 GB, free: 5.488 MB / 426.7 MB Notification: Performance of Templates: time 0.00743/0.4858, allocations: 2.976 MB / 0.598 GB, free: 2.52 MB / 426.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.ReferenceInertial.mat","../files/PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches