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.001481/0.001481, allocations: 107.7 kB / 16.92 MB, free: 6.145 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.001593/0.001593, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.359/1.359, allocations: 222.9 MB / 241.5 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1783/0.1783, allocations: 38.05 MB / 329.7 MB, free: 8.836 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.001221, allocations: 57.69 kB / 398.8 MB, free: 34.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1158, allocations: 58.06 MB / 456.9 MB, free: 8.062 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.006069/0.1219, allocations: 4.514 MB / 461.4 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002097/0.124, allocations: 1.41 MB / 462.8 MB, free: 2.105 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001758/0.1242, allocations: 15.94 kB / 462.8 MB, free: 2.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008862/0.1251, allocations: 294.6 kB / 463.1 MB, free: 1.801 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005034/0.1256, allocations: 282.7 kB / 463.4 MB, free: 1.523 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005557/0.1262, allocations: 251.4 kB / 463.6 MB, free: 1.277 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005893/0.1268, allocations: 0.6626 MB / 464.3 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003714/0.1272, allocations: 236.3 kB / 464.5 MB, free: 388 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003229/0.1275, allocations: 294.9 kB / 464.8 MB, free: 92 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005167/0.128, allocations: 414.8 kB / 465.2 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.311e-05/0.1281, allocations: 47.94 kB / 465.2 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003831/0.1285, allocations: 227.7 kB / 465.5 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002085/0.1287, allocations: 251.3 kB / 465.7 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002628/0.129, allocations: 286.6 kB / 466 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006773/0.1297, allocations: 0.736 MB / 466.7 MB, free: 14.15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.1297, allocations: 0 / 466.7 MB, free: 14.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1297, allocations: 0 / 466.7 MB, free: 14.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.1297, allocations: 0 / 466.7 MB, free: 14.15 MB / 350.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.001397/0.1311, allocations: 0.8884 MB / 467.6 MB, free: 13.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.1312, allocations: 11.89 kB / 467.6 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005277/0.1317, allocations: 92.22 kB / 467.7 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005464/0.1322, allocations: 415.9 kB / 468.1 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.849e-05/0.1323, allocations: 37.34 kB / 468.2 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.953e-05/0.1324, allocations: 40.12 kB / 468.2 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/0.1335, allocations: 0.8707 MB / 469.1 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.1335, allocations: 0 / 469.1 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.136e-05/0.1335, allocations: 12 kB / 469.1 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001373/0.1337, allocations: 68.95 kB / 469.2 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/0.1348, allocations: 0.7885 MB / 469.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003223/0.138, allocations: 2.729 MB / 472.7 MB, free: 7.926 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007767/0.1388, allocations: 0.5837 MB / 473.3 MB, free: 7.324 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000472/0.1393, allocations: 458.6 kB / 473.7 MB, free: 6.871 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.435e-05/0.1393, allocations: 4 kB / 473.7 MB, free: 6.867 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.1393, allocations: 34.56 kB / 473.7 MB, free: 6.824 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 1.874e-06/0.1394, allocations: 3.938 kB / 473.7 MB, free: 6.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=57): time 0.002626/0.142, allocations: 1.887 MB / 475.6 MB, free: 4.891 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.749e-05/0.1421, allocations: 138.8 kB / 475.8 MB, free: 4.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002627/0.1424, allocations: 296.5 kB / 476.1 MB, free: 4.438 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.68e-05/0.1424, allocations: 33.7 kB / 476.1 MB, free: 4.398 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.1425, allocations: 252.3 kB / 476.3 MB, free: 4.145 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/0.1427, allocations: 189.3 kB / 476.5 MB, free: 3.957 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001489/0.1428, allocations: 102.1 kB / 476.6 MB, free: 3.852 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.143, allocations: 354.7 kB / 477 MB, free: 3.496 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004149/0.1434, allocations: 348.8 kB / 477.3 MB, free: 3.156 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005018/0.1439, allocations: 485.8 kB / 477.8 MB, free: 2.617 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/0.1449, allocations: 0.972 MB / 478.8 MB, free: 1.574 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1449, allocations: 0 / 478.8 MB, free: 1.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001263/0.1462, allocations: 0.9805 MB / 479.7 MB, free: 0.582 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.579e-05/0.1463, allocations: 78.16 kB / 479.8 MB, free: 0.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.1463, allocations: 12 kB / 479.8 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001789/0.1465, allocations: 40.78 kB / 479.9 MB, free: 456 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003333/0.1469, allocations: 87.81 kB / 479.9 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001273/0.1481, allocations: 1.555 MB / 481.5 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003055/0.1485, allocations: 35.97 kB / 481.5 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.134e-05/0.1485, allocations: 23.98 kB / 481.6 MB, free: 14.61 MB / 366.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.0003798/0.1489, allocations: 303.3 kB / 481.9 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.1491, allocations: 47.52 kB / 481.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001507/0.1506, allocations: 1.076 MB / 483 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.155e-05/0.1506, allocations: 12 kB / 483 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/0.1506, allocations: 0 / 483 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.1506, allocations: 7.922 kB / 483 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002463/0.1531, allocations: 1.792 MB / 484.8 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.1531, allocations: 4 kB / 484.8 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000254/0.1534, allocations: 55.89 kB / 484.8 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.804e-05/0.1535, allocations: 28.84 kB / 484.9 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.825e-05/0.1535, allocations: 19.98 kB / 484.9 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001132/0.1547, allocations: 1.547 MB / 486.4 MB, free: 9.477 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1547, allocations: 4.062 kB / 486.4 MB, free: 9.473 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001377/0.1561, allocations: 1.179 MB / 487.6 MB, free: 8.254 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002155/0.1563, allocations: 180.5 kB / 487.8 MB, free: 8.059 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.57e-05/0.1564, allocations: 16 kB / 487.8 MB, free: 8.043 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002487/0.1566, allocations: 27.97 kB / 487.8 MB, free: 8.016 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/0.1568, allocations: 43.83 kB / 487.9 MB, free: 7.973 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.584e-05/0.1568, allocations: 23.98 kB / 487.9 MB, free: 7.949 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001811/0.157, allocations: 203.1 kB / 488.1 MB, free: 7.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.324e-06/0.157, allocations: 0 / 488.1 MB, free: 7.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008437/0.1579, allocations: 143.9 kB / 488.3 MB, free: 7.609 MB / 366.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.0003585/0.1582, allocations: 147.1 kB / 488.4 MB, free: 7.453 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002742/0.161, allocations: 1.492 MB / 489.9 MB, free: 5.938 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.161, allocations: 4 kB / 489.9 MB, free: 5.934 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001323/0.1623, allocations: 0.9242 MB / 490.8 MB, free: 4.984 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007535/0.1631, allocations: 74.44 kB / 490.9 MB, free: 4.914 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002849/0.166, allocations: 1.397 MB / 492.3 MB, free: 3.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006949/0.1667, allocations: 0.9054 MB / 493.2 MB, free: 2.547 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000393/0.1671, allocations: 95.2 kB / 493.3 MB, free: 2.453 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.1672, allocations: 31.42 kB / 493.3 MB, free: 2.422 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1672, allocations: 0 / 493.3 MB, free: 2.422 MB / 366.1 MB Notification: Performance of Templates: time 0.01552/0.1828, allocations: 5.941 MB / 499.3 MB, free: 12.51 MB / 382.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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Sensor.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches