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.001582/0.001582, allocations: 110.7 kB / 16.51 MB, free: 6.715 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.001726/0.001726, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.472/1.472, allocations: 222.9 MB / 241.1 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1784/0.1784, allocations: 38.04 MB / 329.3 MB, free: 9.059 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 65.78 kB / 398.1 MB, free: 34.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1047, allocations: 58.06 MB / 456.2 MB, free: 8.531 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.007733/0.1125, allocations: 5.158 MB / 461.3 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00319/0.1157, allocations: 1.613 MB / 462.9 MB, free: 1.723 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005466/0.1163, allocations: 23.88 kB / 463 MB, free: 1.699 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001074/0.1174, allocations: 274.9 kB / 463.2 MB, free: 1.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001012/0.1184, allocations: 266.9 kB / 463.5 MB, free: 1.168 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009654/0.1194, allocations: 227.6 kB / 463.7 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001444/0.1208, allocations: 1.006 MB / 464.7 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007145/0.1216, allocations: 224.3 kB / 464.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007315/0.1223, allocations: 254.9 kB / 465.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008652/0.1232, allocations: 426.7 kB / 465.6 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001441/0.1234, allocations: 28 kB / 465.6 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005714/0.1239, allocations: 227.6 kB / 465.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002853/0.1242, allocations: 235.4 kB / 466.1 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004424/0.1247, allocations: 266.5 kB / 466.3 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001198/0.1259, allocations: 0.7282 MB / 467.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1259, allocations: 0 / 467.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1259, allocations: 4 kB / 467.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.95e-05/0.126, allocations: 0 / 467.1 MB, free: 13.57 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.002165/0.1281, allocations: 0.8845 MB / 468 MB, free: 12.63 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.1282, allocations: 8.031 kB / 468 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006279/0.1288, allocations: 96.12 kB / 468.1 MB, free: 12.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006994/0.1295, allocations: 420 kB / 468.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.931e-05/0.1296, allocations: 25.38 kB / 468.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.637e-05/0.1297, allocations: 44.12 kB / 468.5 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001287/0.131, allocations: 0.8668 MB / 469.4 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.131, allocations: 3.906 kB / 469.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.811e-05/0.1311, allocations: 16 kB / 469.4 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001396/0.1312, allocations: 60.95 kB / 469.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001183/0.1324, allocations: 0.7924 MB / 470.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004101/0.1365, allocations: 2.722 MB / 473 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.1376, allocations: 0.5915 MB / 473.6 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000578/0.1382, allocations: 454.7 kB / 474 MB, free: 6.301 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.038e-05/0.1382, allocations: 4 kB / 474 MB, free: 6.297 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.15e-05/0.1383, allocations: 42.56 kB / 474.1 MB, free: 6.246 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 2.945e-06/0.1383, allocations: 0 / 474.1 MB, free: 6.246 MB / 350.1 MB Notification: Performance of matching and sorting (n=57): time 0.002964/0.1413, allocations: 1.879 MB / 476 MB, free: 4.328 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/0.1414, allocations: 138.8 kB / 476.1 MB, free: 4.168 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003064/0.1417, allocations: 296.6 kB / 476.4 MB, free: 3.871 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.787e-05/0.1418, allocations: 33.7 kB / 476.4 MB, free: 3.832 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.1419, allocations: 260.2 kB / 476.7 MB, free: 3.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001443/0.1421, allocations: 189.3 kB / 476.9 MB, free: 3.383 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001874/0.1423, allocations: 102 kB / 477 MB, free: 3.277 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.1424, allocations: 354.7 kB / 477.3 MB, free: 2.922 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004929/0.1429, allocations: 344.8 kB / 477.6 MB, free: 2.586 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005804/0.1435, allocations: 485.8 kB / 478.1 MB, free: 2.047 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001163/0.1447, allocations: 0.9838 MB / 479.1 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.1447, allocations: 7.938 kB / 479.1 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001456/0.1462, allocations: 0.9809 MB / 480.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.889e-05/0.1463, allocations: 77.59 kB / 480.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.1463, allocations: 4 kB / 480.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001807/0.1465, allocations: 32.84 kB / 480.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003415/0.1468, allocations: 95.8 kB / 480.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001219/0.1481, allocations: 1.433 MB / 481.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003295/0.1484, allocations: 39.97 kB / 481.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.24e-05/0.1485, allocations: 27.98 kB / 481.8 MB, free: 14.14 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.0003751/0.1489, allocations: 299.3 kB / 482.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/0.149, allocations: 47.52 kB / 482.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001539/0.1505, allocations: 1.076 MB / 483.2 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.127e-05/0.1506, allocations: 8 kB / 483.2 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1506, allocations: 0 / 483.2 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.1506, allocations: 11.92 kB / 483.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002497/0.1531, allocations: 1.792 MB / 485 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.1531, allocations: 4 kB / 485 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002826/0.1534, allocations: 55.89 kB / 485.1 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001109/0.1535, allocations: 36.84 kB / 485.1 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.504e-05/0.1536, allocations: 11.98 kB / 485.1 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001159/0.1547, allocations: 1.441 MB / 486.6 MB, free: 9.129 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.1548, allocations: 3.938 kB / 486.6 MB, free: 9.125 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00151/0.1563, allocations: 1.183 MB / 487.7 MB, free: 7.902 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002384/0.1565, allocations: 180.4 kB / 487.9 MB, free: 7.707 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.171e-05/0.1566, allocations: 12 kB / 487.9 MB, free: 7.695 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002645/0.1569, allocations: 23.97 kB / 488 MB, free: 7.672 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/0.157, allocations: 43.95 kB / 488 MB, free: 7.629 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.703e-05/0.1571, allocations: 19.98 kB / 488 MB, free: 7.609 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001952/0.1573, allocations: 203.1 kB / 488.2 MB, free: 7.414 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1573, allocations: 0 / 488.2 MB, free: 7.414 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005973/0.1579, allocations: 140 kB / 488.4 MB, free: 7.277 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.0002703/0.1582, allocations: 151.1 kB / 488.5 MB, free: 7.117 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00171/0.1599, allocations: 1.366 MB / 489.9 MB, free: 5.727 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1599, allocations: 0 / 489.9 MB, free: 5.727 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009971/0.1609, allocations: 0.9253 MB / 490.8 MB, free: 4.777 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005498/0.1615, allocations: 73.06 kB / 490.9 MB, free: 4.703 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002145/0.1636, allocations: 1.625 MB / 492.5 MB, free: 3.043 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004719/0.1641, allocations: 0.9016 MB / 493.4 MB, free: 2.117 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002757/0.1644, allocations: 103.2 kB / 493.5 MB, free: 2.016 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.325e-05/0.1645, allocations: 27.44 kB / 493.5 MB, free: 1.988 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1645, allocations: 0 / 493.5 MB, free: 1.988 MB / 366.1 MB Notification: Performance of Templates: time 0.01052/0.175, allocations: 5.693 MB / 499.2 MB, free: 12.33 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