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/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.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/Complex 3.2.3+maint.om/package.mo): time 0.001183/0.001183, allocations: 176.5 kB / 17.4 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.428/1.428, allocations: 205.4 MB / 223.5 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007072/0.0007072, allocations: 101.4 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1766/0.1766, allocations: 38.08 MB / 358.3 MB, free: 1.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003473/0.0003471, allocations: 12 kB / 425.2 MB, free: 37.36 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2858, allocations: 56.32 MB / 481.6 MB, free: 9.59 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1363/0.4221, allocations: 101.8 MB / 0.5696 GB, free: 0.5039 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002899/0.4225, allocations: 99.8 kB / 0.5697 GB, free: 420 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0443/0.4668, allocations: 15.76 MB / 0.5851 GB, free: 496 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4668, allocations: 0 / 0.5851 GB, free: 496 kB / 410.7 MB Notification: Performance of Transformations before backend: time 3.759e-05/0.4669, allocations: 8 kB / 0.5851 GB, free: 488 kB / 410.7 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.001673/0.4686, allocations: 0.8183 MB / 0.5859 GB, free: 15.6 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.4686, allocations: 11.97 kB / 0.5859 GB, free: 15.59 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005585/0.4692, allocations: 92.14 kB / 0.586 GB, free: 15.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.4703, allocations: 0.5232 MB / 0.5865 GB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.453e-05/0.4703, allocations: 29.36 kB / 0.5866 GB, free: 14.9 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/0.4704, allocations: 48.36 kB / 0.5866 GB, free: 14.85 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001406/0.4719, allocations: 0.8439 MB / 0.5874 GB, free: 13.97 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/0.4719, allocations: 192 / 0.5874 GB, free: 13.97 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.579e-05/0.472, allocations: 19.94 kB / 0.5875 GB, free: 13.95 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001492/0.4721, allocations: 56.95 kB / 0.5875 GB, free: 13.89 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00126/0.4734, allocations: 0.7651 MB / 0.5883 GB, free: 13.13 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003607/0.477, allocations: 2.642 MB / 0.5908 GB, free: 10.36 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008467/0.4779, allocations: 0.5876 MB / 0.5914 GB, free: 9.75 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005645/0.4784, allocations: 474.7 kB / 0.5919 GB, free: 9.281 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.706e-05/0.4785, allocations: 7.938 kB / 0.5919 GB, free: 9.273 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.4785, allocations: 38.56 kB / 0.5919 GB, free: 9.227 MB / 426.7 MB Notification: Performance of pre-optimization done (n=60): time 2.676e-06/0.4785, allocations: 0 / 0.5919 GB, free: 9.227 MB / 426.7 MB Notification: Performance of matching and sorting (n=61): time 0.003109/0.4817, allocations: 1.984 MB / 0.5939 GB, free: 7.203 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.822e-05/0.4818, allocations: 134.8 kB / 0.594 GB, free: 7.047 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003384/0.4821, allocations: 280.5 kB / 0.5943 GB, free: 6.77 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.026e-05/0.4822, allocations: 29.7 kB / 0.5943 GB, free: 6.734 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.4823, allocations: 252.6 kB / 0.5945 GB, free: 6.48 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001677/0.4825, allocations: 197 kB / 0.5947 GB, free: 6.285 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.684e-05/0.4825, allocations: 15.94 kB / 0.5947 GB, free: 6.27 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.4827, allocations: 350.8 kB / 0.5951 GB, free: 5.918 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004828/0.4832, allocations: 360.8 kB / 0.5954 GB, free: 5.559 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005618/0.4838, allocations: 486.5 kB / 0.5959 GB, free: 5.039 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001259/0.485, allocations: 0.9994 MB / 0.5968 GB, free: 3.977 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.485, allocations: 4 kB / 0.5968 GB, free: 3.973 MB / 426.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001441/0.4865, allocations: 1.002 MB / 0.5978 GB, free: 2.953 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.032e-05/0.4866, allocations: 73.66 kB / 0.5979 GB, free: 2.875 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.4866, allocations: 4 kB / 0.5979 GB, free: 2.871 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001898/0.4868, allocations: 36.83 kB / 0.5979 GB, free: 2.832 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003404/0.4872, allocations: 91.81 kB / 0.598 GB, free: 2.742 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001288/0.4885, allocations: 1.445 MB / 0.5994 GB, free: 1.164 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003264/0.4888, allocations: 31.95 kB / 0.5995 GB, free: 1.133 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.424e-05/0.4889, allocations: 27.98 kB / 0.5995 GB, free: 1.105 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 (voltage.h_mod3[1],voltage.h_mod3[2],voltage.h_mod3[3],system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 38 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004011/0.4893, allocations: 303.4 kB / 0.5998 GB, free: 0.793 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.4894, allocations: 43.52 kB / 0.5998 GB, free: 0.75 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001623/0.491, allocations: 1.124 MB / 0.6009 GB, free: 15.61 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.666e-05/0.4911, allocations: 12 kB / 0.6009 GB, free: 15.6 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.4911, allocations: 4 kB / 0.6009 GB, free: 15.59 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.4911, allocations: 3.984 kB / 0.6009 GB, free: 15.59 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00255/0.4936, allocations: 1.819 MB / 0.6027 GB, free: 13.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.942e-06/0.4937, allocations: 8 kB / 0.6027 GB, free: 13.69 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002657/0.4939, allocations: 55.89 kB / 0.6028 GB, free: 13.63 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001071/0.494, allocations: 40.77 kB / 0.6028 GB, free: 13.59 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.598e-05/0.4941, allocations: 19.94 kB / 0.6028 GB, free: 13.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001127/0.4953, allocations: 1.429 MB / 0.6042 GB, free: 12.01 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.4953, allocations: 4.031 kB / 0.6042 GB, free: 12.01 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001552/0.4968, allocations: 1.222 MB / 0.6054 GB, free: 10.75 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002475/0.4971, allocations: 180.5 kB / 0.6056 GB, free: 10.55 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.877e-05/0.4972, allocations: 12 kB / 0.6056 GB, free: 10.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000274/0.4975, allocations: 31.95 kB / 0.6056 GB, free: 10.51 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.4976, allocations: 47.89 kB / 0.6057 GB, free: 10.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.931e-05/0.4977, allocations: 19.98 kB / 0.6057 GB, free: 10.45 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001897/0.4978, allocations: 191.1 kB / 0.6059 GB, free: 10.25 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4979, allocations: 0 / 0.6059 GB, free: 10.25 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000661/0.4985, allocations: 167.9 kB / 0.606 GB, free: 10.09 MB / 442.7 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 (31): * Single equations (assignments): 25 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003091/0.4988, allocations: 159 kB / 0.6062 GB, free: 9.922 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001813/0.5007, allocations: 1.405 MB / 0.6076 GB, free: 8.492 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.5007, allocations: 0 / 0.6076 GB, free: 8.492 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00104/0.5017, allocations: 0.9532 MB / 0.6085 GB, free: 7.516 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000566/0.5023, allocations: 71.38 kB / 0.6086 GB, free: 7.449 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002399/0.5047, allocations: 1.672 MB / 0.6102 GB, free: 5.742 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005752/0.5053, allocations: 0.9018 MB / 0.6111 GB, free: 4.816 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003092/0.5056, allocations: 107.2 kB / 0.6112 GB, free: 4.715 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.678e-05/0.5057, allocations: 27.44 kB / 0.6112 GB, free: 4.688 MB / 442.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5057, allocations: 0 / 0.6112 GB, free: 4.688 MB / 442.7 MB Notification: Performance of Templates: time 0.01133/0.5171, allocations: 5.79 MB / 0.6169 GB, free: 14.91 MB / 458.7 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","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches