Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.Units.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.Units,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter_SI.i.1.|meter_SI.i.2.|meter_SI.i.3.|meter_SI.p.1.|meter_SI.p.2.|meter_SI.p.3.|meter_SI.v.1.|meter_SI.v.2.|meter_SI.v.3.|meter_pu.i.1.|meter_pu.i.2.|meter_pu.i.3.|meter_pu.p.1.|meter_pu.p.2.|meter_pu.p.3.|meter_pu.v.1.|meter_pu.v.2.|meter_pu.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Units") translateModel(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter_SI.i.1.|meter_SI.i.2.|meter_SI.i.3.|meter_SI.p.1.|meter_SI.p.2.|meter_SI.p.3.|meter_SI.v.1.|meter_SI.v.2.|meter_SI.v.3.|meter_pu.i.1.|meter_pu.i.2.|meter_pu.i.3.|meter_pu.p.1.|meter_pu.p.2.|meter_pu.p.3.|meter_pu.v.1.|meter_pu.v.2.|meter_pu.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Units") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001321/0.001321, allocations: 177.1 kB / 13.64 MB, free: 1.672 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.391/1.391, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.0007869/0.000787, allocations: 98.58 kB / 267.5 MB, free: 14.1 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1918/0.1918, allocations: 37.97 MB / 353.5 MB, free: 1.754 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.658e-05/3.661e-05, allocations: 7.984 kB / 417.7 MB, free: 29.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1201, allocations: 56.32 MB / 474 MB, free: 4.82 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4282/0.5483, allocations: 99.3 MB / 0.5599 GB, free: 3.613 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002365/0.5486, allocations: 81.27 kB / 0.56 GB, free: 3.574 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05221/0.6009, allocations: 19.29 MB / 0.5788 GB, free: 2.961 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.839e-06/0.6009, allocations: 4 kB / 0.5788 GB, free: 2.957 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.595e-05/0.6009, allocations: 12 kB / 0.5788 GB, free: 2.945 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.00164/0.6026, allocations: 0.9005 MB / 0.5797 GB, free: 2.043 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.6027, allocations: 8.031 kB / 0.5797 GB, free: 2.035 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006973/0.6034, allocations: 146.9 kB / 0.5799 GB, free: 1.891 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002032/0.6054, allocations: 0.8598 MB / 0.5807 GB, free: 1.133 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.666e-05/0.6055, allocations: 57.94 kB / 0.5808 GB, free: 1.098 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/0.6056, allocations: 72.62 kB / 0.5808 GB, free: 1.051 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/0.6072, allocations: 1.09 MB / 0.5819 GB, free: 140 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.774e-05/0.6072, allocations: 3.938 kB / 0.5819 GB, free: 136 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.865e-05/0.6073, allocations: 41.55 kB / 0.5819 GB, free: 120 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.78e-05/0.6074, allocations: 41.98 kB / 0.582 GB, free: 76 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001154/0.6085, allocations: 0.7876 MB / 0.5828 GB, free: 15.51 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005314/0.6139, allocations: 5.005 MB / 0.5876 GB, free: 10.81 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006558/0.6146, allocations: 397.2 kB / 0.588 GB, free: 10.5 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002812/0.6149, allocations: 213.5 kB / 0.5882 GB, free: 10.36 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.811e-05/0.6149, allocations: 12.31 kB / 0.5882 GB, free: 10.35 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/0.615, allocations: 42.83 kB / 0.5883 GB, free: 10.3 MB / 394.7 MB Notification: Performance of pre-optimization done (n=47): time 3.938e-06/0.615, allocations: 0 / 0.5883 GB, free: 10.3 MB / 394.7 MB Notification: Performance of matching and sorting (n=48): time 0.001721/0.6167, allocations: 0.9159 MB / 0.5892 GB, free: 9.551 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.551e-05/0.6168, allocations: 81.11 kB / 0.5892 GB, free: 9.453 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005111/0.6173, allocations: 436.3 kB / 0.5897 GB, free: 9.098 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.155e-05/0.6173, allocations: 33.64 kB / 0.5897 GB, free: 9.062 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002648/0.6176, allocations: 453.9 kB / 0.5901 GB, free: 8.691 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001293/0.6178, allocations: 168.8 kB / 0.5903 GB, free: 8.547 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.562e-05/0.6178, allocations: 19.28 kB / 0.5903 GB, free: 8.539 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.6179, allocations: 369.8 kB / 0.5907 GB, free: 8.191 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003167/0.6183, allocations: 238.5 kB / 0.5909 GB, free: 8.023 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005513/0.6188, allocations: 0.6078 MB / 0.5915 GB, free: 7.316 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004956/0.6193, allocations: 366.7 kB / 0.5918 GB, free: 7.043 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.6193, allocations: 4 kB / 0.5918 GB, free: 7.039 MB / 394.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001239/0.6206, allocations: 0.882 MB / 0.5927 GB, free: 6.324 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.6206, allocations: 16.03 kB / 0.5927 GB, free: 6.309 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-05/0.6207, allocations: 19.95 kB / 0.5927 GB, free: 6.289 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.063e-05/0.6207, allocations: 20 kB / 0.5928 GB, free: 6.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006643/0.6214, allocations: 202.1 kB / 0.5929 GB, free: 6.078 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.722e-05/0.6214, allocations: 27.92 kB / 0.593 GB, free: 6.051 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004374/0.6219, allocations: 54 kB / 0.593 GB, free: 6.012 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.448e-05/0.6219, allocations: 39.75 kB / 0.5931 GB, free: 5.977 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 95 * Array equations: 2 * 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.0001564/0.6221, allocations: 161.8 kB / 0.5932 GB, free: 5.832 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.959e-05/0.6222, allocations: 59.33 kB / 0.5933 GB, free: 5.773 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009982/0.6232, allocations: 0.5476 MB / 0.5938 GB, free: 5.375 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.102e-05/0.6232, allocations: 11.95 kB / 0.5938 GB, free: 5.363 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.6232, allocations: 4 kB / 0.5938 GB, free: 5.359 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.6233, allocations: 3.984 kB / 0.5938 GB, free: 5.355 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002022/0.6253, allocations: 1.331 MB / 0.5951 GB, free: 4.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.6253, allocations: 0 / 0.5951 GB, free: 4.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004173/0.6257, allocations: 111.4 kB / 0.5952 GB, free: 4.125 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.198e-06/0.6257, allocations: 8 kB / 0.5952 GB, free: 4.117 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.192e-05/0.6258, allocations: 14.98 kB / 0.5953 GB, free: 4.109 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.133e-06/0.6258, allocations: 7.938 kB / 0.5953 GB, free: 4.102 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.6258, allocations: 4 kB / 0.5953 GB, free: 4.098 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009216/0.6267, allocations: 0.7702 MB / 0.596 GB, free: 3.359 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000133/0.6269, allocations: 124.1 kB / 0.5961 GB, free: 3.223 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.702e-05/0.627, allocations: 21.62 kB / 0.5962 GB, free: 3.207 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002676/0.6272, allocations: 25.91 kB / 0.5962 GB, free: 3.188 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.837e-05/0.6273, allocations: 31.03 kB / 0.5962 GB, free: 3.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.908e-05/0.6273, allocations: 14.86 kB / 0.5962 GB, free: 3.148 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003864/0.6277, allocations: 324.7 kB / 0.5965 GB, free: 2.895 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.563e-06/0.6277, allocations: 0 / 0.5965 GB, free: 2.895 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008575/0.6286, allocations: 186.9 kB / 0.5967 GB, free: 2.73 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * Array equations: 2 * 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.0002741/0.6289, allocations: 145.8 kB / 0.5968 GB, free: 2.586 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009575/0.6299, allocations: 0.6116 MB / 0.5974 GB, free: 2.121 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.6299, allocations: 4.062 kB / 0.5975 GB, free: 2.117 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003251/0.6302, allocations: 254 kB / 0.5977 GB, free: 1.938 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005323/0.6307, allocations: 97.67 kB / 0.5978 GB, free: 1.871 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001918/0.6327, allocations: 1.053 MB / 0.5988 GB, free: 0.8906 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006464/0.6333, allocations: 1.02 MB / 0.5998 GB, free: 15.88 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005918/0.6339, allocations: 220.9 kB / 0.6 GB, free: 15.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001275/0.6341, allocations: 50.81 kB / 0.6001 GB, free: 15.62 MB / 410.7 MB Notification: Performance of SimCode: time 1.112e-06/0.6341, allocations: 0 / 0.6001 GB, free: 15.62 MB / 410.7 MB Notification: Performance of Templates: time 0.01149/0.6456, allocations: 5.016 MB / 0.605 GB, free: 10.62 MB / 410.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.Units.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.Units.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.Units.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.Units.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.Units.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.Units -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.Units.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.Units_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Units.mat","../files/PowerSystems_latest_PowerSystems.Examples.Introductory.Units.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches