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.001412/0.001412, allocations: 176.4 kB / 8.346 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.376/1.376, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000856/0.000856, allocations: 87.31 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1775/0.1775, allocations: 37.99 MB / 348 MB, free: 7.766 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.678e-05/1.681e-05, allocations: 4 kB / 410.6 MB, free: 46.96 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1138, allocations: 56.33 MB / 466.9 MB, free: 6.566 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4238/0.5377, allocations: 98.64 MB / 0.5523 GB, free: 12.28 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002479/0.538, allocations: 75.97 kB / 0.5524 GB, free: 12.2 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.05063/0.5886, allocations: 19.15 MB / 0.571 GB, free: 8.863 MB / 411.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.5887, allocations: 0 / 0.571 GB, free: 8.863 MB / 411.1 MB Notification: Performance of Transformations before backend: time 4.347e-05/0.5888, allocations: 19.94 kB / 0.5711 GB, free: 8.844 MB / 411.1 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.5904, allocations: 0.9007 MB / 0.5719 GB, free: 7.895 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.497e-05/0.5905, allocations: 12.03 kB / 0.572 GB, free: 7.883 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006787/0.5912, allocations: 134.9 kB / 0.5721 GB, free: 7.75 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001861/0.593, allocations: 0.8673 MB / 0.5729 GB, free: 6.836 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.476e-05/0.5931, allocations: 24 kB / 0.573 GB, free: 6.812 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.638e-05/0.5932, allocations: 44 kB / 0.573 GB, free: 6.77 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001098/0.5943, allocations: 0.6676 MB / 0.5737 GB, free: 6.102 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001342/0.5956, allocations: 0.9818 MB / 0.5746 GB, free: 5.02 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.169e-05/0.5957, allocations: 7.938 kB / 0.5746 GB, free: 5.012 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.463e-05/0.5957, allocations: 4 kB / 0.5746 GB, free: 5.008 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.92e-05/0.5958, allocations: 54.72 kB / 0.5747 GB, free: 4.957 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004829/0.6007, allocations: 4.85 MB / 0.5794 GB, free: 15.88 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005843/0.6013, allocations: 377.7 kB / 0.5798 GB, free: 15.49 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002515/0.6015, allocations: 198.4 kB / 0.58 GB, free: 15.29 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.43e-05/0.6016, allocations: 12.33 kB / 0.58 GB, free: 15.28 MB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.6016, allocations: 38.88 kB / 0.58 GB, free: 15.23 MB / 427.1 MB Notification: Performance of pre-optimization done (n=47): time 2.946e-06/0.6016, allocations: 0 / 0.58 GB, free: 15.23 MB / 427.1 MB Notification: Performance of matching and sorting (n=48): time 0.001684/0.6033, allocations: 0.9005 MB / 0.5809 GB, free: 14.32 MB / 427.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.592e-05/0.6034, allocations: 85.05 kB / 0.581 GB, free: 14.22 MB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004254/0.6038, allocations: 396.9 kB / 0.5813 GB, free: 13.83 MB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 2.95e-05/0.6039, allocations: 25.7 kB / 0.5814 GB, free: 13.8 MB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002851/0.6042, allocations: 457.8 kB / 0.5818 GB, free: 13.34 MB / 427.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/0.6043, allocations: 165.6 kB / 0.582 GB, free: 13.18 MB / 427.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.38e-05/0.6043, allocations: 0 / 0.582 GB, free: 13.18 MB / 427.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.6045, allocations: 366.8 kB / 0.5823 GB, free: 12.81 MB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002907/0.6048, allocations: 218 kB / 0.5825 GB, free: 12.6 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005762/0.6054, allocations: 0.5928 MB / 0.5831 GB, free: 11.83 MB / 427.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005066/0.6059, allocations: 355.6 kB / 0.5834 GB, free: 11.48 MB / 427.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.982e-06/0.6059, allocations: 4 kB / 0.5834 GB, free: 11.48 MB / 427.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001134/0.607, allocations: 0.802 MB / 0.5842 GB, free: 10.67 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/0.6071, allocations: 15.98 kB / 0.5842 GB, free: 10.65 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.91e-05/0.6071, allocations: 12 kB / 0.5843 GB, free: 10.64 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.07e-05/0.6071, allocations: 20 kB / 0.5843 GB, free: 10.62 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000639/0.6078, allocations: 199.6 kB / 0.5845 GB, free: 10.43 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.436e-05/0.6078, allocations: 35.81 kB / 0.5845 GB, free: 10.39 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003692/0.6082, allocations: 28.22 kB / 0.5845 GB, free: 10.36 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.709e-05/0.6083, allocations: 48 kB / 0.5846 GB, free: 10.32 MB / 427.1 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.0001379/0.6084, allocations: 132.7 kB / 0.5847 GB, free: 10.18 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.694e-05/0.6085, allocations: 51.34 kB / 0.5847 GB, free: 10.13 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001082/0.6096, allocations: 0.5262 MB / 0.5853 GB, free: 9.594 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.947e-05/0.6096, allocations: 12 kB / 0.5853 GB, free: 9.582 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.6096, allocations: 4 kB / 0.5853 GB, free: 9.578 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.6097, allocations: 7.938 kB / 0.5853 GB, free: 9.57 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002244/0.6119, allocations: 1.195 MB / 0.5865 GB, free: 8.309 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.6119, allocations: 7.984 kB / 0.5865 GB, free: 8.301 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004103/0.6123, allocations: 107.9 kB / 0.5866 GB, free: 8.195 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.6124, allocations: 4 kB / 0.5866 GB, free: 8.191 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.511e-05/0.6124, allocations: 7.984 kB / 0.5866 GB, free: 8.184 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.283e-06/0.6124, allocations: 4 kB / 0.5866 GB, free: 8.18 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.787e-06/0.6124, allocations: 3.938 kB / 0.5866 GB, free: 8.176 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/0.6136, allocations: 0.7545 MB / 0.5873 GB, free: 7.32 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001754/0.6138, allocations: 132.4 kB / 0.5874 GB, free: 7.172 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.964e-05/0.6139, allocations: 4 kB / 0.5874 GB, free: 7.168 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004019/0.6143, allocations: 23.97 kB / 0.5875 GB, free: 7.145 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.003e-05/0.6144, allocations: 39.84 kB / 0.5875 GB, free: 7.105 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.553e-05/0.6145, allocations: 16 kB / 0.5875 GB, free: 7.09 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.0003549/0.6148, allocations: 282.9 kB / 0.5878 GB, free: 6.812 MB / 427.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6148, allocations: 3.938 kB / 0.5878 GB, free: 6.809 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.001087/0.6159, allocations: 160 kB / 0.588 GB, free: 6.652 MB / 427.1 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.0003355/0.6163, allocations: 144.9 kB / 0.5881 GB, free: 6.5 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.001244/0.6175, allocations: 0.5643 MB / 0.5886 GB, free: 5.938 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.6176, allocations: 0 / 0.5886 GB, free: 5.938 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004814/0.6181, allocations: 236.4 kB / 0.5889 GB, free: 5.707 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008339/0.6189, allocations: 95.83 kB / 0.589 GB, free: 5.617 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004173/0.6231, allocations: 1.019 MB / 0.59 GB, free: 4.539 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001103/0.6242, allocations: 1.02 MB / 0.5909 GB, free: 3.492 MB / 427.1 MB Notification: Performance of simCode: alias equations: time 0.0009225/0.6252, allocations: 216.8 kB / 0.5912 GB, free: 3.281 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001775/0.6254, allocations: 43.44 kB / 0.5912 GB, free: 3.238 MB / 427.1 MB Notification: Performance of SimCode: time 2.334e-06/0.6254, allocations: 0 / 0.5912 GB, free: 3.238 MB / 427.1 MB Notification: Performance of Templates: time 0.01323/0.6386, allocations: 4.75 MB / 0.5958 GB, free: 14.49 MB / 443.1 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