Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.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.AC1ph_DC.Elementary.Sensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1480,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1480,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 114.2 kB / 17.75 MB, free: 5.355 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.001155/0.001155, allocations: 185.4 kB / 18.68 MB, free: 4.434 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.312/1.312, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1738/0.1738, allocations: 38.05 MB / 330.6 MB, free: 8.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 67.88 kB / 458.8 MB, free: 6.855 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.2943, allocations: 58.06 MB / 0.5048 GB, free: 7.836 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.004537/0.2989, allocations: 4.046 MB / 0.5087 GB, free: 5.039 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001197/0.3001, allocations: 0.9004 MB / 0.5096 GB, free: 4.406 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001369/0.3002, allocations: 11.31 kB / 0.5096 GB, free: 4.402 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001938/0.3004, allocations: 50.53 kB / 0.5097 GB, free: 4.371 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004171/0.3009, allocations: 180.8 kB / 0.5098 GB, free: 4.266 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001938/0.3011, allocations: 90.69 kB / 0.5099 GB, free: 4.219 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004078/0.3015, allocations: 408.1 kB / 0.5103 GB, free: 4.039 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002628/0.3018, allocations: 120.3 kB / 0.5104 GB, free: 4 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002741/0.302, allocations: 184.6 kB / 0.5106 GB, free: 3.918 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000379/0.3024, allocations: 202.2 kB / 0.5108 GB, free: 3.844 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.231e-05/0.3025, allocations: 24.53 kB / 0.5108 GB, free: 3.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.082e-05/0.3026, allocations: 20.62 kB / 0.5108 GB, free: 3.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001314/0.3027, allocations: 105.1 kB / 0.5109 GB, free: 3.801 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001427/0.3029, allocations: 153.6 kB / 0.5111 GB, free: 3.711 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003362/0.3032, allocations: 314.1 kB / 0.5114 GB, free: 3.586 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.3032, allocations: 0 / 0.5114 GB, free: 3.586 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3032, allocations: 1.438 kB / 0.5114 GB, free: 3.586 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.3032, allocations: 0 / 0.5114 GB, free: 3.586 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.000951/0.3042, allocations: 0.6263 MB / 0.512 GB, free: 3.074 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.3042, allocations: 12.95 kB / 0.512 GB, free: 3.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.778e-05/0.3043, allocations: 33.38 kB / 0.512 GB, free: 3.055 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004649/0.3048, allocations: 345.7 kB / 0.5124 GB, free: 2.777 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.3048, allocations: 18.41 kB / 0.5124 GB, free: 2.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.68e-05/0.3048, allocations: 22.75 kB / 0.5124 GB, free: 2.762 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004405/0.3053, allocations: 319 kB / 0.5127 GB, free: 2.578 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.3053, allocations: 0 / 0.5127 GB, free: 2.578 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.731e-05/0.3053, allocations: 11.59 kB / 0.5127 GB, free: 2.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.3054, allocations: 5.688 kB / 0.5127 GB, free: 2.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003561/0.3057, allocations: 218.3 kB / 0.5129 GB, free: 2.504 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001376/0.3071, allocations: 1.349 MB / 0.5143 GB, free: 1.414 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003252/0.3074, allocations: 141.2 kB / 0.5144 GB, free: 1.336 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.3076, allocations: 63.86 kB / 0.5145 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.3076, allocations: 5.312 kB / 0.5145 GB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.3076, allocations: 33.05 kB / 0.5145 GB, free: 1.258 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.713e-06/0.3076, allocations: 3.938 kB / 0.5145 GB, free: 1.254 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008265/0.3085, allocations: 360.2 kB / 0.5148 GB, free: 1.074 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/0.3085, allocations: 79.2 kB / 0.5149 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002666/0.3088, allocations: 275 kB / 0.5152 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.3088, allocations: 25.7 kB / 0.5152 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.3089, allocations: 200 kB / 0.5154 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.732e-05/0.3089, allocations: 41.17 kB / 0.5154 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.922e-05/0.309, allocations: 50.19 kB / 0.5155 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.33e-05/0.3091, allocations: 341.4 kB / 0.5158 GB, free: 228 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.631e-05/0.3092, allocations: 50.12 kB / 0.5158 GB, free: 216 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.3094, allocations: 154.4 kB / 0.516 GB, free: 64 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003159/0.3097, allocations: 228 kB / 0.5162 GB, free: 15.88 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3097, allocations: 1.125 kB / 0.5162 GB, free: 15.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003955/0.3101, allocations: 252.3 kB / 0.5165 GB, free: 15.76 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/0.3101, allocations: 6.906 kB / 0.5165 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.3101, allocations: 4.281 kB / 0.5165 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.3102, allocations: 4.25 kB / 0.5165 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002047/0.3104, allocations: 52.23 kB / 0.5165 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.118e-05/0.3104, allocations: 9.172 kB / 0.5165 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/0.3105, allocations: 5.531 kB / 0.5165 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.059e-05/0.3106, allocations: 14.61 kB / 0.5165 GB, free: 15.74 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001795/0.3108, allocations: 161.5 kB / 0.5167 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.506e-05/0.3108, allocations: 30.72 kB / 0.5167 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003438/0.3112, allocations: 193.6 kB / 0.5169 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.3112, allocations: 2.656 kB / 0.5169 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.3112, allocations: 4 kB / 0.5169 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.815e-05/0.3113, allocations: 100.3 kB / 0.517 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.452e-05/0.3113, allocations: 6.219 kB / 0.517 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.3115, allocations: 6.188 kB / 0.517 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.493e-05/0.3115, allocations: 13.66 kB / 0.517 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003866/0.3119, allocations: 342.8 kB / 0.5174 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003694/0.3123, allocations: 432.6 kB / 0.5178 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001285/0.3124, allocations: 68.42 kB / 0.5178 GB, free: 14.77 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002122/0.3126, allocations: 183.3 kB / 0.518 GB, free: 14.66 MB / 398.1 MB Notification: Performance of Backend: time 4.01e-07/0.3126, allocations: 0 / 0.518 GB, free: 14.66 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005927/0.3132, allocations: 189 kB / 0.5182 GB, free: 14.56 MB / 398.1 MB Notification: Performance of SimCode: time 0.001344/0.3146, allocations: 0.9741 MB / 0.5192 GB, free: 13.78 MB / 398.1 MB Notification: Performance of Templates: time 0.00692/0.3215, allocations: 2.463 MB / 0.5216 GB, free: 13.57 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches