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.00151/0.00151, allocations: 105.5 kB / 17.59 MB, free: 5.438 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.001779/0.001779, allocations: 187.3 kB / 18.51 MB, free: 4.52 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.265/1.265, allocations: 222.9 MB / 242.2 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1763/0.1763, allocations: 38.03 MB / 330.4 MB, free: 8.855 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 60.66 kB / 399.5 MB, free: 34.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09276/0.09404, allocations: 58.06 MB / 457.5 MB, free: 8.082 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.005745/0.09983, allocations: 4.51 MB / 462.1 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002074/0.1019, allocations: 1.402 MB / 463.5 MB, free: 2.137 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001641/0.1021, allocations: 11.94 kB / 463.5 MB, free: 2.125 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008218/0.1029, allocations: 298.5 kB / 463.8 MB, free: 1.832 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000531/0.1035, allocations: 286.7 kB / 464 MB, free: 1.551 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000551/0.104, allocations: 247.4 kB / 464.3 MB, free: 1.309 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005916/0.1046, allocations: 0.6665 MB / 464.9 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003714/0.105, allocations: 240.3 kB / 465.2 MB, free: 412 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003783/0.1054, allocations: 294.9 kB / 465.5 MB, free: 116 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000533/0.106, allocations: 422.7 kB / 465.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.904e-05/0.106, allocations: 44 kB / 465.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003932/0.1064, allocations: 223.7 kB / 466.1 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002133/0.1067, allocations: 247.4 kB / 466.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002741/0.107, allocations: 286.5 kB / 466.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006929/0.1077, allocations: 0.7399 MB / 467.4 MB, free: 14.17 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.1077, allocations: 4 kB / 467.4 MB, free: 14.17 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.1077, allocations: 0 / 467.4 MB, free: 14.17 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.817e-06/0.1077, allocations: 4 kB / 467.4 MB, free: 14.16 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.001516/0.1092, allocations: 0.8805 MB / 468.3 MB, free: 13.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.1093, allocations: 11.89 kB / 468.3 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005392/0.1098, allocations: 92.23 kB / 468.4 MB, free: 13.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006162/0.1104, allocations: 415.9 kB / 468.8 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.184e-05/0.1105, allocations: 33.36 kB / 468.8 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.727e-05/0.1106, allocations: 40.12 kB / 468.9 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001233/0.1118, allocations: 0.8707 MB / 469.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.1118, allocations: 0 / 469.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.651e-05/0.1119, allocations: 16 kB / 469.8 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001422/0.112, allocations: 60.95 kB / 469.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/0.1132, allocations: 0.7924 MB / 470.6 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003488/0.1167, allocations: 2.737 MB / 473.3 MB, free: 7.945 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008297/0.1175, allocations: 0.5798 MB / 473.9 MB, free: 7.348 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004977/0.118, allocations: 450.7 kB / 474.4 MB, free: 6.902 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.384e-05/0.1181, allocations: 4 kB / 474.4 MB, free: 6.898 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.1181, allocations: 42.56 kB / 474.4 MB, free: 6.848 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 2.044e-06/0.1181, allocations: 0 / 474.4 MB, free: 6.848 MB / 350.1 MB Notification: Performance of matching and sorting (n=57): time 0.002857/0.121, allocations: 1.883 MB / 476.3 MB, free: 4.922 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.1211, allocations: 142.9 kB / 476.4 MB, free: 4.758 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003/0.1214, allocations: 296.5 kB / 476.7 MB, free: 4.465 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.89e-05/0.1215, allocations: 37.64 kB / 476.8 MB, free: 4.422 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001546/0.1216, allocations: 252.3 kB / 477 MB, free: 4.168 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001412/0.1218, allocations: 189.2 kB / 477.2 MB, free: 3.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001612/0.122, allocations: 102.1 kB / 477.3 MB, free: 3.875 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.1221, allocations: 354.7 kB / 477.6 MB, free: 3.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004574/0.1226, allocations: 340.9 kB / 478 MB, free: 3.188 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005369/0.1231, allocations: 489.7 kB / 478.4 MB, free: 2.645 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/0.1242, allocations: 0.9799 MB / 479.4 MB, free: 1.594 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.1242, allocations: 4 kB / 479.4 MB, free: 1.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001354/0.1256, allocations: 0.9807 MB / 480.4 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.218e-05/0.1257, allocations: 81.53 kB / 480.5 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.1257, allocations: 4 kB / 480.5 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001847/0.1259, allocations: 40.83 kB / 480.5 MB, free: 476 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003497/0.1263, allocations: 83.83 kB / 480.6 MB, free: 392 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00127/0.1275, allocations: 1.555 MB / 482.2 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000298/0.1279, allocations: 36.02 kB / 482.2 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.783e-05/0.1279, allocations: 24 kB / 482.2 MB, free: 14.63 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.0003349/0.1283, allocations: 299.3 kB / 482.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.1284, allocations: 43.53 kB / 482.6 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001521/0.1299, allocations: 1.08 MB / 483.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.272e-05/0.1299, allocations: 16 kB / 483.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.13, allocations: 7.984 kB / 483.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.13, allocations: 0 / 483.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002412/0.1324, allocations: 1.788 MB / 485.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.1324, allocations: 0 / 485.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002723/0.1327, allocations: 59.89 kB / 485.5 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001034/0.1328, allocations: 40.89 kB / 485.6 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.135e-05/0.1328, allocations: 12 kB / 485.6 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00121/0.1341, allocations: 1.547 MB / 487.1 MB, free: 9.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.1341, allocations: 0 / 487.1 MB, free: 9.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001501/0.1356, allocations: 1.183 MB / 488.3 MB, free: 8.277 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002291/0.1358, allocations: 176.7 kB / 488.5 MB, free: 8.086 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.466e-05/0.1359, allocations: 19.92 kB / 488.5 MB, free: 8.066 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002742/0.1362, allocations: 27.97 kB / 488.5 MB, free: 8.039 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/0.1363, allocations: 43.88 kB / 488.6 MB, free: 7.996 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.92e-05/0.1364, allocations: 16 kB / 488.6 MB, free: 7.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001999/0.1366, allocations: 203.1 kB / 488.8 MB, free: 7.781 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1366, allocations: 4 kB / 488.8 MB, free: 7.777 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005846/0.1372, allocations: 143.9 kB / 488.9 MB, free: 7.637 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.0002889/0.1375, allocations: 151.1 kB / 489.1 MB, free: 7.477 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00191/0.1394, allocations: 1.496 MB / 490.6 MB, free: 5.957 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.1394, allocations: 0 / 490.6 MB, free: 5.957 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009841/0.1404, allocations: 0.9163 MB / 491.5 MB, free: 5.016 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005685/0.141, allocations: 75.31 kB / 491.6 MB, free: 4.945 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002109/0.1431, allocations: 1.45 MB / 493 MB, free: 3.453 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004893/0.1436, allocations: 0.9015 MB / 493.9 MB, free: 2.523 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.1438, allocations: 31.44 kB / 493.9 MB, free: 2.492 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1438, allocations: 0 / 493.9 MB, free: 2.492 MB / 366.1 MB Notification: Performance of Templates: time 0.01267/0.1565, allocations: 8.394 MB / 0.4906 GB, free: 10.11 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/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