Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.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.Elementary.Sensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor") translateModel(PowerSystems.Examples.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001459/0.001465, allocations: 111.1 kB / 17.74 MB, free: 5.312 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.001679/0.00168, allocations: 188.2 kB / 18.67 MB, free: 4.395 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.367/1.367, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1781/0.1781, allocations: 38.04 MB / 330.6 MB, free: 8.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 67.89 kB / 458.8 MB, free: 6.828 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.371/0.3723, allocations: 58.05 MB / 0.5048 GB, free: 7.824 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.005276/0.3776, allocations: 4.512 MB / 0.5092 GB, free: 4.695 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002187/0.3798, allocations: 1.401 MB / 0.5105 GB, free: 3.723 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002139/0.3801, allocations: 17 kB / 0.5105 GB, free: 3.715 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000813/0.3809, allocations: 292.6 kB / 0.5108 GB, free: 3.539 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005931/0.3815, allocations: 283.3 kB / 0.5111 GB, free: 3.379 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000698/0.3822, allocations: 253 kB / 0.5113 GB, free: 3.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007392/0.383, allocations: 0.6637 MB / 0.512 GB, free: 2.988 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004188/0.3834, allocations: 249.2 kB / 0.5122 GB, free: 2.887 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004131/0.3838, allocations: 305.4 kB / 0.5125 GB, free: 2.758 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006406/0.3845, allocations: 412.8 kB / 0.5129 GB, free: 2.621 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.292e-05/0.3846, allocations: 45.62 kB / 0.513 GB, free: 2.621 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004608/0.385, allocations: 217.3 kB / 0.5132 GB, free: 2.566 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002841/0.3853, allocations: 252.4 kB / 0.5134 GB, free: 2.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002981/0.3856, allocations: 285.9 kB / 0.5137 GB, free: 2.316 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009251/0.3866, allocations: 0.7607 MB / 0.5144 GB, free: 2.031 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3866, allocations: 0 / 0.5144 GB, free: 2.031 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3866, allocations: 0 / 0.5144 GB, free: 2.031 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.683e-05/0.3866, allocations: 1.188 kB / 0.5144 GB, free: 2.031 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.001514/0.3881, allocations: 0.8786 MB / 0.5153 GB, free: 1.383 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.3882, allocations: 14.97 kB / 0.5153 GB, free: 1.379 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005791/0.3888, allocations: 100.1 kB / 0.5154 GB, free: 1.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005956/0.3894, allocations: 441.4 kB / 0.5158 GB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.038e-05/0.3894, allocations: 30.17 kB / 0.5158 GB, free: 1.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.73e-05/0.3895, allocations: 42.44 kB / 0.5159 GB, free: 1.004 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001372/0.3909, allocations: 0.8597 MB / 0.5167 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.3909, allocations: 5.984 kB / 0.5167 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.785e-05/0.391, allocations: 21.08 kB / 0.5167 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000151/0.3912, allocations: 59.27 kB / 0.5168 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001333/0.3925, allocations: 0.7978 MB / 0.5176 GB, free: 384 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003542/0.396, allocations: 2.722 MB / 0.5202 GB, free: 14.52 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008821/0.3969, allocations: 0.573 MB / 0.5208 GB, free: 14.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005475/0.3975, allocations: 460.7 kB / 0.5212 GB, free: 14.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.534e-05/0.3976, allocations: 4.531 kB / 0.5212 GB, free: 14.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.3976, allocations: 41.5 kB / 0.5213 GB, free: 14.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=56): time 2.294e-06/0.3976, allocations: 1.188 kB / 0.5213 GB, free: 14.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=57): time 0.002903/0.4005, allocations: 1.876 MB / 0.5231 GB, free: 13.23 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.894e-05/0.4006, allocations: 143.1 kB / 0.5232 GB, free: 13.1 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003374/0.401, allocations: 295.7 kB / 0.5235 GB, free: 12.94 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.421e-05/0.401, allocations: 36.19 kB / 0.5236 GB, free: 12.9 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/0.4012, allocations: 259.7 kB / 0.5238 GB, free: 12.69 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001562/0.4014, allocations: 181.2 kB / 0.524 GB, free: 12.55 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001812/0.4016, allocations: 103.4 kB / 0.5241 GB, free: 12.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.4017, allocations: 354.5 kB / 0.5244 GB, free: 12.16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004973/0.4022, allocations: 340.3 kB / 0.5247 GB, free: 12.07 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005843/0.4028, allocations: 484.8 kB / 0.5252 GB, free: 11.81 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/0.404, allocations: 0.9889 MB / 0.5262 GB, free: 11.3 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.4041, allocations: 1.281 kB / 0.5262 GB, free: 11.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001465/0.4055, allocations: 0.9838 MB / 0.5271 GB, free: 10.92 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.331e-05/0.4056, allocations: 76.36 kB / 0.5272 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.4056, allocations: 5.078 kB / 0.5272 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001998/0.4059, allocations: 41.83 kB / 0.5273 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004202/0.4063, allocations: 85.33 kB / 0.5273 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001303/0.4076, allocations: 1.546 MB / 0.5288 GB, free: 9.395 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003379/0.408, allocations: 30.06 kB / 0.5289 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-05/0.408, allocations: 30.61 kB / 0.5289 GB, free: 9.383 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (voltage.h_mod3[3],voltage.h_mod3[2],voltage.h_mod3[1],system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004202/0.4085, allocations: 310.3 kB / 0.5292 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.4086, allocations: 53.23 kB / 0.5292 GB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001661/0.4102, allocations: 1.077 MB / 0.5303 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.613e-05/0.4103, allocations: 13.25 kB / 0.5303 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.4103, allocations: 0 / 0.5303 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.4103, allocations: 6.828 kB / 0.5303 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002656/0.413, allocations: 1.794 MB / 0.5321 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.413, allocations: 5.031 kB / 0.5321 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002654/0.4133, allocations: 54.61 kB / 0.5321 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001086/0.4134, allocations: 33.77 kB / 0.5322 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.414e-05/0.4134, allocations: 17.08 kB / 0.5322 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001198/0.4146, allocations: 1.547 MB / 0.5337 GB, free: 6.41 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/0.4147, allocations: 1.188 kB / 0.5337 GB, free: 6.41 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001492/0.4161, allocations: 1.171 MB / 0.5348 GB, free: 5.773 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002263/0.4164, allocations: 175.7 kB / 0.535 GB, free: 5.625 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.455e-05/0.4165, allocations: 15.84 kB / 0.535 GB, free: 5.617 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002653/0.4167, allocations: 38.27 kB / 0.5351 GB, free: 5.594 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/0.4169, allocations: 43.59 kB / 0.5351 GB, free: 5.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.748e-05/0.4169, allocations: 18.31 kB / 0.5351 GB, free: 5.566 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002113/0.4172, allocations: 202.9 kB / 0.5353 GB, free: 5.426 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4172, allocations: 0 / 0.5353 GB, free: 5.426 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006738/0.4178, allocations: 140.5 kB / 0.5354 GB, free: 5.414 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (system.initime,voltage.h_mod3[1],voltage.h_mod3[2],voltage.h_mod3[3]) * Number of discrete states: 3 (voltage.h_mod3[3],voltage.h_mod3[2],voltage.h_mod3[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 25 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003117/0.4182, allocations: 165.2 kB / 0.5356 GB, free: 5.277 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00177/0.4199, allocations: 1.369 MB / 0.5369 GB, free: 4.516 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.42, allocations: 4.125 kB / 0.5369 GB, free: 4.512 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001504/0.4215, allocations: 0.9174 MB / 0.5378 GB, free: 3.941 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005835/0.4221, allocations: 74.91 kB / 0.5379 GB, free: 3.906 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002809/0.4249, allocations: 1.43 MB / 0.5393 GB, free: 3.113 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006584/0.4256, allocations: 0.9021 MB / 0.5402 GB, free: 2.316 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001678/0.4257, allocations: 37.14 kB / 0.5402 GB, free: 2.301 MB / 398.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4258, allocations: 0 / 0.5402 GB, free: 2.301 MB / 398.1 MB Notification: Performance of Templates: time 0.01688/0.4426, allocations: 8.482 MB / 0.5485 GB, free: 10.68 MB / 414.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Sensor.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches