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.001503/0.001503, allocations: 179.9 kB / 16.38 MB, free: 5.766 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.604/1.604, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.0009712/0.0009712, allocations: 95.8 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.181/0.181, allocations: 38.05 MB / 357.2 MB, free: 1.879 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003385/0.0003386, allocations: 12 kB / 424 MB, free: 37.69 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3945/0.3949, allocations: 56.31 MB / 480.3 MB, free: 9.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1501/0.545, allocations: 100.2 MB / 0.5669 GB, free: 2.207 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002557/0.5453, allocations: 87.95 kB / 0.567 GB, free: 2.121 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03409/0.5794, allocations: 12.22 MB / 0.5789 GB, free: 5.754 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.5795, allocations: 0 / 0.5789 GB, free: 5.754 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.793e-05/0.5795, allocations: 12 kB / 0.5789 GB, free: 5.742 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.001135/0.5807, allocations: 0.6803 MB / 0.5796 GB, free: 5.012 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.5807, allocations: 12.03 kB / 0.5796 GB, free: 5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004765/0.5812, allocations: 83.38 kB / 0.5797 GB, free: 4.918 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001969/0.5832, allocations: 0.8489 MB / 0.5805 GB, free: 4.023 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.141e-05/0.5832, allocations: 29 kB / 0.5806 GB, free: 3.996 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.655e-05/0.5833, allocations: 40 kB / 0.5806 GB, free: 3.957 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000855/0.5842, allocations: 0.6131 MB / 0.5812 GB, free: 3.277 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.5842, allocations: 3.938 kB / 0.5812 GB, free: 3.273 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.279e-05/0.5842, allocations: 16 kB / 0.5812 GB, free: 3.258 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-05/0.5843, allocations: 25 kB / 0.5812 GB, free: 3.234 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006784/0.585, allocations: 455.4 kB / 0.5817 GB, free: 2.789 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003272/0.5883, allocations: 2.867 MB / 0.5845 GB, free: 15.77 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003578/0.5886, allocations: 248.5 kB / 0.5847 GB, free: 15.51 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.894e-05/0.5887, allocations: 4.062 kB / 0.5847 GB, free: 15.51 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.5887, allocations: 38.72 kB / 0.5847 GB, free: 15.46 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 3.627e-06/0.5887, allocations: 3.984 kB / 0.5848 GB, free: 15.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=30): time 0.001635/0.5904, allocations: 1.048 MB / 0.5858 GB, free: 14.34 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.797e-05/0.5904, allocations: 81.23 kB / 0.5859 GB, free: 14.24 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003023/0.5908, allocations: 295.5 kB / 0.5861 GB, free: 13.94 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.5908, allocations: 33.69 kB / 0.5862 GB, free: 13.9 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001742/0.591, allocations: 267.3 kB / 0.5864 GB, free: 13.64 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/0.5911, allocations: 110.4 kB / 0.5865 GB, free: 13.53 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.041e-05/0.5911, allocations: 8 kB / 0.5865 GB, free: 13.52 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.5913, allocations: 354.7 kB / 0.5869 GB, free: 13.16 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000244/0.5915, allocations: 141 kB / 0.587 GB, free: 13.03 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003562/0.5919, allocations: 352.2 kB / 0.5873 GB, free: 12.59 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003063/0.5922, allocations: 215.8 kB / 0.5875 GB, free: 12.38 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.5922, allocations: 0 / 0.5875 GB, free: 12.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0007945/0.593, allocations: 0.5208 MB / 0.5881 GB, free: 11.86 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.789e-05/0.5931, allocations: 14.77 kB / 0.5881 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.038e-05/0.5931, allocations: 12 kB / 0.5881 GB, free: 11.83 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.349e-05/0.5931, allocations: 8 kB / 0.5881 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004099/0.5935, allocations: 115.8 kB / 0.5882 GB, free: 11.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.712e-05/0.5936, allocations: 11.94 kB / 0.5882 GB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002268/0.5938, allocations: 23.92 kB / 0.5882 GB, free: 11.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.563e-05/0.5939, allocations: 24 kB / 0.5883 GB, free: 11.65 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.0002639/0.5941, allocations: 217.5 kB / 0.5885 GB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.921e-05/0.5942, allocations: 31.62 kB / 0.5885 GB, free: 11.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006335/0.5948, allocations: 353.4 kB / 0.5888 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-05/0.5949, allocations: 4 kB / 0.5888 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.5949, allocations: 4 kB / 0.5888 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.5949, allocations: 3.984 kB / 0.5888 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001374/0.5963, allocations: 0.8716 MB / 0.5897 GB, free: 10.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.5963, allocations: 3.984 kB / 0.5897 GB, free: 10.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000311/0.5966, allocations: 63.91 kB / 0.5898 GB, free: 10.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.5966, allocations: 4 kB / 0.5898 GB, free: 10.03 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.912e-05/0.5967, allocations: 11.98 kB / 0.5898 GB, free: 10.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.5967, allocations: 0 / 0.5898 GB, free: 10.02 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.5967, allocations: 7.891 kB / 0.5898 GB, free: 10.01 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008182/0.5975, allocations: 0.6494 MB / 0.5904 GB, free: 9.305 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.725e-05/0.5976, allocations: 112.8 kB / 0.5905 GB, free: 9.176 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.628e-05/0.5977, allocations: 8 kB / 0.5905 GB, free: 9.168 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/0.5978, allocations: 15.98 kB / 0.5905 GB, free: 9.152 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.003e-05/0.5979, allocations: 19.97 kB / 0.5906 GB, free: 9.133 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.83e-05/0.5979, allocations: 8 kB / 0.5906 GB, free: 9.125 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002186/0.5982, allocations: 219 kB / 0.5908 GB, free: 8.914 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5982, allocations: 0 / 0.5908 GB, free: 8.914 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004687/0.5986, allocations: 100 kB / 0.5909 GB, free: 8.816 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.0002312/0.5989, allocations: 131 kB / 0.591 GB, free: 8.68 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006045/0.5995, allocations: 369.2 kB / 0.5914 GB, free: 8.32 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5995, allocations: 3.938 kB / 0.5914 GB, free: 8.316 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002126/0.5997, allocations: 143.8 kB / 0.5915 GB, free: 8.176 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004152/0.6001, allocations: 61.39 kB / 0.5916 GB, free: 8.117 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001771/0.6019, allocations: 1.222 MB / 0.5927 GB, free: 6.852 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006073/0.6026, allocations: 0.8631 MB / 0.5936 GB, free: 5.957 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003427/0.6029, allocations: 135.1 kB / 0.5937 GB, free: 5.824 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.664e-05/0.603, allocations: 27.44 kB / 0.5937 GB, free: 5.797 MB / 426.7 MB Notification: Performance of SimCode: time 3.4e-07/0.603, allocations: 0 / 0.5937 GB, free: 5.797 MB / 426.7 MB Notification: Performance of Templates: time 0.007069/0.6101, allocations: 2.96 MB / 0.5966 GB, free: 2.844 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/jenkins/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