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.001075/0.001075, allocations: 176.1 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.587/1.587, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008043/0.0008043, allocations: 82.59 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.17/0.17, allocations: 37.99 MB / 348 MB, free: 7.781 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.252e-05/2.256e-05, allocations: 4 kB / 410.6 MB, free: 46.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1189, allocations: 56.32 MB / 466.9 MB, free: 6.57 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3618/0.4808, allocations: 101 MB / 0.5546 GB, free: 9.98 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002026/0.481, allocations: 83.95 kB / 0.5546 GB, free: 9.898 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.04246/0.5235, allocations: 15.62 MB / 0.5699 GB, free: 10.13 MB / 411.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.5235, allocations: 0 / 0.5699 GB, free: 10.13 MB / 411.1 MB Notification: Performance of Transformations before backend: time 2.879e-05/0.5235, allocations: 12 kB / 0.5699 GB, free: 10.12 MB / 411.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.001183/0.5247, allocations: 0.7785 MB / 0.5707 GB, free: 9.285 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.5248, allocations: 8.031 kB / 0.5707 GB, free: 9.277 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004504/0.5252, allocations: 95.27 kB / 0.5708 GB, free: 9.184 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001378/0.5266, allocations: 0.6895 MB / 0.5714 GB, free: 8.453 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/0.5267, allocations: 16 kB / 0.5715 GB, free: 8.438 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.207e-05/0.5267, allocations: 24 kB / 0.5715 GB, free: 8.414 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008601/0.5276, allocations: 0.6033 MB / 0.5721 GB, free: 7.812 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.5286, allocations: 0.7822 MB / 0.5728 GB, free: 6.992 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.727e-05/0.5287, allocations: 11.89 kB / 0.5728 GB, free: 6.98 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.906e-05/0.5287, allocations: 4 kB / 0.5728 GB, free: 6.977 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001343/0.5289, allocations: 56.73 kB / 0.5729 GB, free: 6.918 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003465/0.5324, allocations: 2.64 MB / 0.5755 GB, free: 4.156 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000758/0.5331, allocations: 0.5994 MB / 0.5761 GB, free: 3.539 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00052/0.5337, allocations: 499 kB / 0.5765 GB, free: 3.043 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.674e-05/0.5337, allocations: 7.984 kB / 0.5765 GB, free: 3.035 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.5337, allocations: 34.56 kB / 0.5766 GB, free: 2.992 MB / 411.1 MB Notification: Performance of pre-optimization done (n=60): time 1.663e-06/0.5337, allocations: 0 / 0.5766 GB, free: 2.992 MB / 411.1 MB Notification: Performance of matching and sorting (n=61): time 0.002885/0.5366, allocations: 1.683 MB / 0.5782 GB, free: 1.293 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.658e-05/0.5367, allocations: 134.8 kB / 0.5783 GB, free: 1.137 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/0.537, allocations: 237.1 kB / 0.5786 GB, free: 0.8984 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 3.783e-05/0.537, allocations: 25.7 kB / 0.5786 GB, free: 0.8672 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/0.5371, allocations: 244.5 kB / 0.5788 GB, free: 0.6211 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001457/0.5373, allocations: 201 kB / 0.579 GB, free: 432 kB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.902e-05/0.5373, allocations: 0 / 0.579 GB, free: 432 kB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.5375, allocations: 350.8 kB / 0.5794 GB, free: 72 kB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004505/0.5379, allocations: 373.1 kB / 0.5797 GB, free: 15.7 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005018/0.5384, allocations: 490.6 kB / 0.5802 GB, free: 15.18 MB / 427.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009634/0.5394, allocations: 0.5589 MB / 0.5807 GB, free: 14.62 MB / 427.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5394, allocations: 0 / 0.5807 GB, free: 14.62 MB / 427.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001729/0.5412, allocations: 1.087 MB / 0.5818 GB, free: 13.53 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.513e-05/0.5412, allocations: 81.55 kB / 0.5819 GB, free: 13.44 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.5413, allocations: 4 kB / 0.5819 GB, free: 13.44 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001678/0.5414, allocations: 36.84 kB / 0.5819 GB, free: 13.4 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003419/0.5418, allocations: 83.88 kB / 0.582 GB, free: 13.32 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001038/0.5428, allocations: 1.37 MB / 0.5833 GB, free: 11.83 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002985/0.5432, allocations: 35.95 kB / 0.5834 GB, free: 11.79 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-05/0.5432, allocations: 19.98 kB / 0.5834 GB, free: 11.77 MB / 427.1 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 () * 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.0001994/0.5434, allocations: 194.6 kB / 0.5836 GB, free: 11.57 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.021e-05/0.5435, allocations: 47.5 kB / 0.5836 GB, free: 11.52 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001848/0.5454, allocations: 1.142 MB / 0.5847 GB, free: 10.37 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.034e-05/0.5455, allocations: 31.95 kB / 0.5848 GB, free: 10.34 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.5455, allocations: 4 kB / 0.5848 GB, free: 10.34 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.5455, allocations: 0 / 0.5848 GB, free: 10.34 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002692/0.5482, allocations: 1.783 MB / 0.5865 GB, free: 8.5 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.5482, allocations: 0 / 0.5865 GB, free: 8.5 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002752/0.5485, allocations: 63.89 kB / 0.5866 GB, free: 8.438 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000102/0.5486, allocations: 28.84 kB / 0.5866 GB, free: 8.406 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.2e-05/0.5486, allocations: 15.92 kB / 0.5866 GB, free: 8.391 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009815/0.5496, allocations: 1.374 MB / 0.5879 GB, free: 6.898 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.5496, allocations: 4.031 kB / 0.5879 GB, free: 6.895 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001821/0.5515, allocations: 1.28 MB / 0.5892 GB, free: 5.57 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002668/0.5517, allocations: 184.5 kB / 0.5894 GB, free: 5.371 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.278e-05/0.5518, allocations: 8 kB / 0.5894 GB, free: 5.363 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002743/0.5521, allocations: 27.95 kB / 0.5894 GB, free: 5.336 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.5522, allocations: 47.89 kB / 0.5895 GB, free: 5.289 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.587e-05/0.5523, allocations: 20 kB / 0.5895 GB, free: 5.27 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.0001681/0.5525, allocations: 180.6 kB / 0.5896 GB, free: 5.094 MB / 427.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5525, allocations: 0 / 0.5896 GB, free: 5.094 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.0005705/0.5531, allocations: 159.9 kB / 0.5898 GB, free: 4.938 MB / 427.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]) * 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.000241/0.5533, allocations: 157.1 kB / 0.5899 GB, free: 4.777 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.001585/0.5549, allocations: 1.405 MB / 0.5913 GB, free: 3.352 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.5549, allocations: 4 kB / 0.5913 GB, free: 3.348 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009627/0.5559, allocations: 0.9545 MB / 0.5923 GB, free: 2.367 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004369/0.5563, allocations: 60.62 kB / 0.5923 GB, free: 2.305 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001925/0.5583, allocations: 1.198 MB / 0.5935 GB, free: 1.07 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004986/0.5588, allocations: 0.914 MB / 0.5944 GB, free: 136 kB / 427.1 MB Notification: Performance of simCode: alias equations: time 0.0002883/0.5591, allocations: 119.1 kB / 0.5945 GB, free: 16 kB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.5592, allocations: 31.42 kB / 0.5945 GB, free: 15.98 MB / 443.1 MB Notification: Performance of SimCode: time 4.91e-07/0.5592, allocations: 0 / 0.5945 GB, free: 15.98 MB / 443.1 MB Notification: Performance of Templates: time 0.01011/0.5693, allocations: 5.73 MB / 0.6001 GB, free: 10.26 MB / 443.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","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches